[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-cocoon-users
Subject:    Re: Jscript in xml pages. Disaperas after file generation
From:       Galia Angelova <galbulg () yahoo ! com>
Date:       2003-05-30 12:08:32
[Download RAW message or body]

Thank you!
 

<![CDATA[ .....]]>   worked

Have a nice weekend!
Galia

"Emmanuil Batsis (Manos)" <mbatsis@humanmarkup.org> wrote:
Try


// javascript code here


CDATA is the ideal but does not work well with that crap browser 
everyone seems to be using.

hth,

Manos

Upayavira wrote:
> On 30 May 2003 at 10:38, Rainer Ammermann wrote:
> 
> 
>>Hallo Galia,
>>try using "<" for "<" and ">" for ">".
>>Since defines a comment already at the XML/XSLT-level,
>>it is ignored by the processor and thus not included into the HTML
>>result tree. Best wishes Rainer
> 
> 
> AFAIK doing that will result in < and > in your resultant HTML.
> 
> Instead, wrap the entire Javascript area, including 

---------------------------------
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).
[Attachment #3 (text/html)]

<DIV>Thank you!</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#0000ff size=1>
<P>&lt;![CDATA[ .....<FONT color=#0000ff size=1>]]</FONT><FONT face="Arial CYR" \
color=#0000ff size=1>&gt;&nbsp;&nbsp; <FONT color=#000000 \
size=2>worked</FONT></FONT></P> <P><FONT face="Arial CYR" size=1><FONT color=#000000 \
size=2>Have a nice weekend!</FONT></P></FONT></FONT>Galia<BR><BR><B><I>"Emmanuil \
Batsis (Manos)" &lt;mbatsis@humanmarkup.org&gt;</I></B> wrote:</DIV> <BLOCKQUOTE \
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px \
solid">Try<BR><BR><?xml:namespace prefix = xsl /><xsl:comment><BR>// javascript code \
here<BR></xsl:comment><BR><BR>CDATA is the ideal but does not work well with that \
crap browser <BR>everyone seems to be \
using.<BR><BR>hth,<BR><BR>Manos<BR><BR>Upayavira wrote:<BR>&gt; On 30 May 2003 at \
10:38, Rainer Ammermann wrote:<BR>&gt; <BR>&gt; <BR>&gt;&gt;Hallo \
Galia,<BR>&gt;&gt;try using "&lt;" for "&lt;" and "&gt;" for "&gt;".<BR>&gt;&gt;Since \
<!--  .... -->defines a comment already at the XML/XSLT-level,<BR>&gt;&gt;it is \
ignored by the processor and thus not included into the HTML<BR>&gt;&gt;result tree. \
Best wishes Rainer<BR>&gt; <BR>&gt; <BR>&gt; AFAIK doing that will result in &lt; and \
&gt; in your resultant HTML.<BR>&gt; <BR>&gt; Instead, wrap the entire Javascript \
area, including <!-- in an XML CDATA tag (sorry, <br></BLOCKQUOTE><p><hr SIZE=1> Do \
you Yahoo!?<br> Free <a \
href="http://us.rd.yahoo.com/mail_us/tag/*http://calendar.yahoo.com">online \
calendar</a> with sync to Outlook(TM).



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic