|
-
May 8th, 2002, 10:18 AM
#1
Thread Starter
New Member
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>
------------------------------------------------------------------------------------
-
May 8th, 2002, 01:35 PM
#2
I beleive that should be "@select" not "$copy99"
-
May 8th, 2002, 02:25 PM
#3
Thread Starter
New Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|