-
All about XSL...
Hi All,
Is there anything wrong in the following XSL Code. If so, please let me know. If not, why doesn't the text 'Copyright 1999' display in the result. In other words, I set a value of 'Copyright 1999' to the variable named 'copy99'. But, when I try to retrieve what I've set, I am not able to do so. I am getting the result as
'The value of the XSL Variable is '
whereas I should be getting it as
'The value of the XSL Variable is Copyright 1999'
Please help me out.
Regards,
Raj Louis
------------------------------------------------------------------------------------
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:variable name="copy99" select="Copyright 1999">
</xsl:variable>
<html>
<body>
<BR/><BR/>
The value of the XSL Variable is
<B>
<xsl:value-of select="$copy99"/>
</B>
</body>
</html>
</xsl:stylesheet>
------------------------------------------------------------------------------------
-
I beleive that should be "@select" not "$copy99"
-
Hi Cander,
Thanks for your concerns. But, I didn't understand what you had asked me to do. Will you just cut my code change in the necessary areas and send it back to me.
Thanks,
Raj