| 1 |
<HTML> |
| 2 |
<HEAD> |
| 3 |
<TITLE>stag-autoddl</TITLE> |
| 4 |
<LINK REV="made" HREF="mailto:[email protected]"> |
| 5 |
</HEAD> |
| 6 |
|
| 7 |
<BODY> |
| 8 |
|
| 9 |
<A NAME="__index__"></A> |
| 10 |
<!-- INDEX BEGIN --> |
| 11 |
|
| 12 |
<UL> |
| 13 |
|
| 14 |
<LI><A HREF="#name">NAME</A></LI> |
| 15 |
<LI><A HREF="#synopsis">SYNOPSIS</A></LI> |
| 16 |
<LI><A HREF="#description">DESCRIPTION</A></LI> |
| 17 |
</UL> |
| 18 |
<!-- INDEX END --> |
| 19 |
|
| 20 |
<HR> |
| 21 |
<P> |
| 22 |
<H1><A NAME="name">NAME</A></H1> |
| 23 |
<P>stag-autoddl.pl</P> |
| 24 |
<P> |
| 25 |
<HR> |
| 26 |
<H1><A NAME="synopsis">SYNOPSIS</A></H1> |
| 27 |
<PRE> |
| 28 |
stag-autoddl.pl -parser XMLAutoddl -handler ITextWriter file1.txt file2.txt</PRE> |
| 29 |
<PRE> |
| 30 |
stag-autoddl.pl -parser MyMod::MyParser -handler MyMod::MyWriter file.txt</PRE> |
| 31 |
<P> |
| 32 |
<HR> |
| 33 |
<H1><A NAME="description">DESCRIPTION</A></H1> |
| 34 |
<P>script wrapper for the Data::Stag modules</P> |
| 35 |
<DL> |
| 36 |
<DT><STRONG><A NAME="item_%2Dhelp%7Ch">-help|h</A></STRONG><BR> |
| 37 |
<DD> |
| 38 |
shows this document |
| 39 |
<P></P> |
| 40 |
<DT><STRONG><A NAME="item_%2Dp%7Cparser_FORMAT">-p|parser FORMAT</A></STRONG><BR> |
| 41 |
<DD> |
| 42 |
FORMAT is one of xml, sxpr or itext, or the name of a perl module |
| 43 |
<P>xml assumed as default</P> |
| 44 |
<P></P> |
| 45 |
<DT><STRONG><A NAME="item_%2Dw%7Cwriter_FORMAT">-w|writer FORMAT</A></STRONG><BR> |
| 46 |
<DD> |
| 47 |
FORMAT is one of xml, sxpr or itext, or the name of a perl module |
| 48 |
<P>This is only used if transforms are required on the data to turn it |
| 49 |
into relational form; the transformed xml (or other stag format) is |
| 50 |
stored in the file specified by -t</P> |
| 51 |
<P></P> |
| 52 |
<DT><STRONG><A NAME="item_%2Dlink%7Cl_NODE_NAME">-link|l NODE_NAME</A></STRONG><BR> |
| 53 |
<DD> |
| 54 |
this node name will be used as a linking table |
| 55 |
<P>multiple linking nodes can be set:</P> |
| 56 |
<PRE> |
| 57 |
-l foo2bar -l x2y -l bim2bum</PRE> |
| 58 |
<P></P> |
| 59 |
<DT><STRONG><A NAME="item_%2Dt_TRANSFORMED_FILE_NAME">-t TRANSFORMED_FILE_NAME</A></STRONG><BR> |
| 60 |
<DD> |
| 61 |
the transformed input file is written here |
| 62 |
<P></P></DL> |
| 63 |
|
| 64 |
</BODY> |
| 65 |
|
| 66 |
</HTML> |