pub type xmlDoc = _xmlDoc;Expand description
XML or HTML document
Aliased Type§
#[repr(C)]pub struct xmlDoc {Show 24 fields
pub _private: *mut c_void,
pub type_: u32,
pub name: *mut i8,
pub children: *mut _xmlNode,
pub last: *mut _xmlNode,
pub parent: *mut _xmlNode,
pub next: *mut _xmlNode,
pub prev: *mut _xmlNode,
pub doc: *mut _xmlDoc,
pub compression: i32,
pub standalone: i32,
pub intSubset: *mut _xmlDtd,
pub extSubset: *mut _xmlDtd,
pub oldNs: *mut _xmlNs,
pub version: *mut u8,
pub encoding: *mut u8,
pub ids: *mut c_void,
pub refs: *mut c_void,
pub URL: *mut u8,
pub charset: i32,
pub dict: *mut _xmlDict,
pub psvi: *mut c_void,
pub parseFlags: i32,
pub properties: i32,
}Fields§
§_private: *mut c_voidapplication data
type_: u32XML_DOCUMENT_NODE or XML_HTML_DOCUMENT_NODE
name: *mut i8NULL
children: *mut _xmlNodefirst child
last: *mut _xmlNodelast child
parent: *mut _xmlNodeparent node
next: *mut _xmlNodenext sibling
prev: *mut _xmlNodeprevious sibling
doc: *mut _xmlDocreference to itself
compression: i32level of zlib compression
standalone: i32standalone 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
intSubset: *mut _xmlDtdinternal subset
extSubset: *mut _xmlDtdexternal subset
oldNs: *mut _xmlNsused to hold the XML namespace if needed
version: *mut u8version string from XML declaration
encoding: *mut u8actual encoding if any
ids: *mut c_voidhash table for ID attributes if any
refs: *mut c_voidhash table for IDREFs attributes if any
URL: *mut u8URI of the document
charset: i32unused
dict: *mut _xmlDictdict used to allocate names if any
psvi: *mut c_voidfor type/PSVI information
parseFlags: i32xmlParserOption enum used to parse the document
properties: i32xmlDocProperties of the document