|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
|
|
#3
|
|||
|
|||
|
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> </outcome> 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. --Joe Rizzo |
|
#4
|
|||
|
|||
|
image pointer
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....... |
|
#5
|
|||
|
|||
|
XPointer Basics
XPointer Basics
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 . |
![]() |
| Viewing: Dev Shed Forums > Other > Development Articles > XPointer Basics |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|