Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Since you're manipulating XML, I'd use something XML-specific to maintain encodings, entities etc. </p> <p>Check out <a href="http://xmlstar.sourceforge.net/doc/xmlstarlet.txt" rel="nofollow">XMLStarlet</a> for a command-line based XML toolset, and in particular the <code>ed</code> command which allows you to edit documents.</p> <pre><code>xml ed --help XMLStarlet Toolkit: Edit XML document(s) Usage: xml ed &lt;global-options&gt; {&lt;action&gt;} [ &lt;xml-file-or-uri&gt; ... ] where &lt;global-options&gt; - global options for editing &lt;xml-file-or-uri&gt; - input XML document file name/uri (stdin is used if missing) &lt;global-options&gt; are: -P (or --pf) - preserve original formatting -S (or --ps) - preserve non-significant spaces -O (or --omit-decl) - omit XML declaration (&lt;?xml ...?&gt;) -N &lt;name&gt;=&lt;value&gt; - predefine namespaces (name without 'xmlns:') ex: xsql=urn:oracle-xsql Multiple -N options are allowed. -N options must be last global options. --help or -h - display help where &lt;action&gt; -d or --delete &lt;xpath&gt; -i or --insert &lt;xpath&gt; -t (--type) elem|text|attr -n &lt;name&gt; -v (--value) &lt;value&gt; -a or --append &lt;xpath&gt; -t (--type) elem|text|attr -n &lt;name&gt; -v (--value) &lt;value&gt; -s or --subnode &lt;xpath&gt; -t (--type) elem|text|attr -n &lt;name&gt; -v (--value) &lt;value&gt; -m or --move &lt;xpath1&gt; &lt;xpath2&gt; -r or --rename &lt;xpath1&gt; -v &lt;new-name&gt; -u or --update &lt;xpath&gt; -v (--value) &lt;value&gt; -x (--expr) &lt;xpath&gt; (-x is not implemented yet) </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload