xsl-list
[Top] [All Lists]

xsl transform question

2002-12-16 11:46:46
Hi,
I am trying to create another xsl after processing one xsl.
The reason I need this because the element "name" will be availabale in
another xml.
In the first xsl, I have s/th like this :

   <xsl:attribute name="value"><xsl:text
disable-output-escaping="yes"><![CDATA[<xsl:value-of
select="name"/>]]></xsl:text></xsl:attribute>

The output of this in my new xsl is :
value="&lt;xsl:value-of select=&quot;name&quot;/&gt;"

I want it to be like :
value="<xsl:value-of select="name"/>"
because then only it would be a valid xsl.

If I call the same code outside of attribute tag, it returns fine.
Any help would be appreciated.

Thanks,
Gourav






 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>