consider the following schema dtd and sample


Consider the following schema (DTD) and sample instance document:

name    ID      #REQUIRED

spouse  IDREF   #IMPLIED

job     CDATA   #IMPLIED >

]>

Create XPath expressions and XSLT templates as required for the following:

a)  Find Dave's spouse

b)  Find parents of doctors

c)  Find people who have the same job as one of their parents

d)  List names of children and parents who have the same job, and list their jobs

e)  List name-pairs of grandchildren and grandparents

f)  Find and list people that have no children

g) List the names of all Bill's descendants. Show each descendant as an element with the descendant's name as content and his or her marital status and number of children as attributes. Sort the descendants in alphabetical order by name.

Request for Solution File

Ask an Expert for Answer!!
Application Programming: consider the following schema dtd and sample
Reference No:- TGS0209860

Expected delivery within 24 Hours