I found a solution with the following:

<xsl:text disable-output-escaping="yes">
        &lt;script language="JavaScript1.2" src="scripts/global.js"
type="text/javascript">&lt;/script>
</xsl:text>

I also found that IE renders the fonts a lot larger than Netscape, so when I
turn on "Standards-compliant" mode with the doctype in IE 6 - I get
different sizes.  I'll post the answer here when I find it.

Thanks,

Matt


-----Original Message-----
From: Matt Raible [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 17, 2002 2:44 PM
To: Tag Libraries Users List
Subject: RE: x:transform is producing HTML that is not as I specified in
my XSL document


The good news is that this works, and gives me the output I desire.  The bad
news is that I think I found a bug in IE 6.0.  When I change output to be
"xml" - the following javascript

<script language="Javascript1.2" src="scripts/global.js"
type="text/javascript"></script>

gets changed to:

<script language="Javascript1.2" src="scripts/global.js"
type="text/javascript"/>

Which *I think* is fine.  However, this causes the page to not even display
in IE, you can view the source, but blank screen with appropriate title.
This works fine in Netscape.

Matt

-----Original Message-----
From: Matteo Di Giovinazzo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 17, 2002 12:16 PM
To: Tag Libraries Users List
Subject: Re: x:transform is producing HTML that is not as I specified in
my XSL document



----- Original Message -----
From: "Matt Raible" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 17, 2002 5:22 PM
Subject: x:transform is producing HTML that is not as I specified in my XSL
document


> In my XSL document, I have
>
> <xsl:output method="html" indent="yes"
> doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
> doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>

You have to use this instead:

<xsl:output method="xml" indent="yes"
  doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
  doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>

XHTML is xml thus the method attribute must be set to xml, not html.
This should works fine.

--
Matteo Di Giovinazzo




--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to