Create xpath expressions and xslt templates, Programming Languages

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.

Posted Date: 3/11/2013 1:54:37 AM | Location : United States







Related Discussions:- Create xpath expressions and xslt templates, Assignment Help, Ask Question on Create xpath expressions and xslt templates, Get Answer, Expert's Help, Create xpath expressions and xslt templates Discussions

Write discussion on Create xpath expressions and xslt templates
Your posts are moderated
Related Questions
Dynamic Binding: - Binding refers to the linking of a procedure call to the code to be executed in response to the call. Dynamic binding (late binding) means that the code associa

Overview Goals: The goals for this assignment are Design and implement instantiable classes. Use arrays of objects. Read from and write to files. Implement basic

i what to know how setcapture() api work in c#

**This programming assignment is for use in the LINUX/UNIX environment!! Introduction: System administration often requires custom written programs and tools. One problem a syste

What are Attributes in HTML langauge? A few tags have attributes. An attribute is a name, followed through an = sign, followed by the value. For instance, to make a centered H1

A non-empty string β is called a repeat pre x of a string s if ββ is a pre x of s. Give a linear time algorithm to find the longest repeat prefix of s. Hint: Think of using lca

Shopping Cart Purpose – Allows user to browse while keeping track of the items in which they will purchase at the end on the order page link and this will give a final price for al

Suppose you have a ?le orase of city and country names, like this: Cluj, Romania Debrecen, Hungary Klagenfurt, Austria Berlin, Germany Szeged, Hungary Budapest, Hungary Lintz, A

For this assignment you will read a file expression.txt and create an expression tree. The expression will be a valid infix expression with the all the necessary parentheses so tha

An anagram is a type of word play, the result of rearranging the letters of a word or phrase to produce a new word or phrase. For example the anagram of tea is tea, tae, eat, eta,