Statistics
| Revision:

root / tmp / org.txm.core / src / groovy / org / txm / scripts / clix / xmlstarlet-wrapper-definition.xml @ 187

History | View | Annotate | Download (2.3 kB)

1
<?xml version="1.0">
2
<!-- TO BE FINISHED, WORK IN PROGRESS : SLH 2010-04-10 -->
3
<application name="XMLStarlet" version="1.0.1" desc="XMLStarlet Toolkit: Command line utilities for XML">
4
        <progs>
5
                <prog exec="xml.exe ed" version="1.0.1" desc="XMLStarlet Toolkit: Edit XML document(s), Usage: xml ed <global-options> {<action>} [ <xml-file-or-uri> ... ], where <global-options>  - global options for editing, <xml-file-or-uri> - input XML document file name/uri (stdin otherwise)">
6
                        <args>
7
                                <arg state="optional" type="none" name="P" desc="-P (or --pf)        - preserve original formatting"/>
8
                                <arg state="optional" type="none" name="S" desc="-S (or --ps)        - preserve non-significant spaces"/>
9
                                <arg state="optional" type="none" name="O" desc="-O (or --omit-decl) - omit XML declaration (&lt;?xml ...?>)"/>
10
                                <arg state="optional" type="String" name="N" desc="-N &lt;name>=&lt;value>   - predefine namespaces (name without 'xmlns:'), ex: xsql=urn:oracle-xsql, Multiple -N options are allowed., -N options must be last global options."/>
11
                                <arg state="optional" type="none" name="h" desc="--help or -h        - display help"/>
12
                                <arg state="optional" type="String" name="d" desc="-d or --delete &lt;xpath>"/>
13
                                <arg state="optional" type="String" name="i" desc="-i or --insert &lt;xpath> -t (--type) elem|text|attr -n &lt;name> -v (--value) &lt;value>"/>
14
                                <arg state="optional" type="String" name="t" desc="-t (--type) elem|text|attr"/>
15
                                <arg state="optional" type="String" name="n" desc="-n &lt;name>"/>
16
                                <arg state="optional" type="String" name="v" desc="-v (--value) &lt;value>"/>
17
                                <arg state="optional" type="String" name="a" desc="-a or --append &lt;xpath> -t (--type) elem|text|attr -n &lt;name> -v (--value) &lt;value>"/>
18
                                <arg state="optional" type="String" name="s" desc="-s or --subnode &lt;xpath> -t (--type) elem|text|attr -n &lt;name> -v (--value) &lt;value>"/>
19
                                <arg state="optional" type="String" name="m" desc="-m or --move &lt;xpath1> &lt;xpath2>"/>
20
                                <arg state="optional" type="String" name="r" desc="-r or --rename &lt;xpath1> -v &lt;new-name>"/>
21
                                <arg state="optional" type="String" name="u" desc="-u or --update &lt;xpath> -v (--value) &lt;value>"/>
22
                                <arg state="optional" type="String" name="x" desc="-x (--expr) &lt;xpath> (-x is not implemented yet)"/>
23
                        </args>
24
                </prog>
25
        </progs>
26
</application>