The reason there is no error... is because, there is no error. The syntax is correct. As far as the XSLT is concerned the tag you used <value-of ... /> is just arbitrary XML. Errors will occur if you tried to use an incorrect XSLT tag, i.e. <xsl:whatever> because that isn't defined in the XSLT namespace.
I'm guessing that you don't get any error since the element is actually being wellformed so the parser does not notice that it should in fact have been prefixed with a namespace.
What diferense between xsl:variable with select and without select?
Why the code
returnt title
but the code
return empty ?
I need get $node/data[@alias='nodeTitle'] or $node/@nodeName and the code
return empty.
Hi Alex,
With your second code snippet, you are missing the "xsl:" namespace prefix, so it doesn't work:
Cheers, Lee.
Yes! You are right.
But why it is compiled whout any error?
Masaraksh!
The reason there is no error... is because, there is no error. The syntax is correct. As far as the XSLT is concerned the tag you used <value-of ... /> is just arbitrary XML. Errors will occur if you tried to use an incorrect XSLT tag, i.e. <xsl:whatever> because that isn't defined in the XSLT namespace.
Hi
I'm guessing that you don't get any error since the element is actually being wellformed so the parser does not notice that it should in fact have been prefixed with a namespace.
/Jan
Hi,
because this is totally valid xml (xslt) you need to prefix with xsl: that the xslt-processor knows what to do with it.
Toby
Once again beaten by Lee. Congrats on the MVP status! :-)
/Jan
@Jan: Thank you. Looking forward to finally meeting you at CG10!
is working on a reply...