|
Subject: Re: JavaScript In Cocoon From: "Paul Johnson" <paul@xxxxxxxxxxxxxxx> Date: Fri, 05 Nov 1999 13:43:27 -0600 |
Ok,
this is going to sound wierd, but try using the IBMparser and the Cocoon standard XSLT Parser. Also, do this to make it type out your java script.
<SCRIPT>
<![CDATA[
function winFunction(desc)
{
w =window.open("blank.htm","winName","width=300,height=300");
w.document.write("<HTML><HEAD><TITLE>Program Description</TITLE>");
w.document.write("</HEAD>");
w.document.write("<BODY><DIV>Hello, world!<DIV></BODY></HTML>");
w.document.write(desc);
w.document.write("Hello, world");
w.document.write("</DIV></BODY></HTML>");
}
]]>
</SCRIPT>
Let me know if this helps.
Paul R. Johnson
*********** REPLY SEPARATOR ***********
On 11/5/99 at 11:57 AM Stefano Mazzocchi wrote:
>Kay Michael wrote:
>>
>> >
>> > I am trying to use Javascript in my XSL page, but I am having
>> > problems with the special characters getting changed to other
>> > equivalents.
>> >
>> I don't know whether cocoon supports it, but if you specify <xsl:output
>> method="html"> then angle brackets within an HTML SCRIPT element should be
>> output as is, i.e. not escaped. You could also try enforcing this behaviour
>> using disable-output-escaping="yes" (but I don't know if cocoon supports
>> that either).
>
>no, it doesn't (yet).
>
>But you should be able to do it using the HTML formatter. (you should
>consider moving this discussion on the Cocoon mail list which is more
>appropriate)
>
>--
>Stefano Mazzocchi One must still have chaos in oneself to be
> able to give birth to a dancing star.
><stefano@xxxxxxxxxx> Friedrich Nietzsche
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: JavaScript In Cocoon, Stefano Mazzocchi | Thread | Re: JavaScript In Cocoon, Stephen Yearl |
| RE: Intercepting multiple output do, Vun Kannon, David | Date | Re: Intercepting multiple output do, Sebastian Rahtz |
| Month |