@@ -0,0 +1,677 @@
+package org.oxymores.chronix.core;%0A%0Aimport javax.xml.bind.JAXBContext;%0Aimport javax.xml.bind.Marshaller;%0A%0Aimport org.apache.log4j.Logger;%0Aimport org.junit.Test;%0Aimport org.oxymores.chronix.engine.TestChain;%0A%0Apublic class TestXml %7B%0A%09private static Logger log = Logger.getLogger(TestXml.class);%0A%0A%09private String db1;%0A%09Application a1;%0A%09%0A%09%0A%09@Test%0A%09public void testXml() throws Exception%0A%09%7B%0A%09%09Application a1 = org.oxymores.chronix.demo.DemoApplication%0A%09%09%09%09.getNewDemoApplication();%0A%0A%09%09JAXBContext ctx = JAXBContext.newInstance(Application.class);%0A%09%09Marshaller m = ctx.createMarshaller();%0A%09%09m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);%0A%09%09%0A%09%09m.marshal(a1, System.out);%0A%09%7D%0A%7D%0A

test xml