• For the XML parser to ignore a certain section of your XML document, which syntax is correct?
  • The name of the root element of XML schema document must be?
  • XSD stands for:
  • The syntax for defining an attribute is:
  • XML Schema primitive data types can be refined by using data type
  • XML Namespaces are useful because
  • Conflicting names, same name for two different elements, are resolved in XML schemas using
  • The syntax to write qualified names is
  • XML schema allows only simple type for attributes. (True/False)
  • XML schema elements with simple types can have attributes. (True/False)
  • All XML schemas have a schema root element. (True/False)
  • A default namespace is the one which
  • A default name space is specified as;
  • A target namespace is the one that will contain all definitions provided in schema documents. A target namespace is specified using following attribute name of schema element;
  • The restriction element in XML schema is used to
  • Following is a valid XML Schema element definition (True/False)
  • Write a valid XML value of following XML Schema definition of an element
  • Write a valid XML value of following XML Schema definition of an element
  • Look at the following fragment from an XML Schema Which of the following elements could occur four times but could not occur zero times in an XML document that was valid according to this schema
  • XML Schema integer data type has how many facets ?

Consider above xml data. Write XPath statement to get the value of Name attribute. See image.

Consider above XML data.

  • What is the Ancestor element of < author > element?
  • Write an XPath statement to get the value of category attribute of “XQuery Kick Start” book element.
  • Which of the following query statement is used to select all title and price elements from given XML data?
  • //book XQuery expression will return from XML data.
  • @ symbol is used to:
  • XPath statement “//@lang” will return what values from given XML document. Answer:
  • Write and XPath statement to select books published before 2005
  • Write XPath statement to get all authors of XQuery Kick Start book element.
  • What is returned from XML document by the XPath expression “/bookstore/book[1]/title/..”

Pizza is an Italian fast food. Pizza Recipe includes various ingredients. Certain amount or units of each ingredient should be used. Preparation method must follow specific steps. Pizza recipes are available with helping comments. Nutrition value of a Pizza such as carbohydrates, fats, calories etc are also provided.

  • Create a DTD model for Pizza recipes. Create a valid XML instance that for your DTD
  • after that Transform your Pizza DTD into a valid XML Schema.

Create XML Schema for Tables “Students” and “Books”.

Store data in XML document corresponding to the Schema you created in step 1. See image.

Academic Honesty!
It is not our intention to break the school's academic policy. Projects posted are only used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly fill out the form. Please provide a valid email address and we'll get back to you in less than 24 hours. We will be sending an invoice through PayPal upon confirmation. We are a non profit organization however we need an amount to keep this organization running, and to be able to complete our research and development.