XSH2 commands accept arguments of various types, usually expressed as Perl or XPath expressions. Unlike in most languages, individual XSH2 commands may evaluate the same expression differently, usually to enforce a result of a certain type (such as a node-list, a string, a number, a filename, a node name, etc.). See expression and individual argument types for more information.
single XSH2 command or a block of XSH2 commands
List of XSH2 commands and their general syntax
specifying documents
character encoding (codepage) identifier
expression argument type
specifying filenames
relative destination specification (such as after, before, etc.)
specifying names of DOM nodes
node type specification (such as element, attribute, etc.)
in-line code in Perl programming language
name of a sub-routine
XPath expression