cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Cordes <>
Subject Re: How to view the XML generated from a XSP ?
Date Mon, 26 Feb 2001 17:44:10 GMT

The 3 options that I can think of are: 

1.	don't have an associated stylesheet. You would just see xml
tags if you directed your browser to the associated page.

2.	have your stylesheet generate xml

3.	within your stylesheet (which generates html) collect and display 
the xml ( perhaps in a textarea).  I would add it to the textarea using 
xsl:copy and document(''), but I'm sure they are other options.

For the saving part, i would take the lazy approach and just use 
lynx to call a page displaying just the xml and store it in a file..
perhaps w/ different params.

	lynx -source "" > $output_dir/$out_file


On Mon, Feb 26, 2001 at 11:29:45AM -0500, Amilcar Batista wrote:
> I would like to check and save the XML generated from a XSP? How can I
> achieve that?
> Thank you
> Amilcar
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <>
> To unsubscribe, e-mail: <>
> For additional commands, e-mail: <>

View raw message