Audit (XmlDoc/XmlNode subroutine): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 1: | Line 1: | ||
{{Template:XmlDoc/XmlNode:Audit subtitle}} | {{Template:XmlDoc/XmlNode:Audit subtitle}} | ||
This subroutine displays an XmlDoc 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. | ||
Audit is identical to the [[Print (XmlDoc/XmlNode subroutine)|Print]] method, | <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 Audit 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. | ||
This method is new in ''Sirius Mods'' version 6.7. | This method is new in ''Sirius Mods'' version 6.7. | ||
==Syntax== | ==Syntax== | ||
<p class="code">Call nr:Audit([Xpath], [options]) | <p class="code">Call nr:<var>Audit</var>([Xpath], [options]) | ||
</p> | </p> | ||
==See also== | ==See also== | ||
{{Template:XmlDoc/XmlNode:Audit footer}} | {{Template:XmlDoc/XmlNode:Audit footer}} |
Revision as of 17:46, 25 January 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
Call nr:Audit([Xpath], [options])