Subject:how to convert a file to xml Author:chris johnson Date:14 May 2006 07:49 PM
I have a text which I would like to convert a specific xml output. I am having problem creating my specific xml output. I’m not sure if it’s even possible with stylus studio. If it is, please let me know. If I can get stylus studio to convert to this specific xml output, I will purchase a copy of the software.
I am trying to create child nodes under a specific node.
Subject:how to convert a file to xml Author:chris johnson Date:15 May 2006 04:44 PM
thanks but i that does help me figure out how to create my specific xml format from the suppied text file. I need to know how to create child node under a node. so if i have <root>
<dept>
<type>A</type>
<course>
<name>math></name>
</course>
Subject:how to convert a file to xml Author:Tony Lavinio Date:16 May 2006 09:29 AM
Convert-to-XML will do part of the job - it will get the non-XML
file into XML.
You can use XSLT to finish the job, and take the file from relatively
flat XML to XML of any arbitrary complexity.
Here's how:
First, create and save a .conv file with the definitions necessary to
extract the fields from your source file as XML elements.
Then, when you create the XSLT file, use as input the non-XML file,
and check the box on the File|Open dialog that says 'open using
adapter'. This will give you a second dialog that will let you choose
the .conv file with the non-XML to XML definitions that you created.