469,320 Members | 2,192 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,320 developers. It's quick & easy.

XSLT and namespaces on attributes - msxml or my bug?

I'm having real trouble getting an xlink attibute out from a source document (MSXSL and MSXML) - I've read and reread everything I can find on namespaces but it just don't work

here's some sample code:

<xmlnode xlink:href="#someAnchor"/>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink/" exclude-result-prefixes="xlink">

<xsl:template match="xmlnode">
<xsl:variable name="href" select="@xlink:href"/>
<xls:value-of select="$href"/>

I've tried numerous variations on the above but I can't seem to get it to give me the attribute node

I know this is a common problem though I can't find any examples specific to this variation

thanks from a newbie!
Feb 6 '07 #1
1 1183
839 Expert 512MB
Did you succeed to solve the problem ?
If yes, please let me know, in order to close the thread.
Mar 21 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Philipp Lenssen | last post: by
6 posts views Thread by Christopher | last post: by
4 posts views Thread by David S. Alexander | last post: by
1 post views Thread by Udo | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.