Audit (XmlDoc/XmlNode subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
m (edits, tags and links)
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 User Language <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}}
===[[Print_(XmlDoc/XmlNode_subroutine)#Syntax_terms|Syntax Terms]]===
==Usage Notes==
<ul><li><var>Audit</var> is available in <var class="product">[[Sirius Mods|"Sirius Mods"]]</var> Version 6.7 and later.
</ul>
==See also==
==See also==
<ul>
<ul>

Revision as of 11:35, 27 April 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

Syntax Terms

Usage Notes

See also