This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: HTML <script> tag
- From: "Conal Tuohy" <conalt at paradise dot net dot nz>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 29 Aug 2002 10:48:36 +1200
- Subject: RE: [xsl] HTML <script> tag
- Reply-to: xsl-list at lists dot mulberrytech dot com
> <script type="text/javascript" src="/_scripts/search.js"
> language="javascript"/>
>
> If I don't code the hack, which I believe indicates it's a
> Cocoon bug...
> Then again, with Cocoon, there may be some magic parameter
> I'm supposed to
> specify for the serializer but I don't think that's the case.
The "magic" parameter to use in the Cocoon sitemap is:
<map:serialize type="html"/>
Typically type="html" is the default anyway, so this would work too:
<map:serialize/>
But NOT:
<map:serialize type="xml"/>
If you serialize the document as XML, you WILL get tags like:
<script .... />
... as you should!
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list