List of XmlNode methods: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
(Automatically generated page update)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- This page was automatically generated and will be automatically
<!-- This page was automatically generated and will be automatically
     replaced, so any manual edits will be lost. You've been warned. -->
     replaced, so any manual edits will be lost. You've been warned. -->
{{Template:Method_list_header|class=XmlNode}}
The following are the available <var>[[XmlNode class|XmlNode]]</var> class methods.
{{Template:Method list header|class=XmlNode}}
<div class="showVisit">
<table class="wikitable">
<table class="wikitable">
<tr><th>Method</th><th>Description</th></tr>
<tr><th>Method</th><th>Description</th></tr>
<tr><td valign="top">[[AddAttribute (XmlNode function)|AddAttribute]]</td><tdvalign="top">Add an attribute</td></tr>
<tr><td valign="top">[[AddAttribute (XmlNode function)|AddAttribute]]</td><td valign="top">Add Attribute to Element node</td></tr>
<tr><td valign="top">[[AddComment (XmlDoc/XmlNode function)|AddComment]]</td><tdvalign="top">Add Comment to XmlDoc Root or to Element XmlNode</td></tr>
<tr><td valign="top">[[AddComment (XmlDoc/XmlNode function)|AddComment]]</td><td valign="top">Add Comment to XmlDoc Root or to Element XmlNode</td></tr>
<tr><td valign="top">[[AddElement (XmlDoc/XmlNode function)|AddElement]]</td><tdvalign="top">Add Element to XmlDoc Root or to Element XmlNode</td></tr>
<tr><td valign="top">[[AddElement (XmlDoc/XmlNode function)|AddElement]]</td><td valign="top">Add Element to XmlDoc Root or to Element XmlNode</td></tr>
<tr><td valign="top">[[AddNamespace (XmlNode subroutine)|AddNamespace]]</td><tdvalign="top">Add a namespace declaration</td></tr>
<tr><td valign="top">[[AddNamespace (XmlNode subroutine)|AddNamespace]]</td><td valign="top">Add namespace declaration to Element node</td></tr>
<tr><td valign="top">[[AddPI (XmlDoc/XmlNode function)|AddPI]]</td><tdvalign="top">Add Processing Instruction to XmlDoc Root or to Element XmlNode</td></tr>
<tr><td valign="top">[[AddPI (XmlDoc/XmlNode function)|AddPI]]</td><td valign="top">Add Processing Instruction to XmlDoc Root or to Element XmlNode</td></tr>
<tr><td valign="top">[[AddSubtree (XmlDoc/XmlNode function)|AddSubtree]]</td><tdvalign="top">Copy subtree to XmlDoc Root or to Element XmlNode</td></tr>
<tr><td valign="top">[[AddSubtree (XmlDoc/XmlNode function)|AddSubtree]]</td><td valign="top">Copy subtree to XmlDoc Root or to Element XmlNode</td></tr>
<tr><td valign="top">[[AddText (XmlNode function)|AddText]]</td><tdvalign="top">Add a text child element</td></tr>
<tr><td valign="top">[[AddText (XmlNode function)|AddText]]</td><td valign="top">Add Text child to Element node</td></tr>
<tr><td valign="top">[[AppendValue (XmlNode subroutine)|AppendValue]]</td><tdvalign="top">Append a value to the child text element</td></tr>
<tr><td valign="top">[[AppendValue (XmlNode subroutine)|AppendValue]]</td><td valign="top">Append to value of node</td></tr>
<tr><td valign="top">[[Audit (XmlDoc/XmlNode subroutine)|Audit]]</td><tdvalign="top">Display selected subtree on audit trail</td></tr>
<tr><td valign="top">[[Audit (XmlDoc/XmlNode subroutine)|Audit]]</td><td valign="top">Display selected subtree on audit trail</td></tr>
<tr><td valign="top">[[DeepCopy (XmlNode function)|DeepCopy]]</td><tdvalign="top">Deep copy this node</td></tr>
<tr><td valign="top">[[DeepCopy (XmlNode function)|DeepCopy]]</td><td valign="top">Deep copy this node</td></tr>
<tr><td valign="top">[[DefaultURI (XmlDoc/XmlNode function)|DefaultURI]]</td><tdvalign="top">Default URI in scope at selected node</td></tr>
<tr><td valign="top">[[DeepDiscard (XmlNode subroutine)|DeepDiscard]]</td><td valign="top">Do deep discard of an XmlNode object</td></tr>
<tr><td valign="top">[[DeleteSubtree (XmlDoc/XmlNode subroutine)|DeleteSubtree]]</td><tdvalign="top">Delete selected subtree</td></tr>
<tr><td valign="top">[[DefaultURI (XmlDoc/XmlNode function)|DefaultURI]]</td><td valign="top">Default URI in scope at selected node</td></tr>
<tr><td valign="top">[[Exists (XmlDoc/XmlNode function)|Exists]]</td><tdvalign="top">Is XPath result non-empty?</td></tr>
<tr><td valign="top">[[DeleteSubtree (XmlDoc/XmlNode subroutine)|DeleteSubtree]]</td><td valign="top">Delete selected subtree</td></tr>
<tr><td valign="top">[[InsertCommentBefore (XmlNode function)|InsertCommentBefore]]</td><tdvalign="top">Insert a comment before this node</td></tr>
<tr><td valign="top">[[Exists (XmlDoc/XmlNode function)|Exists]]</td><td valign="top">Is XPath result non-empty?</td></tr>
<tr><td valign="top">[[InsertElementBefore (XmlNode function)|InsertElementBefore]]</td><tdvalign="top">Insert an element before this node</td></tr>
<tr><td valign="top">[[InsertCommentBefore (XmlNode function)|InsertCommentBefore]]</td><td valign="top">Insert a Comment before this node</td></tr>
<tr><td valign="top">[[InsertPIBefore (XmlNode function)|InsertPIBefore]]</td><tdvalign="top">Insert a processing instruction before this node</td></tr>
<tr><td valign="top">[[InsertElementBefore (XmlNode function)|InsertElementBefore]]</td><td valign="top">Insert an Element before this node</td></tr>
<tr><td valign="top">[[InsertSubtreeBefore (XmlNode function)|InsertSubtreeBefore]]</td><tdvalign="top">Insert an XmlDoc subtree before this node</td></tr>
<tr><td valign="top">[[InsertPIBefore (XmlNode function)|InsertPIBefore]]</td><td valign="top">Insert a processing instruction before this node</td></tr>
<tr><td valign="top">[[InsertTextBefore (XmlNode function)|InsertTextBefore]]</td><tdvalign="top">Insert text before this node</td></tr>
<tr><td valign="top">[[InsertSubtreeBefore (XmlNode function)|InsertSubtreeBefore]]</td><td valign="top">Insert copy of subtree before this node</td></tr>
<tr><td valign="top">[[Length (XmlDoc/XmlNode function)|Length]]</td><tdvalign="top">Length of string-value of selected node</td></tr>
<tr><td valign="top">[[InsertTextBefore (XmlNode function)|InsertTextBefore]]</td><td valign="top">Insert Text node before this node</td></tr>
<tr><td valign="top">[[LoadFromRecord (XmlDoc/XmlNode subroutine)|LoadFromRecord]]</td><tdvalign="top">Load fields and fieldgroups from current record</td></tr>
<tr><td valign="top">[[Length (XmlDoc/XmlNode function)|Length]]</td><td valign="top">Length of string-value of selected node</td></tr>
<tr><td valign="top">[[LoadFromStringlist (XmlDoc/XmlNode function)|LoadFromStringlist]]</td><tdvalign="top">(Obsolete)</td></tr>
<tr><td valign="top">[[LoadFromRecord (XmlDoc/XmlNode subroutine)|LoadFromRecord]]</td><td valign="top">Load fields and fieldgroups from current record</td></tr>
<tr><td valign="top">[[LoadXml (XmlDoc/XmlNode function)|LoadXml]]</td><tdvalign="top">Deserialize text string into XmlDoc Root or into Element XmlNode</td></tr>
<tr><td valign="top">[[LoadFromStringlist (XmlDoc/XmlNode function)|LoadFromStringlist]]</td><td valign="top">Deserialize Stringlist into XmlDoc (obsolete)</td></tr>
<tr><td valign="top">[[LocalName (XmlDoc/XmlNode function)|LocalName]]</td><tdvalign="top">Name (without prefix) of selected node</td></tr>
<tr><td valign="top">[[LoadXml (XmlDoc/XmlNode function)|LoadXml]]</td><td valign="top">Deserialize XML document or fragment into XmlDoc Root or into Element XmlNode</td></tr>
<tr><td valign="top">[[Next (XmlNode function)|Next]]</td><tdvalign="top">Get the next node of the parent</td></tr>
<tr><td valign="top">[[LocalName (XmlDoc/XmlNode function)|LocalName]]</td><td valign="top">Name (without prefix) of selected node</td></tr>
<tr><td valign="top">[[NoEmptyElement (XmlNode property)|NoEmptyElement]]</td><tdvalign="top">(Dis)allow empty-element tags for childless nodes in serialization</td></tr>
<tr><td valign="top">[[Next (XmlNode function)|Next]]</td><td valign="top">Get the next node after this node</td></tr>
<tr><td valign="top">[[Prefix (XmlDoc/XmlNode function)|Prefix]]</td><tdvalign="top">Prefix part of name of selected node</td></tr>
<tr><td valign="top">[[NoEmptyElement (XmlNode property)|NoEmptyElement]]</td><td valign="top">Suppress/produce empty tag when serializing this Element, if childless</td></tr>
<tr><td valign="top">[[PrefixURI (XmlDoc/XmlNode function)|PrefixURI]]</td><tdvalign="top">URI of specified prefix in context of selected node</td></tr>
<tr><td valign="top">[[Prefix (XmlDoc/XmlNode function)|Prefix]]</td><td valign="top">Prefix part of name of selected node</td></tr>
<tr><td valign="top">[[Previous (XmlNode function)|Previous]]</td><tdvalign="top">Get the previous node of the parent</td></tr>
<tr><td valign="top">[[PrefixURI (XmlDoc/XmlNode function)|PrefixURI]]</td><td valign="top">URI of specified prefix in context of selected node</td></tr>
<tr><td valign="top">[[Print (XmlDoc/XmlNode subroutine)|Print]]</td><tdvalign="top">Print selected subtree</td></tr>
<tr><td valign="top">[[Previous (XmlNode function)|Previous]]</td><td valign="top">Get node previous to this node</td></tr>
<tr><td valign="top">[[Qname (XmlDoc/XmlNode function)|Qname]]</td><tdvalign="top">Name (with prefix, if any) of selected node</td></tr>
<tr><td valign="top">[[Print (XmlDoc/XmlNode subroutine)|Print]]</td><td valign="top">Print selected subtree</td></tr>
<tr><td valign="top">[[SelectCount (XmlDoc/XmlNode function)|SelectCount]]</td><tdvalign="top">Number of selected nodes</td></tr>
<tr><td valign="top">[[QName (XmlDoc/XmlNode function)|QName]]</td><td valign="top">Name (with prefix, if any) of selected node</td></tr>
<tr><td valign="top">[[SelectNodes (XmlDoc/XmlNode function)|SelectNodes]]</td><tdvalign="top">Get list of selected nodes as XmlNodelist</td></tr>
<tr><td valign="top">[[SelectCount (XmlDoc/XmlNode function)|SelectCount]]</td><td valign="top">Number of selected nodes</td></tr>
<tr><td valign="top">[[SelectSingleNode (XmlDoc/XmlNode function)|SelectSingleNode]]</td><tdvalign="top">Get selected node as XmlNode</td></tr>
<tr><td valign="top">[[SelectNodes (XmlDoc/XmlNode function)|SelectNodes]]</td><td valign="top">Get list of selected nodes as XmlNodelist</td></tr>
<tr><td valign="top">[[Serial (XmlDoc/XmlNode function)|Serial]]</td><tdvalign="top">Serialize selected subtree as string</td></tr>
<tr><td valign="top">[[SelectSingleNode (XmlDoc/XmlNode function)|SelectSingleNode]]</td><td valign="top">Get selected node as XmlNode</td></tr>
<tr><td valign="top">[[ToXPathString (XmlDoc/XmlNode function)|ToXPathString]]</td><tdvalign="top">XPath expression for selected node</td></tr>
<tr><td valign="top">[[Serial (XmlDoc/XmlNode function)|Serial]]</td><td valign="top">Serialize selected subtree as string</td></tr>
<tr><td valign="top">[[ToXPathStringlist (XmlDoc/XmlNode function)|ToXPathStringlist]]</td><tdvalign="top">XPath expression for selected node</td></tr>
<tr><td valign="top">[[ToXPathString (XmlDoc/XmlNode function)|ToXPathString]]</td><td valign="top">XPath expression for selected node</td></tr>
<tr><td valign="top">[[Trace (XmlDoc/XmlNode subroutine)|Trace]]</td><tdvalign="top">Display selected subtree on Trace stream</td></tr>
<tr><td valign="top">[[ToXPathStringlist (XmlDoc/XmlNode function)|ToXPathStringlist]]</td><td valign="top">XPath expression (in Stringlist) for selected node</td></tr>
<tr><td valign="top">[[Type (XmlDoc/XmlNode function)|Type]]</td><tdvalign="top">Type of selected node</td></tr>
<tr><td valign="top">[[Trace (XmlDoc/XmlNode subroutine)|Trace]]</td><td valign="top">Display selected subtree on Trace stream</td></tr>
<tr><td valign="top">[[URI (XmlDoc/XmlNode function)|URI]]</td><tdvalign="top">Namespace URI of name of selected node</td></tr>
<tr><td valign="top">[[Type (XmlDoc/XmlNode function)|Type]]</td><td valign="top">Type of selected node</td></tr>
<tr><td valign="top">[[Validate (XmlDoc/XmlNode function)|Validate]]</td><tdvalign="top">Validate substring against longstring schema</td></tr>
<tr><td valign="top">[[URI (XmlDoc/XmlNode function)|URI]]</td><td valign="top">Namespace URI of name of selected node</td></tr>
<tr><td valign="top">[[Value (XmlDoc/XmlNode property)|Value]]</td><tdvalign="top">String-value of selected node</td></tr>
<tr><td valign="top">[[Value (XmlDoc/XmlNode property)|Value]]</td><td valign="top">String-value of selected node</td></tr>
<tr><td valign="top">[[ValueDefault (XmlDoc/XmlNode function)|ValueDefault]]</td><tdvalign="top">String-value of selected node (allow empty XPath)</td></tr>
<tr><td valign="top">[[ValueDefault (XmlDoc/XmlNode function)|ValueDefault]]</td><td valign="top">String-value of selected node (allow empty XPath)</td></tr>
<tr><td valign="top">[[XPathNodeID (XmlDoc/XmlNode function)|XPathNodeID]]</td><tdvalign="top">XPath expression for selected node</td></tr>
<tr><td valign="top">[[XmlDoc (XmlNode function)|XmlDoc]]</td><td valign="top">Get the XmlDoc associated with this node</td></tr>
<tr><td valign="top">[[XmlDoc (XmlNode function)|XmlDoc]]</td><tdvalign="top">Get the XmlDoc associated with this node</td></tr>
<tr><td valign="top">[[XPathNodeID (XmlDoc/XmlNode function)|XPathNodeID]]</td><td valign="top">XPath expression (in Stringlist) for selected node</td></tr>
</table>
</table>
</div>
==See also==
<table class="list"><tr>
<td valign="top"><ul style="margin-top:0px;">
<li>[[XmlDoc class]]
<li>[[XmlNode class]]
<li>[[XmlNodelist class]]
</ul></td>
<td valign="top"><ul style="margin-top:0px;">
<li>[[List of XmlDoc methods]]
<li>[[List of XmlNodelist methods]]
<li>[[List of XmlDoc API methods]]
</ul></td>
<td valign="top"><ul style="margin-top:0px;">
<li>[[XmlDoc methods syntax]]
<li>[[XmlNode methods syntax]]
<li>[[XmlNodelist methods syntax]]
</ul></td>
</tr>
</table>
[[Category:Lists of methods]]

