Closed

DTD model - XML instance - XML Schema+XML Relational Mapping - repost

This project received 7 bids from talented freelancers with an average bid price of $88 USD.

Get free quotes for a project like this
Employer working
Skills Required
Project Budget
$30 - $250 USD
Total Bids
7
Project Description

{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{attached 3 files}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
Q-A


name=” ” Number= “ ” Marks = “_ “/>

1. Consider above xml data. Write XPath statement to get the value of Name attribute.
Answer:


Consider above XML data.
2. What is the Ancestor element of element?
Answer:

3. Write an XPath statement to get the value of category attribute of “XQuery Kick Start” book element.
Answer:



4. Which of the following query statement is used to select all title and price elements from given XML data?
a. //book/title | //book/price
b. //book/title & //book/price
c. //book/title AND //book/price
d. //book/title + //book/price
5. //book XQuery expression will return from XML data.
e. All book elements
f. All grandchildren elements of book element
g. Returns an empty node set
h. Whole document
6. @ symbol is used to:
i. Select the root node
j. Select the current node
k. Select attributes
l. Select email addresses
7. XPath statement “//@lang” will return what values from given XML document.
Answer:


8. Write and XPath statement to select books published before 2005.
Answer:


9. Write XPath statement to get all authors of XQuery Kick Start book element.
Answer:


10. What is returned from XML document by the XPath expression “/bookstore/book[1]/title/..”
Answer:


Q-B

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.

1-Create a DTD model for Pizza recipes.
Create a valid XML instance that for your DTD


2- after that Transform your Pizza DTD into a valid XML Schema.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online