Subject:Flat to XML and back with Stylus and XML converters Author:Silvio Arcangeli Date:24 Oct 2007 03:23 PM
a couple of (hopefully silly) questions from a newbie.
I'm trying to develop a flat-2-XML conversion with Stylus, in order to
execute it in an application relying on DataDirect XMLConverters.
First question: is there anyway to specify a target schema for the XML
In my case it's an XML with just a root and a short series of tags directly under it, since the source text does always have one and only one line.
I tried to create such schema in the custom XML conversion, but Stylus does always seem to place a "row" or "field" tag between the root and the column tags, I didn't understand how i can get rid of the intermediate tag.
Second question: how do i create the opposite xml-2-text transformation?
the online help always states "and viceversa", so i know that's
possible, but i just couldn't figure out from the online help how i can
(I would like to do it as well with an XMLConverter conversion, not with a stylesheet!).