Audit (XmlDoc/XmlNode subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<span style="font-size:120%; color:black"><b>Display selected subtree on audit trail</b></span>
{{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.
==See also==
===Syntax===
<ul>
  Call nr:Audit([Xpath], [options])
<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}}

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