cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Bacon" <nba...@pinnaclesoftware.com.au>
Subject RE: Best Practices for Debugging XML?
Date Wed, 21 Apr 2004 02:41:19 GMT
Use a "view" - see http://cocoon.apache.org/2.1/userdocs/concepts/views.html

Usage: myURL?cocoon-view=content



-----Original Message-----
From: users-return-66307-nbacon=aisoftware.com.au@cocoon.apache.org
[mailto:users-return-66307-nbacon=aisoftware.com.au@cocoon.apache.org]On
Behalf Of David Swearingen
Sent: Wednesday, 21 April 2004 12:21 PM
To: users@cocoon.apache.org
Subject: Best Practices for Debugging XML?


Newbie question: what's the best way to view raw xml when debugging
pipelines for web development?  I think my question comes down to these two
points:

1) Should serializers be switched to type="xml" so that I can see raw xml
results in a browser?

2) If so, or, in general, are there some good techniques to allow me to
debug without having to change some portion of the sitemap each time, i.e.,
a way to configure the sitemap so that when I request foo.xml instead of
foo.html, I see the raw xml instead?

David


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message