Locating Resources with xlink:hrefThe xlink:href attribute is also called the locator attribute. This is the attribute that supplies the data that allows an XLink application to find a remote resource.
We've seen that you can set the xlink:href attribute to specify a document and an XPointer: <MOVIE_REVIEW xmlns:xlink = "http://www.w3.org/1999/xlink" xlink:type = "simple" xlink:show = "new" xlink:href="http://www.starpowdermovies.com/reviews.xml#xpointer(/child::*[position( )=126]/child::*[position()=first()])"> Mr. Blandings Builds His Dream House </MOVIE_REVIEW> We'll see how the values you assign to this attribute can become fairly involved when we work with XPointers. |