C++
C#
VB
JScript
All

# xml_reference

Copyright (C) 2005 IENT-RWTH Aachen

Pseudo-reference of a XML node

|  | bidirectional_tree_node_reference<NodeType>

| xml_reference

|  | bidirectional_tree_node_reference<NodeType>

| xml_reference

Subclasses

xml_cast_reference

Remarks

This class is given back by non-const node access on xml_tree. Use it like a xml_node class.

Groups

Constructors
xml_reference | Builds an instance of the object
Assignment
operator= | Assignment Operator
Operators
operator() | Node access
operator[] | Node access
Operations
attributes | Attributes access
data | Data access
find | Searches the first node
find_name_if | Searches the first node which name satifies the predicate
name | Name access
push_back | Inserts after the last node

Example

    XMLTree xml;
    xml.push_back("root");
    XMLTree::reference x = xml.front();
    x.push_back("first");
    x.push_back("second");

See Also

xml_node