class XmlAttrIterator
An iterator object that allows to iterate over a node's attributes and retrieve their names and values.
It also allows to add new attributes.
Methods
int GotoFirst () | Moves the iterator to the first attribute in the list. |
int GotoLast () | Moves the iterator to the last attribute in the list. |
int GotoNext () | Moves the iterator to the next attribute in the list. |
int GotoPrev () | Moves the iterator to the previous attribute in the list. |
Properties
string Name () | Returns the name of the iterator's current attribute. |
Name (const string) | Sets the name of the iterator's current attribute. |
int Valid () | Returns true if the iterator is valid. |
string Value () | Returns the value of the iterator's current attribute. |
Value (const string) | Sets the value of the iterator's current attribute. |
Reference
method int GotoFirst () |
Moves the iterator to the first attribute in the list. |
method int GotoLast () |
Moves the iterator to the last attribute in the list. |
method int GotoNext () |
Moves the iterator to the next attribute in the list. |
method int GotoPrev () |
Moves the iterator to the previous attribute in the list. |
accessor string Name () |
Returns the name of the iterator's current attribute. |
accessor Name (const string) |
Sets the name of the iterator's current attribute. |
accessor int Valid () |
Returns true if the iterator is valid. If this returns false, the iterator has stepped over the last attribute in the list. |
accessor string Value () |
Returns the value of the iterator's current attribute. |
accessor Value (const string) |
Sets the value of the iterator's current attribute. |