|
Subject: [xsl] including a javascript less-than symbol in a xsl with 'xml' output method From: "Rubén" <rubenm@xxxxxxxxxxxxx> Date: Wed, 17 Jan 2001 20:56:08 +0100 |
Hi, how could I include a javascript code like this: "for( var i = 0; i <
n; i++ ) {...}" in a xsl template?
I know:
-If I embed this inside a CDATA section I get '<' instead of '<'
-If I don't use CDATA I can't put '<' and if I put '<' I get '<'
-If I used 'text' output method I would have to escape all tags in the xsl
-I think that to replace all the '<' with '<xsl:value-of select="<">' is
not very smart
Do you know a clever way?
Thanks and sorry my awfull english.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Re: encoding, Morris, Chris | Thread | RE: [xsl] including a javascript le, Mauricio Grimberg |
| [xsl] Re: encoding, Dimitre Novatchev | Date | [xsl] Re: How to transform <BR> to , Dimitre Novatchev |
| Month |