cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barbara Post" <bab...@ifrance.com>
Subject Fw: bug with javascript ?
Date Thu, 29 Aug 2002 09:08:41 GMT
some snip because this darn antivirus believes that I am seding malicious
code !!
----- Original Message -----
From: "Barbara Post" <babs33@ifrance.com>
To: <cocoon-users@xml.apache.org>
Sent: Thursday, August 29, 2002 11:01 AM
Subject: bug with javascript ?


> c203.
>
> My XSL contains some javascript :
>
> Is it normal that when I look at the source of my html output  I see the
> full code (in the body part) written out ?
>
> i.e. :
>
> <script language="(java-script)">if (document.all){
> document.writeln('<object id="factory"
> classid="clsid:(something)"
> codebase="(active x)'"></object>');
> document.writeln('<p align="center"><input name="idPrint" type="button"
> value="Print" onClick="javascript:printSheet();"/></p>');
> }</script>
>
> I see the "Print" input but this seems strange. In the xsl I used &lt; and
> &gt; tags, but otherwise the bit of code is identical. Thanks, and sorry
> whether this is off-topic...
>
> Babs
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message