Subject:Execute Convert to XML via command line Author:(Deleted User) Date:05 Oct 2004 12:50 PM
Hi Hans,
there isn't a command line tool that simply copies files from a custom
file system like "Convert to XML" into the local file system.
But you can write a very simple XSLT that does that, like this one
If you invoke the command line XSLT processor specifying a configuration
file created using "Convert to XML" you will have the converted data
as output
Subject:Execute Convert to XML via command line Author:Hans-Jürgen Schwippert Date:05 Oct 2004 01:19 PM
Hi Alberto,
thanks for your reply. But if I execute what you proposed I just get outputted a representation of the .conv file. I really want to specify a (every time changing) input file, the converter to use and then get the xml output.
Subject:Execute Convert to XML via command line Author:(Deleted User) Date:05 Oct 2004 01:47 PM
Hi Hans,
using the example I wrote you will get the XML representation of the
flat file that you used as template to build the "Convert to XML"
operation.
If you want to dynamically specify the source text file, you should use
this syntax
To get the syntax for the adapter:xxxx URL, just select the text file
in the open file dialog inside Studio, checking the "Convert to XML using adapter"
check box; then, enter the values for the parameters of the converter,
and copy the URL that is generated.