On Tue, May 17, 2011 at 11:05 AM, Simon Nash <n...@apache.org> wrote:
> ant elder wrote: > >> Does anyone know how to get XML from the Tuscany model objects thats >> nicely formatted? >> >> As a quick hack I came up with this but it seems like theres probably >> something better and I'm not sure that org.apache.xml.serialize.OutputFormat >> and org.apache.xml.serialize.XMLSerializer are going to be there by default >> in all runtimes: >> >> I did something very similar in > org.apache.tuscany.sca.itest.builder.TestUtils Ok thanks for the pointed, looks just the same. I'm not sure if we should use those org.apache.xml.serialize classes though in 2.x as i don't want to require a dependency on xerces. They are there in the JDK i'm using, guess i need to research if they're there on other JDKs too. ...ant