You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Scott Boag/CAM/Lotus <Sc...@lotus.com> on 2000/05/01 01:44:27 UTC

Re: my inability to understand xsl:output?

I think with Cocoon 1.x, the xsl:output stuff is not passed on to the
Serializer.  I would ask someone on the Cocoon list if there is a
work-around for what you want to do... you can probably control this via
the Cocoon or Serializer API.

-scott




                                                                                                                   
                    Stuart                                                                                         
                    Woolford             To:     xalan-dev@xml.apache.org                                          
                    <stuartw@newm        cc:     (bcc: Scott Boag/CAM/Lotus)                                       
                    ail.net>             Subject:     my inability to understand xsl:output?                       
                                                                                                                   
                    04/28/2000                                                                                     
                    07:34 AM                                                                                       
                    Please                                                                                         
                    respond to                                                                                     
                    xalan-dev                                                                                      
                                                                                                                   
                                                                                                                   





Hello from New Zealand.

I'm having trouble using xsl in cocoon, the problem is I'm trying to return
an
xml document, starting with a <?xml version=1.0"?> PI, and cannot seem to
get
this to generate, Of course <xsl:processing-instruction> will not generate
one,
and I thought one should be made when I use
<xsl:output method="xml" omit-xml-declaration="no">
(if I read the recomendations correctly) but it is not, is something else
stripping this out (entirely possible) or am I just not getting something?
the
xml generated always starts with:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
                      "http://www.w3.org/TR/REC-html40/strict.dtd">
no matter what I put in <xsl:output>

???

 --
------------------------------------------------------------
Stuart Woolford, stuartw@newmail.net
Unix Consultant.
Software Developer.
Supra Club of New Zealand.
------------------------------------------------------------