Thread: XPointer Basics

    #1
  1. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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. #2
  3. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)
  4. #3
  5. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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
  6. #4
  7. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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.......
  8. #5
  9. No Profile Picture
    Ducani
    Guest
    Devshed Newbie (0 - 499 posts)

    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 .

IMN logo majestic logo threadwatch logo seochat tools logo