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 -rootname switch

The rootname switch allows the root element to be specified.

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

The above command line produces this output.

<?xml version="1.0" standalone="yes" ?>
<!-- Generated by Trah XML Xdoc 2006-1-1 19:6:31 -->
<fred>
<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>
</fred>

If rootname is not specified the default rootname 'document' is used.

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