Write an xpath expression, Computer Engineering


(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
Mention the two subsystem relationship. The relationship among two subsystems can be: Client-server Peer-peer

This covers a number of game playing methods, notably checkers and backgammon because so much good research has been completed on these problems and because so many different metho

A two stage non-blocking network requires twice the number of switching elements as the single stage non-blocking network. It is true or false. Ans: It is true that a two st

What are the elements of Analysis model? i. Data Dictionary ii. Entity Relationship Diagram iii. Data Flow Diagram iv. State Transition Diagram v. Control Specifica

What exactly is being serialized when you perform serialization? Serialization is the process of changing an object into stream of bytes. We perform it at the time of transpor

The term 'page traffic' describes? Ans. Page Traffic describes the movement of pages in and out of memory.

Explain the operation of octal to binary encoder. Ans Octal to binary encoder consists of eight inputs, one for each of eight digits and three outputs which generate the con

What are the criteria for choosing a process for swapping into memory from the swap device? The resident time of the processes in the change device, the priority of the process

Q. What do you mean by Drive Cache? Disk cache may be a part of RAM sometimes known as soft disk cache which is used to speed up access time on a disk. In latest technologies s

What do you understand by Hit ratio? When a processor refers a data item from a cache, if the referenced item is in the cache, then such a reference is called hit. If the refer