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

A Data Type Definition (DTD) defines what tags can be used to describe a particular XML document and how and where those tags can be used within a document. You cannot use a tag that is not defined and you cannot use a defined tag in the wrong place.

DTD's can be SYSTEM or PUBLIC.

Xdoc can auto create PUBLIC or SYSTEM DTD tags using -dtds or -dtdp switches

-dtdp=name

This specifies a SYSTEM DTD to be included in the XML file.

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

<?xml version="1.0" standalone="no" ?>
<!DOCTYPE document PUBLIC "http://www.trah.com/xml/dtd/stockprice.dtd">
<!-- Generated by Trah XML Xdoc 2004-4-17 10:53:33 -->
<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>
<?xml version="1.0" standalone="no" ?>
<!DOCTYPE document PUBLIC "http://www.trah.com/xml/dtd/stockprice.dtd">
<!-- Generated by Trah XML Xdoc 2004-4-17 10:53:33 -->
<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>
www.xdoc.co.uk
Also from Trah, StarterFile: software to autorun files from CD. Copyright © 2001-2006 Trah®