XPointer Question:
Download Questions PDF

Define the syntax of XPointer?

Answer:

We use XPointer to made hyperlink that point one or more parts in an XML document.means using XPointer we can made a hyperlink that point points to web page or bookmarks that are inside the web page by using #.

Example:
href="http://www.allexamples.com/cdlist.xml#id('kate').child(4,item)"

In the above example we use XPointer to point the fourth item in a list with a unique id "kate":

Download XPointer Interview Questions And Answers PDF

Previous QuestionNext Question
Define XML registry?How you can use XPointer?