Audit (XmlDoc/XmlNode subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Template:XmlDoc/XmlNode:Audit subtitle}}
{{Template:XmlDoc/XmlNode:Audit subtitle}}
[[Category:XmlDoc methods|Audit subroutine]]
<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.
[[Category:XmlNode methods|Audit subroutine]]
[[Category:XmlDoc API methods]]
<!--DPL?? Category:XmlDoc methods|Audit subroutine: Display selected subtree on audit trail-->
<!--DPL?? Category:XmlNode methods|Audit subroutine: Display selected subtree on audit trail-->
<!--DPL?? Category:XmlDoc API methods|Audit (XmlDoc/XmlNode subroutine): Display selected subtree on audit trail-->
<!--DPL?? Category:System methods|Audit (XmlDoc/XmlNode subroutine): Display selected subtree on audit trail-->
<p>
Audit is a member of the [[XmlDoc class|XmlDoc]] and [[XmlNode class|XmlNode]] classes.
</p>


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