xsl-list
[Top] [All Lists]

RE: HTML <script> tag

2002-08-28 15:48:36
      <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



<Prev in Thread] Current Thread [Next in Thread>