XPointer syntax


  Translation results:

XPointer enables hyperlinks to point to more specific parts (fragments) of XML documents.

XPointer syntaxsyntax

In HTML, we can create a hyperlink (using #) that points to both an HTML page and a bookmark within the HTML page.

Sometimes it would be beneficial to point to more specific content. For example, we need to point to the third item in a specific list, or to the second line of the fifth paragraph. It's easy to do with XPointer.

XPointer syntaxexample

href="http://www.example.com/cdlist.xml#id('rock').child(5,item)"

Popular Recommendations

Home

Videos

Q&A