XML Xdoc - easy data conversion from delimited text to XML
Home

Download/Install

Case Studies

Features

Why XML Xdoc?

Online Manual

Pricing/Purchase

FAQ

CSV File Format

About XML

Feedback/Contact us

XML Xdoc -output switch

The output switch allows a local filename http to be used as the output file.

Command line
Xdoc -url=http://www.trah.com/xml/data/data1.csv -output=freddy.xml -tagfile=firstline

The above command line produces this output in a file called freddy.xml.

<?xml version="1.0" standalone="yes" ?>
<!-- Generated by Trah XML Xdoc 2006-1-1 19:6:31 -->
<document>
<row>
<Date>11-Nov-02</Date>
<Open>15.53</Open>
<High>15.7</High>
<Low>14.85</Low>
<Close>14.92</Close>
<Volume>7894100</Volume>
</row>
<row>
<Date>08-Nov-02</Date>
<Open>15.48</Open>
<High>15.94</High>
<Low>15.36</Low>
<Close>15.68</Close>
<Volume>9087700</Volume>
</row>
</document>

If a directory which does not exist is specifed as part of the output filename then an error message is given
"could not open output file 'directory/filename'"

www.xdoc.co.uk
Also from Trah, StarterFile: software to autorun files from CD. Copyright © 2001-2006 Trah®