Audit (XmlDoc/XmlNode subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Template:XmlDoc/XmlNode:Audit subtitle}}
{{Template:XmlDoc/XmlNode:Audit subtitle}}
<var>Audit</var> displays an <var>XmlDoc</var> subtree in a readable form, useful for debugging, for example. <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 <var class="product">User Language</var> <var>Audit</var> statement), and the default indentation is one space instead of three.


This subroutine displays an <var>XmlDoc</var> subtree in a readable form,
==Syntax==
useful for debugging, for example.
{{Template:XmlDoc/XmlNode:Audit syntax}}
<var>Audit</var> is identical to the [[Print (XmlDoc/XmlNode subroutine)|Print]] method,
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.


This method is new in ''Sirius Mods'' version 6.7.
==Syntax==
<p class="code">Call nr:<var>Audit</var>([Xpath], [options])
</p>
==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}}

Latest revision as of 21:07, 31 May 2011

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

Audit 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.

Syntax

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

See also