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

The recordname switch allows the record, or row, element to be specified.

Command line
Xdoc -url=http://www.trah.com/xml/data/data1.csv -tagfile=firstline -recordname=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 -->
<document>
<fred>
<Date>11-Nov-02</Date>
<Open>15.53</Open>
<High>15.7</High>
<Low>14.85</Low>
<Close>14.92</Close>
<Volume>7894100</Volume>
</fred>
<fred>
<Date>08-Nov-02</Date>
<Open>15.48</Open>
<High>15.94</High>
<Low>15.36</Low>
<Close>15.68</Close>
<Volume>9087700</Volume>
</fred>
</document>

If recordname is not specified the default recordname 'row' is used.

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