Write an xpath expression, Computer Engineering

Question:

(a) Explain the five different types of element content defined by DTDs.

(b) Compare XML schema's against DTDs.

(c) Consider the following two element declarations from an XML DTD:


where all elements not declared are assumed to have content models of #PCDATA.

(i) Assume that the information about the isbn of a book is to be represented as an attribute rather than an element.

Write down an appropriate attribute declaration for an isbn attribute.

(ii) Write an XPath expression to find books that have more than 2 authors.

(iii) Write down an XML document of type book that is valid with respect to the above DTD using the fewest number of elements possible.

Posted Date: 11/1/2013 5:14:53 AM | Location : United States







Related Discussions:- Write an xpath expression, Assignment Help, Ask Question on Write an xpath expression, Get Answer, Expert's Help, Write an xpath expression Discussions

Write discussion on Write an xpath expression
Your posts are moderated
Related Questions
Equivalence between VHDL and C? There is concept of understanding in C there is structure.Based upon requirement structure provide facility to store collection of various data

Bring out the importance of hierarchy of operators?  The operators  within  C are grouped  hierarchically according to their precedence(i.e., order of evaluation). Operations w

Give an account of modems used in data transfer. Modem: Modems are usually provided through network operators (Department of Telecommunication in India) or through vendors wh

Representations/Languages Used: Many people are taught "AI" with the opening line: "The three most important things in "AI" are  representation, representation and representat

what is the importance of chemistry for computer engineering?

In general what are the two ways in which one can retrieve data from tables? Using Select statements, Database Program.

What is semaphores?  A semaphore 'S' is a synchronization tool which is an integer value that, apart from initialization, is accessed only by two standard atomic operations; wa

Elaborate protected mode memory addressing in brief. Protected mode interrupt: In protected mode, interrupts have exactly the same assignments as in real mode though int

What is multiprogramming or multitasking? The operating system manages the concurrent implementation of several application programs to make the best possible uses of computer

The desired daily output for an assembly line is 360 units. This assembly line will operate 450 minutes per day. The following table have information on this product's task times a