RE: [xsl] HTML <script> tag

Subject: RE: [xsl] HTML <script> tag
From: "Conal Tuohy" <conalt@xxxxxxxxxxxxxxx>
Date: Thu, 29 Aug 2002 10:48:36 +1200
> 	<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


Current Thread