NodeType (AddToRecordError property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (match syntax table to syntax template (will need to be redone when syntax template is fixed) tags and edits)
Line 1: Line 1:
{{Template:AddToRecordError:NodeType subtitle}}
{{Template:AddToRecordError:NodeType subtitle}}
==Syntax==
==Syntax==
{{Template:AddToRecordError:NodeType syntax}}
{{Template:AddToRecordError:NodeType syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%str</th>
<tr><th>%xmlNodeType</th>
<td>A %variable of type <var>[[XmlNodeType]]</var> to receive the type of a node in <var>[[AddToRecord (XmlDoc subroutine)|AddToRecord]]</var>'s method object <var>[[XmlDoc class|XmlDoc]]</var>. If the error involves a node in the <var>XmlDoc</var> (for example, if <code>[[Reason (AddToRecordError property)|Reason]] = InvalidNode</code>), this an <var>XmlNodeType</var> enumeration value of the type of the node.
<td>A <var>[[Type_(XmlDoc/XmlNode_function)#Usage_notes|XmlNodeType]]</var> enumeration to receive the type of a node in <var>[[AddToRecord (XmlDoc subroutine)|AddToRecord]]</var>'s method object <var>[[XmlDoc class|XmlDoc]]</var>. If the error involves a node in the <var>XmlDoc</var> (for example, if <code>[[Reason (AddToRecordError property)|Reason]] = InvalidNode</code>).
</td></tr>
</td></tr>
<tr><th>%a2RecErr</th>
<tr><th>addToRecordError</th>
<td>An <var>AddToRecordError</var> object.
<td>An <var>AddToRecordError</var> object.
</td></tr></table>


</td></tr></table>
==See also==
==See also==
{{Template:AddToRecordError:NodeType footer}}
{{Template:AddToRecordError:NodeType footer}}

Revision as of 05:04, 10 April 2011

XmlNodeType of node in input XmlDoc for which error occurred (AddToRecordError class)

[Introduced in Sirius Mods 7.8]

Syntax

%xmlNodeType = addToRecordError:NodeType

Syntax terms

%xmlNodeType A XmlNodeType enumeration to receive the type of a node in AddToRecord's method object XmlDoc. If the error involves a node in the XmlDoc (for example, if Reason = InvalidNode).
addToRecordError An AddToRecordError object.

See also