Subject:Text File to XML using XML Schema? Author:Reuben Pilli Date:21 Jul 2005 12:05 PM
Hello,
I have a fixed-width Text File and an XML Schema. I need to generate an XML file from this Text file using the Schema. Is it possible using this product?
Subject:Text File to XML using XML Schema? Author:Tony Lavinio Date:21 Jul 2005 02:59 PM
Yes.
Step 1: Use Convert-to-XML to create an XML equivalent of the text file.
Step 2: Use the XSLT Mapper. Select as the source the output of step 1,
and as the target the XML Schema document.
Now you can graphically map the input file to the schema, and Stylus
Studio will create the XSLT or XQuery for you to do the mapping.
As a special added bonus, you can package this as a runtime and use it
outside of Stylus Studio.