MrRogers Posted September 17, 2004 Share Posted September 17, 2004 I'm in the process of using xsl to transform a document and my context node is: <image xlink:href="http://www.google.com/images/logo.gif"> and I would like to read the value out of the xlink:href. How do I do it? *edit* value meaning the string url *edit* Thanks Link to comment Share on other sites More sharing options...
0 MrRogers Posted September 17, 2004 Author Share Posted September 17, 2004 Ah, found it. I just had to make sure that I had the correct namespace declaration in my xsl file that my source document has then simply do <xsl:value-of select="@xlink:href"/> Link to comment Share on other sites More sharing options...
Question
MrRogers
I'm in the process of using xsl to transform a document and my context node is:
and I would like to read the value out of the xlink:href. How do I do it?
*edit* value meaning the string url *edit*
Thanks
Link to comment
Share on other sites
1 answer to this question
Recommended Posts