xsl-list
[Top] [All Lists]

Re: HTML <script> tag

2002-08-30 10:10:12
Yes, Cocoon ignores <xsl:output/>. You have to specify your parameters in the sitemap.

Furthermore in newer versions of Cocoon there is a "XHTML-serializer" too, i.e. use <map:serialize type="xhtml"/> to get correct XHTML.

I never had any problems with <script> tag, Cocoon and serializing to HTML. As you can see on www.ekommunen.de (Cocoon 2.0.1) for example, <script> gets serialized to <script type="text/javascript" src="common.js"></script>.

Regards,

Joerg


Peter Davis wrote:
On Wednesday 28 August 2002 14:49, Hunsberger, Peter wrote:

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.


From what I see, this is definitely a bug (or at least a misguided "feature")
in Cocoon, since obviously it is not honoring your <xsl:output method="html"/>. I'd say go look in the Cocoon mailing lists, since it's hard to imagine that no one else has had this problem before.

Sorry I can't be of better help.

--

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg(_dot_)heinicke(_at_)virbus(_dot_)de
www.virbus.de


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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