Jessica,
you have a pipeline, do you ? You just have to comment the transformation stage and
change the serializer from HTML to XML of that
pipeline, something like:
<map:match name="wildcard" pattern="foo.xml">
<map:generate type="serverpages" src="xsp/foo.xsp"/>
<!-- Commented out for debug
<map:transform type="xslt" src="bar.xsl"/>
<map:serialize type="html"/>
-->
<map:serialize type="xml"/> <!-- XML output for debug -->
</map:match>
Best regards,
P.S.
You could use "views" to the same effect, but this is an *advanced* topic :)
---------------------------------------------
Luca Morandini
GIS Consultant
[EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------
> -----Original Message-----
> From: Jessica Niewint [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 30, 2002 4:16 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Output xsl --- next trap
>
>
> At 15.24 30/09/2002 +0200, you wrote:
> >Jessica,
> >
> >ok, let's get this straight:
> >
> >1) the myfile.xml XML (actually, an XSP file) produces an XML document (as
> >a SAX stream)
> >2) the myfile.xsl reads this SAX stream, transforms it, and produces yet
> >another SAX stream (which happens to be XHTML)
> >3) your browser displays it
>
> OK, my problem is: How can make the output of my xml file ??? I started
> xml with Cocoon. So I only "know" how to generate my xml document via xml
> -> xsl and the information of my sub-sitemap.
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>