Xpointer,Xlink,Xpath with XSLT

A

ab.angadbhat

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,007
Messages
2,570,267
Members
46,866
Latest member
Aletlirm

Latest Threads

Top