This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: HTML <script> tag


> 	<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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]