List of XmlDoc/XmlNode methods: Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
m (Automatically generated page update) |
||
(7 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: | The following are the available <var>[[XmlDoc/XmlNode class|XmlDoc/XmlNode]]</var> class methods. | ||
{{Template:Method list header|class=XmlDoc/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>[[AddComment (XmlDoc/XmlNode function)|AddComment]]</td><td>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>[[AddElement (XmlDoc/XmlNode function)|AddElement]]</td><td>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>[[AddPI (XmlDoc/XmlNode function)|AddPI]]</td><td>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>[[AddSubtree (XmlDoc/XmlNode function)|AddSubtree]]</td><td>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>[[Audit (XmlDoc/XmlNode subroutine)|Audit]]</td><td>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>[[DefaultURI (XmlDoc/XmlNode function)|DefaultURI]]</td><td>Default URI in scope at selected node</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>[[DeleteSubtree (XmlDoc/XmlNode subroutine)|DeleteSubtree]]</td><td>Delete selected subtree</td></tr> | <tr><td valign="top">[[DeleteSubtree (XmlDoc/XmlNode subroutine)|DeleteSubtree]]</td><td valign="top">Delete selected subtree</td></tr> | ||
<tr><td>[[Exists (XmlDoc/XmlNode function)|Exists]]</td><td>Is XPath result non-empty?</td></tr> | <tr><td valign="top">[[Exists (XmlDoc/XmlNode function)|Exists]]</td><td valign="top">Is XPath result non-empty?</td></tr> | ||
<tr><td>[[Length (XmlDoc/XmlNode function)|Length]]</td><td>Length of string-value of selected node</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>[[LoadFromRecord (XmlDoc/XmlNode subroutine)|LoadFromRecord]]</td><td>Load fields and fieldgroups from current record</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>[[LoadFromStringlist (XmlDoc/XmlNode function)|LoadFromStringlist]]</td><td>( | <tr><td valign="top">[[LoadFromStringlist (XmlDoc/XmlNode function)|LoadFromStringlist]]</td><td valign="top">Deserialize Stringlist into XmlDoc (obsolete)</td></tr> | ||
<tr><td>[[LoadXml (XmlDoc/XmlNode function)|LoadXml]]</td><td>Deserialize | <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>[[LocalName (XmlDoc/XmlNode function)|LocalName]]</td><td>Name (without prefix) of selected node</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>[[Prefix (XmlDoc/XmlNode function)|Prefix]]</td><td>Prefix part of name 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>[[PrefixURI (XmlDoc/XmlNode function)|PrefixURI]]</td><td>URI of specified prefix in context of selected node</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>[[Print (XmlDoc/XmlNode subroutine)|Print]]</td><td>Print selected subtree</td></tr> | <tr><td valign="top">[[Print (XmlDoc/XmlNode subroutine)|Print]]</td><td valign="top">Print selected subtree</td></tr> | ||
<tr><td>[[ | <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>[[SelectCount (XmlDoc/XmlNode function)|SelectCount]]</td><td>Number of selected nodes</td></tr> | <tr><td valign="top">[[SelectCount (XmlDoc/XmlNode function)|SelectCount]]</td><td valign="top">Number of selected nodes</td></tr> | ||
<tr><td>[[SelectNodes (XmlDoc/XmlNode function)|SelectNodes]]</td><td>Get list of selected nodes as XmlNodelist</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>[[SelectSingleNode (XmlDoc/XmlNode function)|SelectSingleNode]]</td><td>Get selected node as XmlNode</td></tr> | <tr><td valign="top">[[SelectSingleNode (XmlDoc/XmlNode function)|SelectSingleNode]]</td><td valign="top">Get selected node as XmlNode</td></tr> | ||
<tr><td>[[Serial (XmlDoc/XmlNode function)|Serial]]</td><td>Serialize selected subtree as string</td></tr> | <tr><td valign="top">[[Serial (XmlDoc/XmlNode function)|Serial]]</td><td valign="top">Serialize selected subtree as string</td></tr> | ||
<tr><td>[[ToXPathString (XmlDoc/XmlNode function)|ToXPathString]]</td><td>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>[[ToXPathStringlist (XmlDoc/XmlNode function)|ToXPathStringlist]]</td><td>XPath expression for selected node</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>[[Trace (XmlDoc/XmlNode subroutine)|Trace]]</td><td>Display selected subtree on Trace stream</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>[[Type (XmlDoc/XmlNode function)|Type]]</td><td>Type 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>[[URI (XmlDoc/XmlNode function)|URI]]</td><td>Namespace URI of name of selected node</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 | <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><td valign="top">String-value of selected node (allow empty XPath)</td></tr> | |||
<tr><td>[[ValueDefault (XmlDoc/XmlNode function)|ValueDefault]]</td><td>String-value of selected node (allow empty XPath)</td></tr> | <tr><td valign="top">[[XPathNodeID (XmlDoc/XmlNode function)|XPathNodeID]]</td><td valign="top">XPath expression (in Stringlist) for selected node</td></tr> | ||
<tr><td>[[XPathNodeID (XmlDoc/XmlNode function)|XPathNodeID]]</td><td>XPath expression 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 XmlNode 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 16:22, 11 July 2012
The following are the available XmlDoc/XmlNode class methods.
Method | Description |
---|---|
AddComment | Add Comment to XmlDoc Root or to Element XmlNode |
AddElement | Add Element to XmlDoc Root or to Element XmlNode |
AddPI | Add Processing Instruction to XmlDoc Root or to Element XmlNode |
AddSubtree | Copy subtree to XmlDoc Root or to Element XmlNode |
Audit | Display selected subtree on audit trail |
DefaultURI | Default URI in scope at selected node |
DeleteSubtree | Delete selected subtree |
Exists | Is XPath result non-empty? |
Length | Length of string-value of selected node |
LoadFromRecord | Load fields and fieldgroups from current record |
LoadFromStringlist | Deserialize Stringlist into XmlDoc (obsolete) |
LoadXml | Deserialize XML document or fragment into XmlDoc Root or into Element XmlNode |
LocalName | Name (without prefix) of selected node |
Prefix | Prefix part of name of selected node |
PrefixURI | URI of specified prefix in context of selected node |
Print selected subtree | |
QName | Name (with prefix, if any) of selected node |
SelectCount | Number of selected nodes |
SelectNodes | Get list of selected nodes as XmlNodelist |
SelectSingleNode | Get selected node as XmlNode |
Serial | Serialize selected subtree as string |
ToXPathString | XPath expression for selected node |
ToXPathStringlist | XPath expression (in Stringlist) for selected node |
Trace | Display selected subtree on Trace stream |
Type | Type of selected node |
URI | Namespace URI of name of selected node |
Value | String-value of selected node |
ValueDefault | String-value of selected node (allow empty XPath) |
XPathNodeID | XPath expression (in Stringlist) for selected node |