Question: Question 2: Consider the following source XML file in which a dtd file named contactlist.dtd has been used to force the xml schema to validate

 Question 2: Consider the following source XML file in which a

Question 2: Consider the following source XML file in which a dtd file named contactlist.dtd has been used to force the xml schema to validate the xml data. Write down the content of the dtd file. contactlist> Apartment Street #2!ine2> (405) 555-1234 1 bs@mail.com Sarah LamarKaddreaa addressline2-Apartment #1!ine2- (777) 515-1234 email>sl@gmail.comc/email> A. B. C. D. Draw the XPATH Tree structure representing the previous XML File. Write XPATH Query to return all names of contact list in a form of text. Write XPATH Query to return last node in contact list. The output of the following XPATH Query is Bob Marley

109 Philly street
caddresaline2-House #1 E. F. Write XQuery to count the number of contacts in a contact list. The output of the following XQuery: declare variable x-doc("docs/ contactlist.xml "); . (491) 510-1111 bm@mail.com for Sb in Sx/contactlist/contact return (Sb/fullname) (Sb/email G. The output of the following XQuery: declare variable $x.= doc("docs contactlist.xml "); for $b in $xicontactlist contact fullname return Sb) The output of the following XQuery: declare variable Sx.= 4c("docs/ contactlist.xml "); let Sb in $x/contactlistcontact fullname return Perrie Bob Shields street addressline2-House #2 5 H. (419) 123-1234 pj@mail.com*/email>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!