Representation of XML documents.
More...
Representation of XML documents.
◆ ElementVector
Vector of constant elements.
◆ MergeAttributes
How to process attributes when merging XML elements. In the merge process, there a main element and a secondary element which is merged into the main. These declarations describe what to do when merging two elements with same tag.
- See also
- Element::merge()
| Enumerator |
|---|
| NONE | Ignore attributes in the secondary element.
|
| ADD | Add attributes from the secondary element which are not already present in the main element.
|
| REPLACE | Unconditionally copy attributes from the secondary element into the main.
|
◆ DEFAULT_MAX_NESTED
| size_t ts::xml::DEFAULT_MAX_NESTED = 256 |
|
staticconstexpr |
Specify the default maximum number of nested levels of elements. Higher numbers of nested levels may put pressure on the thread stack size.
◆ UNLIMITED
| size_t ts::xml::UNLIMITED = std::numeric_limits<size_t>::max() |
|
staticconstexpr |
Specify an unlimited number of elements or unlimited number of nested levels.