libyang
1.0.253
YANG data modeling language library
|
Macros | |
#define | LYXML_PARSE_MULTIROOT 0x01 |
#define | LYXML_PARSE_NOMIXEDCONTENT 0x02 |
Various options to change behavior of XML read functions (lyxml_parse_*()).
#define LYXML_PARSE_MULTIROOT 0x01 |
By default, XML is supposed to be well-formed so the input file or memory chunk contains only a single XML tree. This option make parser to read multiple XML trees from a single source (regular file terminated by EOF or memory chunk terminated by NULL byte). In such a case, the returned XML element has other siblings representing the other XML trees from the source.