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
In AI the process of perception is studied as a set operations. A visual scene may be encoded by sensors and represented as matrix of intensity values. These are processed b

Declarative programming languages: We notice that declarative programming languages can have some better compensation over procedural ones. Actually, it is often said that a J

Explain the Client- Server Interface Using Procedures Developers must realize that client-server impose a division of labor in application programs. Programs must be broken up

Describe the scheme of capability lists to implement protection? Capability lists (C- lists): These lists are utilized to make sure that uses only access files that are e

Determine the Process of action-object matrix Check for multiple models  Recognize objects Design user object model diagram Define user object actions De

Why is there no polymorphic-type response from a create() or find() method? Ans) The EJB Specification forbids this behavior, and the weblogic.ejbc compiler checks for this beha

Explain non-pre-emptive algorithms?   Non preemptive algorithms: In this algorithm a job is provided to CPU for execution as long as the job is non-completed the CPU cannot

Data Validation condition: The following condition stated below must be met for a data to be valid as is shown in the figure 3a below. 1. The data on the SDA line must remain stabl

Explain about IP Access. IP access on the network by: • Intranets onto Virtual IP Networks and • Extranets onto Virtual IP Networks.

Properties : 1.  Monetary Value: Monetary value must be backed by also cash, bank - authorized credit cards or bank certified cashier's cheque. 2.  Interoperability: E-cash