Audit (XmlDoc/XmlNode subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 11: Line 11:
{{Template:XmlDoc/XmlNode:Audit syntax}}
{{Template:XmlDoc/XmlNode:Audit syntax}}
==See also==
==See also==
<ul>
<li>the <var>[[Print (XmlDoc/XmlNode subroutine)|Print]]</var> method
<li>the <var>[[Trace (XmlDoc/XmlNode subroutine)|Trace]]</var> method
</ul>
{{Template:XmlDoc/XmlNode:Audit footer}}
{{Template:XmlDoc/XmlNode:Audit footer}}

Revision as of 20:57, 9 February 2011

Display selected subtree on audit trail (XmlDoc and XmlNode classes)


This subroutine displays an XmlDoc subtree in a readable form, useful for debugging, for example. Audit is identical to the Print method, except the result is sent to the audit trail (like the User Language Audit statement), and the default indentation is one space instead of three.

This method is new in Sirius Mods version 6.7.

Syntax

nr:Audit[( [xpath], [options])] Throws XPathError

See also