xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Silberbauer <bri...@magmatec.co.za>
Subject Re: Translate to JavaScript by XSL
Date Wed, 29 Mar 2000 13:19:21 GMT
I use the following:

<xsl:text disable-output-escaping="yes">&amp;</xsl:text>

It works, but there must be a more elegant way!

brian


Linda Derezinski wrote:

> Try
>
> &amp;&amp;
>
> I always forget the ;
> -Linda Derezinski
>
>  -----Original Message-----
> From:   Ki Choi [mailto:kchoi@acm.org]
> Sent:   Wednesday, March 29, 2000 2:37 AM
> To:     general@xml.apache.org
> Subject:        Translate to JavaScript by XSL
>
> Does anyone do anywork on translating JavaScript by using XSL, I tried and
> blocked by don't know how to translate the and operator (i.e. &&) in
> JavaScript,
> I did use &amp&amp on the XSL but then it gives error message complainting
> for require an entity name.
>
> thanks,
> Ki
> email: kchoi@acm.org
>
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org
>
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message