Latest revision as of 19:42, 11 May 2016

The following are the available XmlNode class methods.

MethodDescription
AddAttributeAdd Attribute to Element node
AddCommentAdd Comment to XmlDoc Root or to Element XmlNode
AddElementAdd Element to XmlDoc Root or to Element XmlNode
AddNamespaceAdd namespace declaration to Element node
AddPIAdd Processing Instruction to XmlDoc Root or to Element XmlNode
AddSubtreeCopy subtree to XmlDoc Root or to Element XmlNode
AddTextAdd Text child to Element node
AppendValueAppend to value of node
AuditDisplay selected subtree on audit trail
DeepCopyDeep copy this node
DeepDiscardDo deep discard of an XmlNode object
DefaultURIDefault URI in scope at selected node
DeleteSubtreeDelete selected subtree
ExistsIs XPath result non-empty?
InsertCommentBeforeInsert a Comment before this node
InsertElementBeforeInsert an Element before this node
InsertPIBeforeInsert a processing instruction before this node
InsertSubtreeBeforeInsert copy of subtree before this node
InsertTextBeforeInsert Text node before this node
LengthLength of string-value of selected node
LoadFromRecordLoad fields and fieldgroups from current record
LoadFromStringlistDeserialize Stringlist into XmlDoc (obsolete)
LoadXmlDeserialize XML document or fragment into XmlDoc Root or into Element XmlNode
LocalNameName (without prefix) of selected node
NextGet the next node after this node
NoEmptyElementSuppress/produce empty tag when serializing this Element, if childless
PrefixPrefix part of name of selected node
PrefixURIURI of specified prefix in context of selected node
PreviousGet node previous to this node
PrintPrint selected subtree
QNameName (with prefix, if any) of selected node
SelectCountNumber of selected nodes
SelectNodesGet list of selected nodes as XmlNodelist
SelectSingleNodeGet selected node as XmlNode
SerialSerialize selected subtree as string
ToXPathStringXPath expression for selected node
ToXPathStringlistXPath expression (in Stringlist) for selected node
TraceDisplay selected subtree on Trace stream
TypeType of selected node
URINamespace URI of name of selected node
ValueString-value of selected node
ValueDefaultString-value of selected node (allow empty XPath)
XmlDocGet the XmlDoc associated with this node
XPathNodeIDXPath expression (in Stringlist) for selected node

See also