Jump to content

XmlTools: Difference between revisions

4 bytes removed ,  3 February 2014
m
Line 127: Line 127:
:Reduce the number of text messages output [faster processing].
:Reduce the number of text messages output [faster processing].


==Patch file options==
==Patch file operations==
Patch files are mainly used for two purposes: to create a list of commands within one file that you can pass to XmlTools to execute all at once, to remove XML nodes, to insert new XML nodes and to use [[wikipedia:JavaScript|JavaScript]] code to modify the XML.
Patch files are mainly used for two purposes: to create a list of commands within one file that you can pass to XmlTools to execute all at once, to remove XML nodes, to insert new XML nodes and to use [[wikipedia:JavaScript|JavaScript]] code to modify the XML.


Line 134: Line 134:
Comments in patch files begin with '#'.
Comments in patch files begin with '#'.


===Operations===
===Options===


Operations in patch files always begin with '@'. The operations options use [http://c2.com/cgi/wiki?PascalCase pascal casing].
Operations in patch files always begin with '@'. The operations options use [http://c2.com/cgi/wiki?PascalCase pascal casing].
Line 153: Line 153:
:Executes the [[wikipedia:JavaScript|JavaScript]] code for XML editing. <u>You should avoid this operation as much as possible</u> because it is much slower than the native XmlTools commands;
:Executes the [[wikipedia:JavaScript|JavaScript]] code for XML editing. <u>You should avoid this operation as much as possible</u> because it is much slower than the native XmlTools commands;


===Operations inputs===
===Options input===


The values of the following options inputs must be <u>always</u> inside of quotes ("").
The values of the following options inputs must be <u>always</u> inside of quotes ("").
489

edits