Thanks, that's it! 

Do I understand correctly that in the output-method="text" uses
disable-output-escaping="yes" as the default and
output-method="xml", "html" and "xhtml" will use
disable-output-escaping="no"?

Thanks

-----Original Message-----
From: Dominique ROUSSEAU [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 10:41 AM
To: Sablotron Mailing List
Subject: Re: [Sab] What output method to use?



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