libxml2
Data Fields
_xmlDoc Struct Reference

An XML or HTML document. More...

Data Fields

void * _private
 application data
 
xmlElementType type
 XML_DOCUMENT_NODE or XML_HTML_DOCUMENT_NODE.
 
char * name
 NULL.
 
struct _xmlNodechildren
 first child
 
struct _xmlNodelast
 last child
 
struct _xmlNodeparent
 parent node
 
struct _xmlNodenext
 next sibling
 
struct _xmlNodeprev
 previous sibling
 
struct _xmlDocdoc
 reference to itself
 
int compression
 level of zlib compression
 
int standalone
 standalone document (no external refs) More...
 
struct _xmlDtdintSubset
 internal subset
 
struct _xmlDtdextSubset
 external subset
 
struct _xmlNsoldNs
 used to hold the XML namespace if needed
 
xmlCharversion
 version string from XML declaration
 
xmlCharencoding
 actual encoding if any
 
void * ids
 hash table for ID attributes if any
 
void * refs
 hash table for IDREFs attributes if any
 
xmlCharURL
 URI of the document.
 
int charset
 unused
 
struct _xmlDict * dict
 dict used to allocate names if any
 
void * psvi
 for type/PSVI information
 
int parseFlags
 xmlParserOption enum used to parse the document
 
int properties
 xmlDocProperties of the document
 

Detailed Description

An XML or HTML document.

Field Documentation

int standalone

standalone document (no external refs)

  • 1 if standalone="yes",
  • 0 if standalone="no",
  • -1 if there is no XML declaration,
  • -2 if there is an XML declaration, but no standalone attribute was specified

The documentation for this struct was generated from the following file: