#include <xml_parser.h>
void add_attribute |
( |
xml_node_ptr |
parent, |
|
|
const char * |
name, |
|
|
const T & |
val |
|
) |
| |
|
inline |
Add an attribute to the given parent node
- Parameters
-
parent | parent of the node |
name | name of the node |
val | value of the node |
- Returns
- pointer to new node
Add a node to the document with a given parent
- Parameters
-
parent | parent of the node |
name | name of the node |
- Returns
- pointer to new node
Add a node to the document root
- Parameters
-
- Returns
- pointer to new node
Add a node to the document with a given parent
- Parameters
-
parent | parent of the node |
name | name of the node |
val | value of the node |
- Returns
- pointer to new node
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const xml_document & |
doc |
|
) |
| |
|
friend |
Write an XML document to the output stream
- Parameters
-
out | output stream |
doc | XML document |
- Returns
- output stream
The documentation for this class was generated from the following file: