tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kralidis,Tom [Burlington]" <>
Subject dumping XML document
Date Tue, 02 Jan 2007 19:54:11 GMT


Using tomcat 6.0.0, I am using the following fragment to fetch a remote
XML document:

<c:catch var="caught">
 <c:import url="${param.url}" varReader="xmlSource">
  <x:parse var="doc" xml="${xmlSource}" scope="page" />

Using <x:out select="$doc/....."/> allows for fetching of values of
elements / attributes as expected.  I have encountered a situation where
I would like to fetch and store the entire document in a database.

Trying <x:out select"$doc"/> outputs the entire XML document without the
element names, etc. (i.e. only the content within the elements /

Any idea on what's the best way to achieve this?



Tom Kralidis
Senior Systems Scientist
Environment Canada
Tel: +01-905-336-4409

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message