January 24th, 2002, 02:33 PM
Xpointer not enough
So xpointer will get us to a node. What if that node contains just text. And that text is : "the outcome of the calculation was 12 miles per hour"
I want to point to the 7th word, not the full sentence. Can Xpointer or Xanything_else let me do this? It had better, because i don't like hytime.
let me know what you think.
January 28th, 2002, 05:49 AM
January 31st, 2002, 09:40 AM
Re: Xpointer not enough
Yes, xpointer will do that.
Even if your sentence ("the outcome of the calculation was 12 miles per hour") has embedded tags like
<outcome>the outcome of the calculation was <value>12</value> <units>miles per hour</units>
The sentence is split up by subnodes.
But xpointer still allows you to locate the full sentence, or the 7th word.
Review this tutorial. i think it was mentioned.
January 31st, 2002, 09:42 AM
So i can piont to a jpg right.
But can i point to box(20,20,40,40)?
which is a 'part' of the jpg.
eg, if i have car.jpg, can i link to just the front tire by making a box around it.......
December 12, 2001 - You already know how to link XML documents together with XLink, and isolate specific nodes or node collections with XPath. Now uncover the third and final piece of the XML linking jigsaw - XPointer, an experimental technology from the W3C, which allows you to create XML links to specific points or ranges within an XML document.
Please discuss this article in this thread. You can read the article here .