⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 libxml-tree.html

📁 xml开源解析代码.版本为libxml2-2.6.29,可支持GB3212.网络消息发送XML时很有用.
💻 HTML
📖 第 1 页 / 共 5 页
字号:
    struct _xmlNode *	last	: NULL    struct _xmlNode *	parent	: child-&gt;parent link    struct _xmlAttr *	next	: next sibling link    struct _xmlAttr *	prev	: previous sibling link    struct _xmlDoc *	doc	: the containing document    <a href="libxml-tree.html#xmlNs">xmlNs</a> *	ns	: pointer to the associated namespace    <a href="libxml-tree.html#xmlAttributeType">xmlAttributeType</a>	atype	: the <a href="libxml-SAX.html#attribute">attribute</a> type if validating    void *	psvi	: for type/PSVI informations}</pre><h3><a name="xmlAttribute" id="xmlAttribute">Structure xmlAttribute</a></h3><pre class="programlisting">Structure xmlAttribute<br />struct _xmlAttribute {    void *	_private	: application data    <a href="libxml-tree.html#xmlElementType">xmlElementType</a>	type	: XML_ATTRIBUTE_DECL, must be second !    const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> *	name	: Attribute name    struct _xmlNode *	children	: NULL    struct _xmlNode *	last	: NULL    struct _xmlDtd *	parent	: -&gt; DTD    struct _xmlNode *	next	: next sibling link    struct _xmlNode *	prev	: previous sibling link    struct _xmlDoc *	doc	: the containing document    struct _xmlAttribute *	nexth	: next in hash table    <a href="libxml-tree.html#xmlAttributeType">xmlAttributeType</a>	atype	: The <a href="libxml-SAX.html#attribute">attribute</a> type    <a href="libxml-tree.html#xmlAttributeDefault">xmlAttributeDefault</a>	def	: the default    const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> *	defaultValue	: or the default value    <a href="libxml-tree.html#xmlEnumerationPtr">xmlEnumerationPtr</a>	tree	: or the enumeration tree if any    const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> *	prefix	: the namespace prefix if any    const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> *	elem	: Element holding the <a href="libxml-SAX.html#attribute">attribute</a>}</pre><h3>Enum <a name="xmlAttributeDefault" id="xmlAttributeDefault">xmlAttributeDefault</a></h3><pre class="programlisting">Enum xmlAttributeDefault {    <a name="XML_ATTRIBUTE_NONE" id="XML_ATTRIBUTE_NONE">XML_ATTRIBUTE_NONE</a> = 1    <a name="XML_ATTRIBUTE_REQUIRED" id="XML_ATTRIBUTE_REQUIRED">XML_ATTRIBUTE_REQUIRED</a> = 2    <a name="XML_ATTRIBUTE_IMPLIED" id="XML_ATTRIBUTE_IMPLIED">XML_ATTRIBUTE_IMPLIED</a> = 3    <a name="XML_ATTRIBUTE_FIXED" id="XML_ATTRIBUTE_FIXED">XML_ATTRIBUTE_FIXED</a> = 4}</pre><h3>Enum <a name="xmlAttributeType" id="xmlAttributeType">xmlAttributeType</a></h3><pre class="programlisting">Enum xmlAttributeType {    <a name="XML_ATTRIBUTE_CDATA" id="XML_ATTRIBUTE_CDATA">XML_ATTRIBUTE_CDATA</a> = 1    <a name="XML_ATTRIBUTE_ID" id="XML_ATTRIBUTE_ID">XML_ATTRIBUTE_ID</a> = 2    <a name="XML_ATTRIBUTE_IDREF" id="XML_ATTRIBUTE_IDREF">XML_ATTRIBUTE_IDREF</a> = 3    <a name="XML_ATTRIBUTE_IDREFS" id="XML_ATTRIBUTE_IDREFS">XML_ATTRIBUTE_IDREFS</a> = 4    <a name="XML_ATTRIBUTE_ENTITY" id="XML_ATTRIBUTE_ENTITY">XML_ATTRIBUTE_ENTITY</a> = 5    <a name="XML_ATTRIBUTE_ENTITIES" id="XML_ATTRIBUTE_ENTITIES">XML_ATTRIBUTE_ENTITIES</a> = 6    <a name="XML_ATTRIBUTE_NMTOKEN" id="XML_ATTRIBUTE_NMTOKEN">XML_ATTRIBUTE_NMTOKEN</a> = 7    <a name="XML_ATTRIBUTE_NMTOKENS" id="XML_ATTRIBUTE_NMTOKENS">XML_ATTRIBUTE_NMTOKENS</a> = 8    <a name="XML_ATTRIBUTE_ENUMERATION" id="XML_ATTRIBUTE_ENUMERATION">XML_ATTRIBUTE_ENUMERATION</a> = 9    <a name="XML_ATTRIBUTE_NOTATION" id="XML_ATTRIBUTE_NOTATION">XML_ATTRIBUTE_NOTATION</a> = 10}</pre><h3><a name="xmlBuffer" id="xmlBuffer">Structure xmlBuffer</a></h3><pre class="programlisting">Structure xmlBuffer<br />struct _xmlBuffer {    <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> *	content	: The buffer content UTF8    unsigned int	use	: The buffer size used    unsigned int	size	: The buffer size    <a href="libxml-tree.html#xmlBufferAllocationScheme">xmlBufferAllocationScheme</a>	alloc	: The realloc method}</pre><h3>Enum <a name="xmlBufferAllocationScheme" id="xmlBufferAllocationScheme">xmlBufferAllocationScheme</a></h3><pre class="programlisting">Enum xmlBufferAllocationScheme {    <a name="XML_BUFFER_ALLOC_DOUBLEIT" id="XML_BUFFER_ALLOC_DOUBLEIT">XML_BUFFER_ALLOC_DOUBLEIT</a> = 1    <a name="XML_BUFFER_ALLOC_EXACT" id="XML_BUFFER_ALLOC_EXACT">XML_BUFFER_ALLOC_EXACT</a> = 2    <a name="XML_BUFFER_ALLOC_IMMUTABLE" id="XML_BUFFER_ALLOC_IMMUTABLE">XML_BUFFER_ALLOC_IMMUTABLE</a> = 3}</pre><h3><a name="xmlDOMWrapCtxt" id="xmlDOMWrapCtxt">Structure xmlDOMWrapCtxt</a></h3><pre class="programlisting">Structure xmlDOMWrapCtxt<br />struct _xmlDOMWrapCtxt {    void *	_private	: * The type of this context, just in case    int	type	: * Internal namespace map used for variou    void *	namespaceMap	: * Use this one to acquire an <a href="libxml-tree.html#xmlNsPtr">xmlNsPtr</a> in    <a href="libxml-tree.html#xmlDOMWrapAcquireNsFunction">xmlDOMWrapAcquireNsFunction</a>	getNsForNodeFunc}</pre><h3><a name="xmlDoc" id="xmlDoc">Structure xmlDoc</a></h3><pre class="programlisting">Structure xmlDoc<br />struct _xmlDoc {    void *	_private	: application data    <a href="libxml-tree.html#xmlElementType">xmlElementType</a>	type	: XML_DOCUMENT_NODE, must be second !    char *	name	: name/filename/URI of the document    struct _xmlNode *	children	: the document tree    struct _xmlNode *	last	: last child link    struct _xmlNode *	parent	: child-&gt;parent link    struct _xmlNode *	next	: next sibling link    struct _xmlNode *	prev	: previous sibling link    struct _xmlDoc *	doc	: autoreference to itself End of common p    int	compression	: level of zlib compression    int	standalone	: standalone document (no external refs)    struct _xmlDtd *	intSubset	: the document internal subset    struct _xmlDtd *	extSubset	: the document external subset    struct _xmlNs *	oldNs	: Global namespace, the old way    const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> *	version	: the XML version string    const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> *	encoding	: external initial encoding, if any    void *	ids	: Hash table for ID attributes if any    void *	refs	: Hash table for IDREFs attributes if any

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -