Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 24th, 2002, 03:33 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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.

Reply With Quote
  #2  
Old January 28th, 2002, 06:49 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:

Reply With Quote
  #3  
Old January 31st, 2002, 10:40 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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

Reply With Quote
  #4  
Old January 31st, 2002, 10:42 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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.......

Reply With Quote
  #5  
Old May 29th, 2003, 12:31 PM
Ducani
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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 .

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > XPointer Basics


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT