Beside the possibility to browse the DOM tree and list some parts of it (as described in Navigation), XSH2 provides commands to obtain other information related to open documents as well as the XSH2 interpreter itself. These commands are listed bellow.
search the documentation
serialize nodes as to canonical XML
calculate a expression and enumerate node-lists
displays various information about a document
calculate a given expression and return the result.
display a list of open documents
on-line documentation
print line-numbers corresponding to matching nodes
list a given part of a document as XML
list all user-defined subroutines
show document's DTD
show a given node location (as a canonical XPath)
List namespaces available in a context of a given nodes
list current settings using XSH2 syntax
print stuff on standard or standard error output
show document's original character encoding
show current context node location (as a canonical XPath)
validate a document against a DTD, RelaxNG, or XSD schemas
list global variables
show version information