Audit (XmlDoc/XmlNode subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by 2 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,
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 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==
==Syntax==
{{Template:XmlDoc/XmlNode:Audit syntax}}
{{Template:XmlDoc/XmlNode:Audit syntax}}
==See also==
==See also==
<ul>
<ul>

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