Instead of linking to the entire document (as with XLink),
XPointer allows you to link to specific part of the document.
To link to a specific part of a page, add a number sign (#) and
an XPointer expression after the URL in the xlink:href
The expression: #xpointer(id("Rottweiler"))
refer to the element in the target document, with the id value
So the xlink:href attribute would looks like this:
However, XPointer allows a shorthand form when linking to an
element with the id. You can also use the value of the id directly,
like this: xlink:href="http://dog.com/dogbreeds.xml#Rottweiler"
The following XML document refer to information of the dog
breed for each of my dogs :-), all through XLink and XPointer