Subject: Re: call-template and javascript From: Jiri Jirat <Jiri.Jirat@xxxxxxxxx> Date: Tue, 21 Nov 2000 14:02:48 +0100 |
Hello Jakub, try: <xsl:text disable-output-escaping="yes"> <javascript> your code here </javascript> </xsl:text> You must escape <, && etc. Best regards Jirka Jakub Malý wrote: > > I know that comments are ignored, so I try to pecify problen again. I want > to insert javascript into translated page, but compiler has been trying to > translate javascript as XSL, so there are errors. One way is to use > external javascript (using <javascript src="javascript.js"></javascript>), > other way is to replace all characters (&, <, >, ....) with ....(I don't > know how it's called :-(, but I hope that you understand me). > > I want something like this. > > <javascript> > Text, which will be ignored for XSL compiler, but will be in translated > page. > </javascript> > > Tanks for help, > > regards Jakub > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list -- <name firstName="Jirka" surname="Jirat"/> <mail> jiratj@xxxxxxxxx </mail> <support> http://www.zvon.org </support> <zvonMailingList> http://www.zvon.org/index.php?nav_id=4 </zvonMailingList> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: call-template and javascript, Michael Hoffmann | Thread | Re: Copying a portion of a subtree , Mike Mahoney |
Re: call-template and javascript, Michael Hoffmann | Date | Re: adding string-length values, Zeljko Rajic |
Month |