| 1 |
<HTML> |
| 2 |
<HEAD> |
| 3 |
<TITLE>stag-autotemplate</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 |
<LI><A HREF="#arguments">ARGUMENTS</A></LI> |
| 18 |
</UL> |
| 19 |
<!-- INDEX END --> |
| 20 |
|
| 21 |
<HR> |
| 22 |
<P> |
| 23 |
<H1><A NAME="name">NAME</A></H1> |
| 24 |
<PRE> |
| 25 |
stag-autotemplate.pl</PRE> |
| 26 |
<P> |
| 27 |
<HR> |
| 28 |
<H1><A NAME="synopsis">SYNOPSIS</A></H1> |
| 29 |
<PRE> |
| 30 |
stag-autotemplate.pl \ |
| 31 |
-s my-schema-name -dir ./templates my-sample-data.xml</PRE> |
| 32 |
<PRE> |
| 33 |
stag-autotemplate.pl \ |
| 34 |
-s my-schema-name -dir ./templates -no_pp my-stagschema.sxpr</PRE> |
| 35 |
<P> |
| 36 |
<HR> |
| 37 |
<H1><A NAME="description">DESCRIPTION</A></H1> |
| 38 |
<P>Generates Stag SQL Templates files based on sample data or a stag-schema</P> |
| 39 |
<P>See the script |
| 40 |
</P> |
| 41 |
<PRE> |
| 42 |
|
| 43 |
stag-autoschema.pl</PRE> |
| 44 |
<P>for generating stag schemas from sample data</P> |
| 45 |
<P> |
| 46 |
<HR> |
| 47 |
<H1><A NAME="arguments">ARGUMENTS</A></H1> |
| 48 |
<DL> |
| 49 |
<DT><STRONG><A NAME="item_%2Dno_pp">-no_pp</A></STRONG><BR> |
| 50 |
<DD> |
| 51 |
do not pre-process (the input is a stag schema, not a sample data file) |
| 52 |
<P></P> |
| 53 |
<DT><STRONG><A NAME="item_%2Ddir">-dir</A></STRONG><BR> |
| 54 |
<DD> |
| 55 |
directory in which to write autogenerated templates |
| 56 |
<P></P></DL> |
| 57 |
|
| 58 |
</BODY> |
| 59 |
|
| 60 |
</HTML> |