Audit (XmlDoc/XmlNode subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
This subroutine displays an <var>XmlDoc</var> subtree in a readable form,
This subroutine displays an <var>XmlDoc</var> subtree in a readable form,
useful for debugging, for example.
useful for debugging, for example.
<var>Audit</var> is identical to the [[Print (XmlDoc/XmlNode subroutine)|Print]] method,
<var>Audit</var> is identical to the <var>[[Print (XmlDoc/XmlNode subroutine)|Print]]</var> method,
except the result is sent to the audit trail (like the User Language <var>Audit</var> statement),
except the result is sent to the audit trail (like the User Language <var>Audit</var> statement),
and the default indentation is one space instead of three.
and the default indentation is one space instead of three.
Line 12: Line 12:
==See also==
==See also==
<ul>
<ul>
<li>the <var>[[Print (XmlDoc/XmlNode subroutine)|Print]]</var> method
<li>The <var>[[Print (XmlDoc/XmlNode subroutine)|Print]]</var> method
<li>the <var>[[Trace (XmlDoc/XmlNode subroutine)|Trace]]</var> method
<li>The <var>[[Trace (XmlDoc/XmlNode subroutine)|Trace]]</var> method
</ul>
</ul>
{{Template:XmlDoc/XmlNode:Audit footer}}
{{Template:XmlDoc/XmlNode:Audit footer}}

Revision as of 16:21, 17 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