This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: javascript problem
- From: "James Fuller" <james dot fuller at o-idev dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 18 Jul 2002 04:52:01 +0100
- Subject: Re: [xsl] javascript problem
- Organization: o-iDeveloper ltd.
- References: <a04310105b95be1d40c7b@[192.168.123.151]>
- Reply-to: xsl-list at lists dot mulberrytech dot com
----- Original Message -----
From: "Paul Kelly" <pjkelly5@rogers.com>
To: <xsl-list@lists.mulberrytech.com>
Sent: Thursday, July 18, 2002 4:15 AM
Subject: [xsl] javascript problem
> My first post so please be gentle :) I looked all through the
> archives for an answer.
>
> Can someone please tell me why this script will not execute:
>
> <head>
> <xsl:copy-of select="document('meta')/meta" />
> <title><xsl:value-of select="page/@title"/></title>
> <script language="JavaScript">
> {
> document.write("<link rel='stylesheet' href='css.css'
> type='text/css' />");
> }
> </script>
> </head>
>
I am completely confused u could always use
<script language="JavaScript">
<![CDATA[
document.write("<link rel='stylesheet' href='css.css' type='text/css'
/>");
]]>
</script>
here ye shall find the answer
http://www.dpawson.co.uk/xsl/sect4/N9745.html
chow,jim fuller
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list