[picocontainer-dev] XML Simplification

Jörg Schaible <[email protected]>
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
Hi Paul,

you're putting a lot of effort into string representation for Pico by post-processing XStream's XML output with regexps. Why are you not simply using an own HierarchicalStreamWriter that omits the unwanted parts?

xstream.marshal(pico, simplifyingWriter);
return simplifyingWriter.toString();

- Jörg

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.