Xpointer,Xlink,Xpath with XSLT

Discussion in 'XML' started by ab.angadbhat@googlemail.com, Feb 21, 2007.

  1. Guest

    hi,

    I have an element in the xml file which has xlink:href ="xyz.xml" as
    an attribute. I am using xpointer to point to only 2nd <U> element of
    the xyz.xml file and so i am doing:-

    xlink:href ="xyz.xml#xpointer(//U[2])

    In my xslt file i am using

    <a href = "{@xlink:href}">hello</a> to display.


    Problem is that when i click the hello the full xyz.xml file is
    displayed in the browser whereas i want only contents of 2nd <U>
    element to be displayed.

    Any help would be appreciated..PLZ
    , Feb 21, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. shay
    Replies:
    0
    Views:
    844
  2. tintagel

    using xpointer in html

    tintagel, Apr 1, 2006, in forum: HTML
    Replies:
    3
    Views:
    426
    tintagel
    Apr 3, 2006
  3. DV
    Replies:
    1
    Views:
    2,761
    Martin Honnen
    Apr 19, 2004
  4. Martin

    xlink and xpointer

    Martin, Feb 9, 2007, in forum: XML
    Replies:
    4
    Views:
    465
    Martin
    Feb 10, 2007
  5. Robert Jones

    xlink and xpointer

    Robert Jones, Dec 2, 2007, in forum: XML
    Replies:
    3
    Views:
    469
    Joe Kesselman
    Dec 2, 2007
Loading...

Share This Page