tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William C. Robertson" <>
Subject using xtags and io to modify foo.xml
Date Wed, 22 Aug 2001 04:41:34 GMT
After pulling and parsing an xml document, I would like to modify it and
save it again:
File file=new File("/usr/local/foo.xml");
FileWriter fileWriter = new FileWriter( file );
<io:pipe writer="<%= fileWriter %>">
	<xtags:copyOf select="//" />

Yet I get "Illegal to flush within a custom tag".  Does someone know why or
have an alternate solution?

Many thanks...

View raw message