Le Tue, May 15, 2001 at 10:33:55AM -0400, Nick Semenov [[EMAIL PROTECTED]] a 
�crit:
> 
> That is only applicable to constant values.  What I need is to turn
> xml-escaped attribute
> value into:
>       <script>
>               <xsl:text>SomeVariable=</xsl:text>
>               <xsl:value-of select="@name"/>
>               <xsl:text>;</xsl:text>
>       </script>
> 
> In this context value of the @name should be un-escaped:  name="M &amp; S
> Oxygen" 
> will transform into "M & S Oxygen".

Wouldn't the 'disable-output-escaping="yes"' attrib do the trick ??
(on xsl:value-of)
 
Dom

-- 
Dominique Rousseau <[EMAIL PROTECTED]>          
Neuronnexion - http://www.neuronnexion.com            

Reply via email to