|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: javascript problem
----- Original Message -----
From: "Paul Kelly" <pjkelly5@xxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, July 18, 2002 4:15 AM
Subject: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








