List of XmlDoc API methods: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
m 1 revision  | 
				m 1 revision  | 
				||
| Line 41: | Line 41: | ||
<tr><td valign="top">[[IsSelectionPrefix (XmlDoc function)|IsSelectionPrefix]]</td><td valign="top">XmlDoc</td><td valign="top">Check if prefix has XPath-selection association</td></tr>  | <tr><td valign="top">[[IsSelectionPrefix (XmlDoc function)|IsSelectionPrefix]]</td><td valign="top">XmlDoc</td><td valign="top">Check if prefix has XPath-selection association</td></tr>  | ||
<tr><td valign="top">[[IsValidString (XmlDoc function)|IsValidString]]</td><td valign="top">XmlDoc</td><td valign="top">Valid XML Element/Attribute value? (obsolete)</td></tr>  | <tr><td valign="top">[[IsValidString (XmlDoc function)|IsValidString]]</td><td valign="top">XmlDoc</td><td valign="top">Valid XML Element/Attribute value? (obsolete)</td></tr>  | ||
<tr><td valign="top">[[Item (XmlNodelist function)|Item]]</td><td valign="top">XmlNodelist</td><td valign="top">  | <tr><td valign="top">[[Item (XmlNodelist function)|Item]]</td><td valign="top">XmlNodelist</td><td valign="top">Retrieve an item from this nodelist</td></tr>  | ||
<tr><td valign="top">[[Length (XmlDoc/XmlNode function)|Length]]</td><td valign="top">XmlDoc/XmlNode</td><td valign="top">Length of string-value of selected node</td></tr>  | <tr><td valign="top">[[Length (XmlDoc/XmlNode function)|Length]]</td><td valign="top">XmlDoc/XmlNode</td><td valign="top">Length of string-value of selected node</td></tr>  | ||
<tr><td valign="top">[[LoadFromRecord (XmlDoc/XmlNode subroutine)|LoadFromRecord]]</td><td valign="top">XmlDoc/XmlNode</td><td valign="top">Load fields and fieldgroups from current record</td></tr>  | <tr><td valign="top">[[LoadFromRecord (XmlDoc/XmlNode subroutine)|LoadFromRecord]]</td><td valign="top">XmlDoc/XmlNode</td><td valign="top">Load fields and fieldgroups from current record</td></tr>  | ||
| Line 86: | Line 86: | ||
<tr><td valign="top">[[XmlDoc (XmlNodelist function)|XmlDoc]]</td><td valign="top">XmlNodelist</td><td valign="top">Get the XmlDoc associated with this nodelist</td></tr>  | <tr><td valign="top">[[XmlDoc (XmlNodelist function)|XmlDoc]]</td><td valign="top">XmlNodelist</td><td valign="top">Get the XmlDoc associated with this nodelist</td></tr>  | ||
<tr><td valign="top">[[XmlDocID (XmlDoc function)|XmlDocID]]</td><td valign="top">XmlDoc</td><td valign="top">Print the id of this XmlDoc</td></tr>  | <tr><td valign="top">[[XmlDocID (XmlDoc function)|XmlDocID]]</td><td valign="top">XmlDoc</td><td valign="top">Print the id of this XmlDoc</td></tr>  | ||
</table>  | |||
==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]]  | |||
</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>  | </table>  | ||
Revision as of 17:40, 25 January 2011
The following are the available XmlDoc API methods.
| Method | Class | Description | 
|---|---|---|
| AddAttribute | XmlNode | Add an attribute | 
| AddComment | XmlDoc/XmlNode | Add Comment to XmlDoc Root or to Element XmlNode | 
| AddElement | XmlDoc/XmlNode | Add Element to XmlDoc Root or to Element XmlNode | 
| AddNamespace | XmlNode | Add a namespace declaration | 
| AddPI | XmlDoc/XmlNode | Add Processing Instruction to XmlDoc Root or to Element XmlNode | 
| AddSubtree | XmlDoc/XmlNode | Copy subtree to XmlDoc Root or to Element XmlNode | 
| AddText | XmlNode | Add a text child element | 
| AddToRecord | XmlDoc | Add to the current record | 
| AddTopElement | XmlDoc | Add a new top element | 
| AdjacentText | XmlDoc | Are adjacent text nodes allowed? | 
| AllowNull | XmlDoc | Allow null characters in node values? | 
| AllowXmlElement | XmlDoc | May Element names begin with "xml"? | 
| AppendValue | XmlNode | Append a value to the child text element | 
| Audit | XmlDoc/XmlNode | Display selected subtree on audit trail | 
| ClientCertificate | XmlDoc | Create a client certificate XmlDoc | 
| Copy | XmlDoc | Copy this XmlDoc | 
| Count | XmlNodelist | Number of nodes in this list | 
| Debug | XmlDoc | Debug information | 
| Debug | XmlNodelist | Debug information | 
| DeepCopy | XmlDoc | Deep copy this XmlDoc | 
| DeepCopy | XmlNode | Deep copy this node | 
| DefaultURI | XmlDoc/XmlNode | Default URI in scope at selected node | 
| DeleteSelectionPrefix | XmlDoc | Delete prefix XPath-selection association | 
| DeleteSubtree | XmlDoc/XmlNode | Delete selected subtree | 
| DeleteTopElement | XmlDoc | Delete the top element | 
| Difference | XmlNodelist | Difference between XmlNodelists | 
| Encoding | XmlDoc | Encode this XmlDoc object | 
| Exists | XmlDoc/XmlNode | Is XPath result non-empty? | 
| InsertCommentBefore | XmlNode | Insert a comment before this node | 
| InsertElementBefore | XmlNode | Insert an element before this node | 
| InsertPIBefore | XmlNode | Insert a processing instruction before this node | 
| InsertSubtreeBefore | XmlNode | Insert an XmlDoc subtree before this node | 
| InsertTextBefore | XmlNode | Insert text before this node | 
| InvalidChar | XmlDoc | Allow invalid characters (obsolete) | 
| InvalidCharacterPosition | XmlDoc | Detect invalid characters | 
| IsSelectionPrefix | XmlDoc | Check if prefix has XPath-selection association | 
| IsValidString | XmlDoc | Valid XML Element/Attribute value? (obsolete) | 
| Item | XmlNodelist | Retrieve an item from this nodelist | 
| Length | XmlDoc/XmlNode | Length of string-value of selected node | 
| LoadFromRecord | XmlDoc/XmlNode | Load fields and fieldgroups from current record | 
| LoadFromStringlist | XmlDoc/XmlNode | (Obsolete) | 
| LoadParameterInfo | XmlDoc | Load parameter info into this XmlDoc | 
| LoadSystemMethodInfo | XmlDoc | Load info about system methods into this XmlDoc | 
| LoadXml | XmlDoc/XmlNode | Deserialize text string into XmlDoc Root or into Element XmlNode | 
| LocalName | XmlDoc/XmlNode | Name (without prefix) of selected node | 
| Namespace | XmlDoc | (Dis)allow or disable prefix handling | 
| New | XmlDoc | Create a new XmlDoc object | 
| New | XmlNodelist | Create a new XmlNodelist | 
| NewFromRecord | XmlDoc | Create a new XmlDoc from the current record | 
| Next | XmlNode | Get the next node of the parent | 
| NoEmptyElement | XmlNode | (Dis)allow empty-element tags for childless nodes in serialization | 
| NodelistID | XmlNodelist | ID of this XmlNodelist | 
| Prefix | XmlDoc/XmlNode | Prefix part of name of selected node | 
| PrefixURI | XmlDoc/XmlNode | URI of specified prefix in context of selected node | 
| Previous | XmlNode | Get the previous node of the parent | 
| XmlDoc/XmlNode | Print selected subtree | |
| PrintSchema | XmlDoc | Print this XmlDoc schema | 
| QName | XmlDoc/XmlNode | Name (with prefix, if any) of selected node | 
| SelectCount | XmlDoc/XmlNode | Number of selected nodes | 
| SelectNodes | XmlDoc/XmlNode | Get list of selected nodes as XmlNodelist | 
| SelectSingleNode | XmlDoc/XmlNode | Get selected node as XmlNode | 
| SelectionNamespace | XmlDoc | Bind prefix to URI (or null) for XPath | 
| Serial | XmlDoc/XmlNode | Serialize selected subtree as string | 
| Standalone | XmlDoc | Standalone specification in "XML declaration" | 
| ToXPathString | XmlDoc/XmlNode | XPath expression for selected node | 
| ToXPathStringlist | XmlDoc/XmlNode | XPath expression for selected node | 
| Trace | XmlDoc/XmlNode | Display selected subtree on Trace stream | 
| Type | XmlDoc/XmlNode | Type of selected node | 
| URI | XmlDoc/XmlNode | Namespace URI of name of selected node | 
| UnionSelected | XmlNodelist | Union of XmlNodelist and selected nodes | 
| Validate | XmlDoc/XmlNode | Validate substring against longstring schema | 
| Value | XmlDoc/XmlNode | String-value of selected node | 
| ValueDefault | XmlDoc/XmlNode | String-value of selected node (allow empty XPath) | 
| Version | XmlDoc | Version number in "XML declaration" | 
| WebReceive | XmlDoc | Deserialize Web request into XmlDoc | 
| WebSend | XmlDoc | Serialize XmlDoc as Web response | 
| XPathNodeID | XmlDoc/XmlNode | XPath expression for selected node | 
| XPathSingleHint | XmlDoc | |
| Xml | XmlDoc | Serialize XmlDoc as UTF-8 string | 
| XmlDoc | XmlNode | Get the XmlDoc associated with this node | 
| XmlDoc | XmlNodelist | Get the XmlDoc associated with this nodelist | 
| XmlDocID | XmlDoc | Print the id of this XmlDoc |