Modules | |
XML Node | |
Read Flags | |
#define | GWEN_XML_FLAGS_DEFAULT |
#define | GWEN_XML_FLAGS_HANDLE_HEADERS 0x1000 |
#define | GWEN_XML_FLAGS_HANDLE_OPEN_HTMLTAGS 0x0040 |
#define | GWEN_XML_FLAGS_IGNORE_DESCR 0x0200 |
#define | GWEN_XML_FLAGS_IGNORE_INCLUDE 0x0008 |
#define | GWEN_XML_FLAGS_INCLUDE_TO_TOPLEVEL 0x0004 |
#define | GWEN_XML_FLAGS_INDENT 0x0020 |
#define | GWEN_XML_FLAGS_KEEP_BLANKS 0x0400 |
#define | GWEN_XML_FLAGS_KEEP_CNTRL 0x0100 |
#define | GWEN_XML_FLAGS_NO_CONDENSE 0x0080 |
#define | GWEN_XML_FLAGS_READ_COMMENTS 0x0001 |
#define | GWEN_XML_FLAGS_SHARE_TOPLEVEL 0x0002 |
#define | GWEN_XML_FLAGS_SIMPLE 0x0800 |
#define | GWEN_XML_FLAGS_WRITE_COMMENTS 0x0010 |
Typedefs | |
typedef int(* | GWEN_XML_INCLUDE_FN )(GWEN_XMLNODE *n, const char *path, const char *file, GWEN_STRINGLIST *sl, GWEN_TYPE_UINT32 flags) |
typedef GWEN__XMLNODE | GWEN_XMLNODE |
Enumerations | |
enum | GWEN_XMLNODE_TYPE { GWEN_XMLNodeTypeTag = 0, GWEN_XMLNodeTypeData, GWEN_XMLNodeTypeComment } |
|
Value: combination of other flags resembling the default flags |
|
apply special treatment to toplevel header tags (such as <?xml>) |
|
Let the parser accept some HTML which are known to be unclosed (e.g. the tag "BR" in HTML tags is never closed). If not set a "BR" tag without a corresponding "/BR" will produce an error. |
|
If set then DESCR tags are ignored when reading XML files. |
|
if set then include tags/elements are treated as any other tag (i.e. no automatic file inclusion takes place. Instead the include tag is stored like any other tag would be). |
|
if set then the file given to the include tag/element are loaded to the root of the XML tree regardless of the tag's location. |
|
Indent lines according to node level when writing nodes. This increases the readability of the resulting file. |
|
|
|
If set then control characters (such as CR, LF) will not be removed from data. |
|
If set then data will not be condensed (e.g. multiple spaces will not be replaced by a single one). |
|
if set then comments are read. Otherwise they are ignored when reading a file |
|
if set then toplevel elements are shared across all files (even included ones, if the include tag/element appears in the top level) |
|
|
|
Also write comments when writing a node. |
|
|
|
The abstract type XMLNODE. Each node is one node in the document tree and can represent different things, see GWEN_XMLNODE_TYPE. |
|
The possible types of a GWEN_XMLNODE. |