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 :
Java Code:
import java.io.IOException;
import java.io.OutputStream;
import java.io.FileOutputStream;
import org.xml.sax.SAXException;
import com.sun.xml.tree.XmlDocument;
import com.jclark.xsl.dom.Transform;
import com.jclark.xsl.dom.TransformEngine;
import com.jclark.xsl.dom.TransformException;
import com.jclark.xsl.dom.XSLTransformEngine;

class testxflat
    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);

        transform.transform(XMLdoc, newdoc);

        OutputStream out = new FileOutputStream("C:\\test200.txt");
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.

bref if anyone works with XT jclark in java that he gives me a help .