XT XFLAT implementation in java
hello everybody thanks for this great forum.
i have to convert flat file from on format to another with xflat.which i did it greatly but the problem that i have a complicated falt file and i have to use xflat and also XT jclark xslt to do my transformation.
i tried to find some documentation or examples about it but i found just a lots of method without explaining and one example :
this example it works fine but those method aren't enagh for me because with this example i can just transform to xml though i wloud to transform it to a flat file using XTFLATFILEBUILDER that is a method in xflat to convert the xml tree in flat file.
public static void main(String args)
throws IOException, SAXException, TransformException
XmlDocument XMLdoc = new XmlDocument().createXmlDocument("File:///C:/test.xml");
XmlDocument XSLdoc = new XmlDocument().createXmlDocument("File:///C:/testatwxt.xsl");
XmlDocument newdoc = new XmlDocument();
XSLTransformEngine transformEngine = new XSLTransformEngine();
Transform transform = transformEngine.createTransform(XSLdoc);
OutputStream out = new FileOutputStream("C:\\test200.txt");
bref if anyone works with XT jclark in java that he gives me a help .