|
void | NewDocument () |
| Creates a new Xml document. More...
|
|
void | NewDocument (string RootName) |
| Creates a new Xml document with a specified name of hte root element. More...
|
|
XmlNode | Discard () |
| Discards the newly created node and returns it if it exists. More...
|
|
XmlNode | SetAttribute (string name, string value) |
| Sets a named attribute of the currently treated node to a specific value. This only works if the currently treated node is an XML element. If an attribute with a specified name dose not yet exist then it is created, otherwise old value is overwritten. More...
|
|
XmlNode | RemoveAttribute (string name) |
| Removes the attribute with a specified name from the currently treated XML node, and returns this node or null if the operation was not successful (e.g. if the treated node is not defined or if the attribute with a specified name does not exist). This function does not report any errors. More...
|
|
XmlNode | SetValue (string value) |
| Sets value of the currently treated XML node. If the currently treated node is a text node then value is set directly. If the currently treated node is an element then value is set on its first chilld text node if such a node exists. If the element has no children, a text child node is created. More...
|
|
XmlNode | SetInnerText (string value) |
| Sets inner text of the currently treated XML node. More...
|
|
XmlNode | RemoveNode (XmlNode node) |
| Removes the specified node from the current XML document and returns that node. null is returned if the node can not be removed. CAUTION: Removing the node may destroy information about previous node and thus render the Back() operation impossible. It may also affect marks, which is not checked by any function but the BackMark() following removal may fail. More...
|
|
XmlNode | RemoveCurrent () |
| Removes the current node and returns the removed node or null if the operation does not succeed. The current node is moved to the next node and may become null if the current node was the last one in the given child list. More...
|
|
string | Attribute (string key) |
| Returns the value of the specified attribute of the current node. If the attribute does not exist then null is returned. More...
|
|
XmlNode | GetNode (string path) |
| Returns the first node that satisfies a given XPath expression relative to the root node. It does not report any errors (just returns null in case of errors) More...
|
|
XmlNode | GetRelative (string path) |
| Returns the first node that satisfies a given XPath expression relative to the current node. It does not report any errors. More...
|
|
XmlNode | GetNextNode (XmlNodeType NodeType, string NodeName, string NodeValue) |
| Moves the current node to the first sibling node after the current node that satisfies the specified conditions, and returns the current node. More...
|
|
XmlNode | GetNextNode (XmlNodeType NodeType, string NodeName) |
| Moves the current node to the first sibling node after the current node that satisfies the specified conditions, and returns the current node. More...
|
|
XmlNode | GetNextNode (XmlNodeType NodeType) |
| Moves the current node to the first sibling node after the current node that is of the specified type. More...
|
|
XmlNode | GetNextNode (string NodeName, string NodeValue) |
| Moves the current node to the first sibling node after the current node that satisfies the specified conditions, and returns the current node. Node type is not important. More...
|
|
XmlNode | GetNextNode (string NodeName) |
| Moves the current node to the first sibling node after the current node that satisfies the specified conditions, and returns the current node. Node type is not important. More...
|
|
XmlNode | GetNextOrCurrentNode (XmlNodeType NodeType, string NodeName, string NodeValue) |
| Moves the current node to the current or the first sibling node after the current node that satisfies the specified conditions, and returns the current node. More...
|
|
XmlNode | GetNextOrCurrentNode (XmlNodeType NodeType, string NodeName) |
| Moves the current node to the current or the first sibling node after the current node that satisfies the specified conditions, and returns the current node. More...
|
|
XmlNode | GetNextOrCurrentNode (XmlNodeType NodeType) |
| Moves the current node to the current or the first sibling node after the current node that is of the specified type. More...
|
|
XmlNode | GetNextOrCurrentNode (string NodeName, string NodeValue) |
| Moves the current node to the current or the first sibling node after the current node that satisfies the specified conditions, and returns the current node. Node type is not important. More...
|
|
XmlNode | GetNextOrCurrentNode (string NodeName) |
| Moves the current node to the current or the first sibling node after the current node that satisfies the specified conditions, and returns the current node. Node type is not important. More...
|
|
XmlNode | GetNextElement (string NodeName, string NodeValue) |
| Moves the current node to the first sibling node after the current node that satisfies the specified conditions, and returns the current node. More...
|
|
XmlNode | GetNextElement (string NodeName) |
| Moves the current node to the first sibling node after the current node that satisfies the specified conditions, and returns the current node. More...
|
|
XmlNode | GetNextElement () |
| Moves the current node to the first sibling element after the current node. More...
|
|
XmlNode | GetNextOrCurrentElement (string NodeName, string NodeValue) |
| Moves the current node to the current or the first sibling node after the current node that satisfies the specified conditions, and returns the current node. More...
|
|
XmlNode | GetNextOrCurrentElement (string NodeName) |
| Moves the current node to the current or the first sibling node after the current node that satisfies the specified conditions, and returns the current node. More...
|
|
XmlNode | GetNextOrCurrentElement () |
| Moves the current node to the current or the first sibling element after the current node. More...
|
|
void | SetMark (string name) |
| Marks the current state of the XmlParser and sets mark name to name. Position is stored on a stack such that previous stored positions can be restored, either in a reverse way. More...
|
|
void | SetMark () |
| Marks the current state of the XmlParser. The mark set is not named. Position is stored on a stack such that previous stored positions can be restored, either in a reverse way. More...
|
|
XmlNode | GoToMark (bool removemarks) |
| Restores the parser state to the state contained in the last mark. The current node after operation is returned, or null if there are no marks. If required then the last mark is removed from the list. More...
|
|
XmlNode | GoToMark (string name, bool removemarks) |
| Restores the parser state to the state contained in the last mark with the specified name. The current node after operation is returned, or null if there are no marks with such a name. If required then the targeted and all subsequent marks are removed from the list. More...
|
|
XmlNode | GoToMark () |
| Restores the parser state to the state contained in the last mark. The current node after operation is returned, or null if there are no marks. The last mark is LEFT on the list. More...
|
|
XmlNode | GoToMark (string name) |
| Restores the parser state to the state contained in the last mark with the specified name. The current node after operation is returned, or null if there are no marks with such a name. More...
|
|
XmlNode | BackToMark () |
| Restores the parser state to the state contained in the last mark, and REMOVES that mark. The current node after operation is returned, or null if there are no marks. More...
|
|
XmlNode | BackToMark (string name) |
| Restores the parser state to the state contained in the last mark with the specified name, and REMOVES all marks from that mark on (includively). The current node after operation is returned, or null if there are no marks with such a name. More...
|
|
XmlNode | RemoveMark () |
| Removes the last mark and returns its current node. Position is not affected. More...
|
|
XmlNode | RemoveMarks (string name) |
| Removes all marks from the last mark with the specified name on the list and returns the current node of the specified mark. Position is not affected. More...
|
|
XmlNode | Back () |
| Moves the current to the previous node, if that node exists. Only one step backwards is enabled. More...
|
|
XmlNode | MoveTo (XmlNode node) |
| Moves the current position to the specified node. More...
|
|
XmlNode | MoveTo (string path) |
| Moves the current position to the first node that satisfies the absolute path specified as an XPath string. More...
|
|
XmlNode | MoveRelative (string path) |
| Moves the current position to the first node that satisfies the relative path specified as an XPath string relative to the current node. More...
|
|
XmlNode | GoToParent () |
| Sets the current node to the parent node of the current node and returns it. This also works if the Current node is null because the advancing fell out of range or because StepIn was executed but there were no child _gridCoordinates of the current node. More...
|
|
XmlNode | GoToRoot () |
| Sets the current node to the root node of the current document and returns it. More...
|
|
XmlNode | GoToDocument () |
| Sets the current node to the root node of the current document and returns it. More...
|
|
XmlNode | StepIn () |
| Moves the current node to its first child node and returns the node. More...
|
|
XmlNode | StepOut () |
| Steps out of the current childnodes context and selects the next node of the parent as the current node. This also works if the Current node is null because the advancing fell out of range or because StepIn was executed but there were no child _gridCoordinates of the current node. More...
|
|
XmlNode | NextNode () |
| Sets the current node to the next sibling node, or to null if the next sibling node does not exist, and returns that node. More...
|
|
XmlNode | NextNodeConditional (XmlNodeType NodeType, string NodeName, string NodeValue, bool IncludeCurrent) |
| Moves the current node to the first sibling node of the current node that satisfies the specified conditions, and returns the current node. More...
|
|
XmlNode | NextNode (XmlNodeType NodeType, string NodeName, string NodeValue) |
| Moves the current node to the first sibling node after the current node that satisfies the specified conditions, and returns the current node. More...
|
|
XmlNode | NextNode (XmlNodeType NodeType, string NodeName) |
| Moves the current node to the first sibling node after the current node that satisfies the specified conditions, and returns the current node. More...
|
|
XmlNode | NextNode (XmlNodeType NodeType) |
| Moves the current node to the first sibling node after the current node that is of the specified type. More...
|
|
XmlNode | NextNode (string NodeName, string NodeValue) |
| Moves the current node to the first sibling node after the current node that satisfies the specified conditions, and returns the current node. Node type is not important. More...
|
|
XmlNode | NextNode (string NodeName) |
| Moves the current node to the first sibling node after the current node that satisfies the specified conditions, and returns the current node. Node type is not important. More...
|
|
XmlNode | NextOrCurrentNode (XmlNodeType NodeType, string NodeName, string NodeValue) |
| Moves the current node to the current or the first sibling node after the current node that satisfies the specified conditions, and returns the current node. More...
|
|
XmlNode | NextOrCurrentNode (XmlNodeType NodeType, string NodeName) |
| Moves the current node to the current or the first sibling node after the current node that satisfies the specified conditions, and returns the current node. More...
|
|
XmlNode | NextOrCurrentNode (XmlNodeType NodeType) |
| Moves the current node to the current or the first sibling node after the current node that is of the specified type. More...
|
|
XmlNode | NextOrCurrentNode (string NodeName, string NodeValue) |
| Moves the current node to the current or the first sibling node after the current node that satisfies the specified conditions, and returns the current node. Node type is not important. More...
|
|
XmlNode | NextOrCurrentNode (string NodeName) |
| Moves the current node to the current or the first sibling node after the current node that satisfies the specified conditions, and returns the current node. Node type is not important. More...
|
|
XmlNode | NextElement (string NodeName, string NodeValue) |
| Moves the current node to the first sibling node after the current node that satisfies the specified conditions, and returns the current node. More...
|
|
XmlNode | NextElement (string NodeName) |
| Moves the current node to the first sibling node after the current node that satisfies the specified conditions, and returns the current node. More...
|
|
XmlNode | NextElement () |
| Moves the current node to the first sibling element after the current node. More...
|
|
XmlNode | NextOrCurrentElement (string NodeName, string NodeValue) |
| Moves the current node to the current or the first sibling node after the current node that satisfies the specified conditions, and returns the current node. More...
|
|
XmlNode | NextOrCurrentElement (string NodeName) |
| Moves the current node to the current or the first sibling node after the current node that satisfies the specified conditions, and returns the current node. More...
|
|
XmlNode | NextOrCurrentElement () |
| Moves the current node to the current or the first sibling element after the current node. More...
|
|
virtual void | SetDocument (XmlDataDocument doc) |
|
virtual void | Load (string filename) |
|
virtual void | LoadXml (string docstr) |
|