libgpac
Documentation of the core library of GPAC
|
XML Parsing functions. More...
Modules | |
SAX Parsing | |
DOM Parsing | |
XML Binary Formatting | |
Data Structures | |
struct | GF_XMLAttribute |
struct | GF_XMLNode |
Enumerations | |
enum | { GF_XML_NODE_TYPE = 0 , GF_XML_TEXT_TYPE , GF_XML_CDATA_TYPE } |
This section documents the XML functions (full doc parsing and SAX parsing) of the GPAC framework.
struct GF_XMLAttribute |
struct GF_XMLNode |
Structure containing a parsed XML node
Data Fields | ||
---|---|---|
u32 | type |
Type of the node |
char * | name |
For DOM nodes: name For other (text, css, cdata), element content |
char * | ns |
namespace of the node, for XML node type only |
GF_List * | attributes |
list of attributes of the node, for XML node type only - can be NULL if no attributes |
GF_List * | content |
list of children nodes of the node, for XML node type only - can be NULL if no content |
u16 | orig_pos |
original pos in parent (used for DASH MPD) |
u16 | valid_content |
set to 1 if content comes from an existing XML and character checking should be skipped |