ReactOS  0.4.14-dev-50-g13bb5e2
tree.h File Reference
#include <stdio.h>
#include <limits.h>
#include <libxml/xmlversion.h>
#include <libxml/xmlstring.h>
#include <libxml/xmlregexp.h>
#include <libxml/xmlmemory.h>
Include dependency graph for tree.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _xmlBuffer
 
struct  _xmlNotation
 
struct  _xmlEnumeration
 
struct  _xmlAttribute
 
struct  _xmlElementContent
 
struct  _xmlElement
 
struct  _xmlNs
 
struct  _xmlDtd
 
struct  _xmlAttr
 
struct  _xmlID
 
struct  _xmlRef
 
struct  _xmlNode
 
struct  _xmlDoc
 
struct  _xmlDOMWrapCtxt
 

Macros

#define BASE_BUFFER_SIZE   4096
 
#define LIBXML2_NEW_BUFFER
 
#define XML_XML_NAMESPACE   (const xmlChar *) "http://www.w3.org/XML/1998/namespace"
 
#define XML_XML_ID   (const xmlChar *) "xml:id"
 
#define XML_LOCAL_NAMESPACE   XML_NAMESPACE_DECL
 
#define XML_GET_CONTENT(n)   ((n)->type == XML_ELEMENT_NODE ? NULL : (n)->content)
 
#define XML_GET_LINE(n)   (xmlGetLineNo(n))
 
#define xmlChildrenNode   children
 
#define xmlRootNode   children
 

Typedefs

typedef struct _xmlParserInputBuffer xmlParserInputBuffer
 
typedef xmlParserInputBufferxmlParserInputBufferPtr
 
typedef struct _xmlOutputBuffer xmlOutputBuffer
 
typedef xmlOutputBufferxmlOutputBufferPtr
 
typedef struct _xmlParserInput xmlParserInput
 
typedef xmlParserInputxmlParserInputPtr
 
typedef struct _xmlParserCtxt xmlParserCtxt
 
typedef xmlParserCtxtxmlParserCtxtPtr
 
typedef struct _xmlSAXLocator xmlSAXLocator
 
typedef xmlSAXLocatorxmlSAXLocatorPtr
 
typedef struct _xmlSAXHandler xmlSAXHandler
 
typedef xmlSAXHandlerxmlSAXHandlerPtr
 
typedef struct _xmlEntity xmlEntity
 
typedef xmlEntityxmlEntityPtr
 
typedef struct _xmlBuffer xmlBuffer
 
typedef xmlBufferxmlBufferPtr
 
typedef struct _xmlBuf xmlBuf
 
typedef xmlBufxmlBufPtr
 
typedef struct _xmlNotation xmlNotation
 
typedef xmlNotationxmlNotationPtr
 
typedef struct _xmlEnumeration xmlEnumeration
 
typedef xmlEnumerationxmlEnumerationPtr
 
typedef struct _xmlAttribute xmlAttribute
 
typedef xmlAttributexmlAttributePtr
 
typedef struct _xmlElementContent xmlElementContent
 
typedef xmlElementContentxmlElementContentPtr
 
typedef struct _xmlElement xmlElement
 
typedef xmlElementxmlElementPtr
 
typedef xmlElementType xmlNsType
 
typedef struct _xmlNs xmlNs
 
typedef xmlNsxmlNsPtr
 
typedef struct _xmlDtd xmlDtd
 
typedef xmlDtdxmlDtdPtr
 
typedef struct _xmlAttr xmlAttr
 
typedef xmlAttrxmlAttrPtr
 
typedef struct _xmlID xmlID
 
typedef xmlIDxmlIDPtr
 
typedef struct _xmlRef xmlRef
 
typedef xmlRefxmlRefPtr
 
typedef struct _xmlNode xmlNode
 
typedef xmlNodexmlNodePtr
 
typedef struct _xmlDoc xmlDoc
 
typedef xmlDocxmlDocPtr
 
typedef struct _xmlDOMWrapCtxt xmlDOMWrapCtxt
 
typedef xmlDOMWrapCtxtxmlDOMWrapCtxtPtr
 
typedef xmlNsPtr(* xmlDOMWrapAcquireNsFunction) (xmlDOMWrapCtxtPtr ctxt, xmlNodePtr node, const xmlChar *nsName, const xmlChar *nsPrefix)
 

Enumerations

enum  xmlBufferAllocationScheme {
  XML_BUFFER_ALLOC_DOUBLEIT, XML_BUFFER_ALLOC_EXACT, XML_BUFFER_ALLOC_IMMUTABLE, XML_BUFFER_ALLOC_IO,
  XML_BUFFER_ALLOC_HYBRID, XML_BUFFER_ALLOC_BOUNDED
}
 
enum  xmlElementType {
  XML_ELEMENT_NODE = 1, XML_ATTRIBUTE_NODE = 2, XML_TEXT_NODE = 3, XML_CDATA_SECTION_NODE = 4,
  XML_ENTITY_REF_NODE = 5, XML_ENTITY_NODE = 6, XML_PI_NODE = 7, XML_COMMENT_NODE = 8,
  XML_DOCUMENT_NODE = 9, XML_DOCUMENT_TYPE_NODE = 10, XML_DOCUMENT_FRAG_NODE = 11, XML_NOTATION_NODE = 12,
  XML_HTML_DOCUMENT_NODE = 13, XML_DTD_NODE = 14, XML_ELEMENT_DECL = 15, XML_ATTRIBUTE_DECL = 16,
  XML_ENTITY_DECL = 17, XML_NAMESPACE_DECL = 18, XML_XINCLUDE_START = 19, XML_XINCLUDE_END = 20
}
 
enum  xmlAttributeType {
  XML_ATTRIBUTE_CDATA = 1, XML_ATTRIBUTE_ID, XML_ATTRIBUTE_IDREF, XML_ATTRIBUTE_IDREFS,
  XML_ATTRIBUTE_ENTITY, XML_ATTRIBUTE_ENTITIES, XML_ATTRIBUTE_NMTOKEN, XML_ATTRIBUTE_NMTOKENS,
  XML_ATTRIBUTE_ENUMERATION, XML_ATTRIBUTE_NOTATION
}
 
enum  xmlAttributeDefault { XML_ATTRIBUTE_NONE = 1, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED, XML_ATTRIBUTE_FIXED }
 
enum  xmlElementContentType { XML_ELEMENT_CONTENT_PCDATA = 1, XML_ELEMENT_CONTENT_ELEMENT, XML_ELEMENT_CONTENT_SEQ, XML_ELEMENT_CONTENT_OR }
 
enum  xmlElementContentOccur { XML_ELEMENT_CONTENT_ONCE = 1, XML_ELEMENT_CONTENT_OPT, XML_ELEMENT_CONTENT_MULT, XML_ELEMENT_CONTENT_PLUS }
 
enum  xmlElementTypeVal {
  XML_ELEMENT_TYPE_UNDEFINED = 0, XML_ELEMENT_TYPE_EMPTY = 1, XML_ELEMENT_TYPE_ANY, XML_ELEMENT_TYPE_MIXED,
  XML_ELEMENT_TYPE_ELEMENT
}
 
enum  xmlDocProperties {
  XML_DOC_WELLFORMED = 1<<0, XML_DOC_NSVALID = 1<<1, XML_DOC_OLD10 = 1<<2, XML_DOC_DTDVALID = 1<<3,
  XML_DOC_XINCLUDE = 1<<4, XML_DOC_USERBUILT = 1<<5, XML_DOC_INTERNAL = 1<<6, XML_DOC_HTML = 1<<7
}
 

Functions

XMLPUBFUN xmlChar *XMLCALL xmlBufContent (const xmlBuf *buf)
 
XMLPUBFUN xmlChar *XMLCALL xmlBufEnd (xmlBufPtr buf)
 
XMLPUBFUN size_t XMLCALL xmlBufUse (const xmlBufPtr buf)
 
XMLPUBFUN size_t XMLCALL xmlBufShrink (xmlBufPtr buf, size_t len)
 
XMLPUBFUN xmlChar *XMLCALL xmlBuildQName (const xmlChar *ncname, const xmlChar *prefix, xmlChar *memory, int len)
 
XMLPUBFUN xmlChar *XMLCALL xmlSplitQName2 (const xmlChar *name, xmlChar **prefix)
 
XMLPUBFUN const xmlChar *XMLCALL xmlSplitQName3 (const xmlChar *name, int *len)
 
XMLPUBFUN void XMLCALL xmlSetBufferAllocationScheme (xmlBufferAllocationScheme scheme)
 
XMLPUBFUN xmlBufferAllocationScheme XMLCALL xmlGetBufferAllocationScheme (void)
 
XMLPUBFUN xmlBufferPtr XMLCALL xmlBufferCreate (void)
 
XMLPUBFUN xmlBufferPtr XMLCALL xmlBufferCreateSize (size_t size)
 
XMLPUBFUN xmlBufferPtr XMLCALL xmlBufferCreateStatic (void *mem, size_t size)
 
XMLPUBFUN int XMLCALL xmlBufferResize (xmlBufferPtr buf, unsigned int size)
 
XMLPUBFUN void XMLCALL xmlBufferFree (xmlBufferPtr buf)
 
XMLPUBFUN int XMLCALL xmlBufferDump (FILE *file, xmlBufferPtr buf)
 
XMLPUBFUN int XMLCALL xmlBufferAdd (xmlBufferPtr buf, const xmlChar *str, int len)
 
XMLPUBFUN int XMLCALL xmlBufferAddHead (xmlBufferPtr buf, const xmlChar *str, int len)
 
XMLPUBFUN int XMLCALL xmlBufferCat (xmlBufferPtr buf, const xmlChar *str)
 
XMLPUBFUN int XMLCALL xmlBufferCCat (xmlBufferPtr buf, const char *str)
 
XMLPUBFUN int XMLCALL xmlBufferShrink (xmlBufferPtr buf, unsigned int len)
 
XMLPUBFUN int XMLCALL xmlBufferGrow (xmlBufferPtr buf, unsigned int len)
 
XMLPUBFUN void XMLCALL xmlBufferEmpty (xmlBufferPtr buf)
 
XMLPUBFUN const xmlChar *XMLCALL xmlBufferContent (const xmlBuffer *buf)
 
XMLPUBFUN xmlChar *XMLCALL xmlBufferDetach (xmlBufferPtr buf)
 
XMLPUBFUN void XMLCALL xmlBufferSetAllocationScheme (xmlBufferPtr buf, xmlBufferAllocationScheme scheme)
 
XMLPUBFUN int XMLCALL xmlBufferLength (const xmlBuffer *buf)
 
XMLPUBFUN xmlDtdPtr XMLCALL xmlCreateIntSubset (xmlDocPtr doc, const xmlChar *name, const xmlChar *ExternalID, const xmlChar *SystemID)
 
XMLPUBFUN xmlDtdPtr XMLCALL xmlNewDtd (xmlDocPtr doc, const xmlChar *name, const xmlChar *ExternalID, const xmlChar *SystemID)
 
XMLPUBFUN xmlDtdPtr XMLCALL xmlGetIntSubset (const xmlDoc *doc)
 
XMLPUBFUN void XMLCALL xmlFreeDtd (xmlDtdPtr cur)
 
XMLPUBFUN xmlNsPtr XMLCALL xmlNewNs (xmlNodePtr node, const xmlChar *href, const xmlChar *prefix)
 
XMLPUBFUN void XMLCALL xmlFreeNs (xmlNsPtr cur)
 
XMLPUBFUN void XMLCALL xmlFreeNsList (xmlNsPtr cur)
 
XMLPUBFUN xmlDocPtr XMLCALL xmlNewDoc (const xmlChar *version)
 
XMLPUBFUN void XMLCALL xmlFreeDoc (xmlDocPtr cur)
 
XMLPUBFUN xmlAttrPtr XMLCALL xmlNewDocProp (xmlDocPtr doc, const xmlChar *name, const xmlChar *value)
 
XMLPUBFUN xmlAttrPtr XMLCALL xmlNewNsProp (xmlNodePtr node, xmlNsPtr ns, const xmlChar *name, const xmlChar *value)
 
XMLPUBFUN xmlAttrPtr XMLCALL xmlNewNsPropEatName (xmlNodePtr node, xmlNsPtr ns, xmlChar *name, const xmlChar *value)
 
XMLPUBFUN void XMLCALL xmlFreePropList (xmlAttrPtr cur)
 
XMLPUBFUN void XMLCALL xmlFreeProp (xmlAttrPtr cur)
 
XMLPUBFUN xmlAttrPtr XMLCALL xmlCopyProp (xmlNodePtr target, xmlAttrPtr cur)
 
XMLPUBFUN xmlAttrPtr XMLCALL xmlCopyPropList (xmlNodePtr target, xmlAttrPtr cur)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlNewDocNode (xmlDocPtr doc, xmlNsPtr ns, const xmlChar *name, const xmlChar *content)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlNewDocNodeEatName (xmlDocPtr doc, xmlNsPtr ns, xmlChar *name, const xmlChar *content)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlNewNode (xmlNsPtr ns, const xmlChar *name)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlNewNodeEatName (xmlNsPtr ns, xmlChar *name)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlNewDocText (const xmlDoc *doc, const xmlChar *content)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlNewText (const xmlChar *content)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlNewDocPI (xmlDocPtr doc, const xmlChar *name, const xmlChar *content)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlNewPI (const xmlChar *name, const xmlChar *content)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlNewDocTextLen (xmlDocPtr doc, const xmlChar *content, int len)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlNewTextLen (const xmlChar *content, int len)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlNewDocComment (xmlDocPtr doc, const xmlChar *content)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlNewComment (const xmlChar *content)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlNewCDataBlock (xmlDocPtr doc, const xmlChar *content, int len)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlNewCharRef (xmlDocPtr doc, const xmlChar *name)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlNewReference (const xmlDoc *doc, const xmlChar *name)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlCopyNode (xmlNodePtr node, int recursive)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlDocCopyNode (xmlNodePtr node, xmlDocPtr doc, int recursive)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlDocCopyNodeList (xmlDocPtr doc, xmlNodePtr node)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlCopyNodeList (xmlNodePtr node)
 
XMLPUBFUN long XMLCALL xmlGetLineNo (const xmlNode *node)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlDocGetRootElement (const xmlDoc *doc)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlGetLastChild (const xmlNode *parent)
 
XMLPUBFUN int XMLCALL xmlNodeIsText (const xmlNode *node)
 
XMLPUBFUN int XMLCALL xmlIsBlankNode (const xmlNode *node)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlAddChild (xmlNodePtr parent, xmlNodePtr cur)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlAddChildList (xmlNodePtr parent, xmlNodePtr cur)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlAddSibling (xmlNodePtr cur, xmlNodePtr elem)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlAddNextSibling (xmlNodePtr cur, xmlNodePtr elem)
 
XMLPUBFUN void XMLCALL xmlUnlinkNode (xmlNodePtr cur)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlTextMerge (xmlNodePtr first, xmlNodePtr second)
 
XMLPUBFUN int XMLCALL xmlTextConcat (xmlNodePtr node, const xmlChar *content, int len)
 
XMLPUBFUN void XMLCALL xmlFreeNodeList (xmlNodePtr cur)
 
XMLPUBFUN void XMLCALL xmlFreeNode (xmlNodePtr cur)
 
XMLPUBFUN void XMLCALL xmlSetTreeDoc (xmlNodePtr tree, xmlDocPtr doc)
 
XMLPUBFUN void XMLCALL xmlSetListDoc (xmlNodePtr list, xmlDocPtr doc)
 
XMLPUBFUN xmlNsPtr XMLCALL xmlSearchNs (xmlDocPtr doc, xmlNodePtr node, const xmlChar *nameSpace)
 
XMLPUBFUN xmlNsPtr XMLCALL xmlSearchNsByHref (xmlDocPtr doc, xmlNodePtr node, const xmlChar *href)
 
XMLPUBFUN void XMLCALL xmlSetNs (xmlNodePtr node, xmlNsPtr ns)
 
XMLPUBFUN xmlNsPtr XMLCALL xmlCopyNamespace (xmlNsPtr cur)
 
XMLPUBFUN xmlNsPtr XMLCALL xmlCopyNamespaceList (xmlNsPtr cur)
 
XMLPUBFUN xmlChar *XMLCALL xmlGetNoNsProp (const xmlNode *node, const xmlChar *name)
 
XMLPUBFUN xmlChar *XMLCALL xmlGetProp (const xmlNode *node, const xmlChar *name)
 
XMLPUBFUN xmlAttrPtr XMLCALL xmlHasProp (const xmlNode *node, const xmlChar *name)
 
XMLPUBFUN xmlAttrPtr XMLCALL xmlHasNsProp (const xmlNode *node, const xmlChar *name, const xmlChar *nameSpace)
 
XMLPUBFUN xmlChar *XMLCALL xmlGetNsProp (const xmlNode *node, const xmlChar *name, const xmlChar *nameSpace)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlStringGetNodeList (const xmlDoc *doc, const xmlChar *value)
 
XMLPUBFUN xmlNodePtr XMLCALL xmlStringLenGetNodeList (const xmlDoc *doc, const xmlChar *value, int len)
 
XMLPUBFUN xmlChar *XMLCALL xmlNodeListGetString (xmlDocPtr doc, const xmlNode *list, int inLine)
 
XMLPUBFUN void XMLCALL xmlNodeSetContent (xmlNodePtr cur, const xmlChar *content)
 
XMLPUBFUN void XMLCALL xmlNodeAddContent (xmlNodePtr cur, const xmlChar *content)
 
XMLPUBFUN void XMLCALL xmlNodeAddContentLen (xmlNodePtr cur, const xmlChar *content, int len)
 
XMLPUBFUN xmlChar *XMLCALL xmlNodeGetContent (const xmlNode *cur)
 
XMLPUBFUN int XMLCALL xmlNodeBufGetContent (xmlBufferPtr buffer, const xmlNode *cur)
 
XMLPUBFUN int XMLCALL xmlBufGetNodeContent (xmlBufPtr buf, const xmlNode *cur)
 
XMLPUBFUN xmlChar *XMLCALL xmlNodeGetLang (const xmlNode *cur)
 
XMLPUBFUN int XMLCALL xmlNodeGetSpacePreserve (const xmlNode *cur)
 
XMLPUBFUN xmlChar *XMLCALL xmlNodeGetBase (const xmlDoc *doc, const xmlNode *cur)
 
XMLPUBFUN int XMLCALL xmlRemoveProp (xmlAttrPtr cur)
 
XMLPUBFUN void XMLCALL xmlBufferWriteCHAR (xmlBufferPtr buf, const xmlChar *string)
 
XMLPUBFUN void XMLCALL xmlBufferWriteChar (xmlBufferPtr buf, const char *string)
 
XMLPUBFUN void XMLCALL xmlBufferWriteQuotedString (xmlBufferPtr buf, const xmlChar *string)
 
XMLPUBFUN int XMLCALL xmlIsXHTML (const xmlChar *systemID, const xmlChar *publicID)
 
XMLPUBFUN int XMLCALL xmlGetDocCompressMode (const xmlDoc *doc)
 
XMLPUBFUN void XMLCALL xmlSetDocCompressMode (xmlDocPtr doc, int mode)
 
XMLPUBFUN int XMLCALL xmlGetCompressMode (void)
 
XMLPUBFUN void XMLCALL xmlSetCompressMode (int mode)
 
XMLPUBFUN xmlDOMWrapCtxtPtr XMLCALL xmlDOMWrapNewCtxt (void)
 
XMLPUBFUN void XMLCALL xmlDOMWrapFreeCtxt (xmlDOMWrapCtxtPtr ctxt)
 
XMLPUBFUN int XMLCALL xmlDOMWrapReconcileNamespaces (xmlDOMWrapCtxtPtr ctxt, xmlNodePtr elem, int options)
 
XMLPUBFUN int XMLCALL xmlDOMWrapAdoptNode (xmlDOMWrapCtxtPtr ctxt, xmlDocPtr sourceDoc, xmlNodePtr node, xmlDocPtr destDoc, xmlNodePtr destParent, int options)
 
XMLPUBFUN int XMLCALL xmlDOMWrapRemoveNode (xmlDOMWrapCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr node, int options)
 
XMLPUBFUN int XMLCALL xmlDOMWrapCloneNode (xmlDOMWrapCtxtPtr ctxt, xmlDocPtr sourceDoc, xmlNodePtr node, xmlNodePtr *clonedNode, xmlDocPtr destDoc, xmlNodePtr destParent, int deep, int options)
 

Macro Definition Documentation

◆ BASE_BUFFER_SIZE

#define BASE_BUFFER_SIZE   4096

BASE_BUFFER_SIZE:

default buffer size 4000.

Definition at line 56 of file tree.h.

◆ LIBXML2_NEW_BUFFER

#define LIBXML2_NEW_BUFFER

Definition at line 132 of file tree.h.

◆ XML_GET_CONTENT

#define XML_GET_CONTENT (   n)    ((n)->type == XML_ELEMENT_NODE ? NULL : (n)->content)

XML_GET_CONTENT:

Macro to extract the content pointer of a node.

Definition at line 515 of file tree.h.

◆ XML_GET_LINE

#define XML_GET_LINE (   n)    (xmlGetLineNo(n))

XML_GET_LINE:

Macro to extract the line number of an element node.

Definition at line 523 of file tree.h.

◆ XML_LOCAL_NAMESPACE

#define XML_LOCAL_NAMESPACE   XML_NAMESPACE_DECL

XML_LOCAL_NAMESPACE:

A namespace declaration node.

Definition at line 374 of file tree.h.

◆ XML_XML_ID

#define XML_XML_ID   (const xmlChar *) "xml:id"

XML_XML_ID:

This is the name for the special xml:id attribute

Definition at line 148 of file tree.h.

◆ XML_XML_NAMESPACE

#define XML_XML_NAMESPACE   (const xmlChar *) "http://www.w3.org/XML/1998/namespace"

XML_XML_NAMESPACE:

This is the namespace for the special xml: prefix predefined in the XML Namespace specification.

Definition at line 140 of file tree.h.

◆ xmlChildrenNode

#define xmlChildrenNode   children

xmlChildrenNode:

Macro for compatibility naming layer with libxml1. Maps to "children."

Definition at line 638 of file tree.h.

◆ xmlRootNode

#define xmlRootNode   children

xmlRootNode:

Macro for compatibility naming layer with libxml1. Maps to "children".

Definition at line 648 of file tree.h.

Typedef Documentation

◆ xmlAttr

xmlAttr:

An attribute on an XML node.

Definition at line 432 of file tree.h.

◆ xmlAttribute

xmlAttribute:

An Attribute declaration in a DTD.

Definition at line 251 of file tree.h.

◆ xmlAttributePtr

Definition at line 252 of file tree.h.

◆ xmlAttrPtr

typedef xmlAttr* xmlAttrPtr

Definition at line 433 of file tree.h.

◆ xmlBuf

xmlBuf:

A buffer structure, new one, the actual structure internals are not public

Definition at line 105 of file tree.h.

◆ xmlBuffer

xmlBuffer:

A buffer structure, this old construct is limited to 2GB and is being deprecated, use API with xmlBuf instead

Definition at line 89 of file tree.h.

◆ xmlBufferPtr

Definition at line 90 of file tree.h.

◆ xmlBufPtr

typedef xmlBuf* xmlBufPtr

xmlBufPtr:

A pointer to a buffer structure, the actual structure internals are not public

Definition at line 114 of file tree.h.

◆ xmlDoc

xmlDoc:

An XML document.

Definition at line 549 of file tree.h.

◆ xmlDocPtr

typedef xmlDoc* xmlDocPtr

Definition at line 550 of file tree.h.

◆ xmlDOMWrapAcquireNsFunction

typedef xmlNsPtr(* xmlDOMWrapAcquireNsFunction) (xmlDOMWrapCtxtPtr ctxt, xmlNodePtr node, const xmlChar *nsName, const xmlChar *nsPrefix)

xmlDOMWrapAcquireNsFunction: @ctxt: a DOM wrapper context @node: the context node (element or attribute) @nsName: the requested namespace name @nsPrefix: the requested namespace prefix

A function called to acquire namespaces (xmlNs) from the wrapper.

Returns an xmlNsPtr or NULL in case of an error.

Definition at line 603 of file tree.h.

◆ xmlDOMWrapCtxt

Definition at line 589 of file tree.h.

◆ xmlDOMWrapCtxtPtr

Definition at line 590 of file tree.h.

◆ xmlDtd

xmlDtd:

An XML DTD, as defined by <!DOCTYPE ... There is actually one for the internal subset and for the external subset.

Definition at line 404 of file tree.h.

◆ xmlDtdPtr

typedef xmlDtd* xmlDtdPtr

Definition at line 405 of file tree.h.

◆ xmlElement

xmlElement:

An XML Element declaration from a DTD.

Definition at line 344 of file tree.h.

◆ xmlElementContent

xmlElementContent:

An XML Element content as stored after parsing an element definition in a DTD.

Definition at line 304 of file tree.h.

◆ xmlElementContentPtr

Definition at line 305 of file tree.h.

◆ xmlElementPtr

Definition at line 345 of file tree.h.

◆ xmlEntity

Definition at line 48 of file tree.h.

◆ xmlEntityPtr

Definition at line 49 of file tree.h.

◆ xmlEnumeration

xmlEnumeration:

List structure used when there is an enumeration in DTDs.

Definition at line 238 of file tree.h.

◆ xmlEnumerationPtr

Definition at line 239 of file tree.h.

◆ xmlID

typedef struct _xmlID xmlID

xmlID:

An XML ID instance.

Definition at line 455 of file tree.h.

◆ xmlIDPtr

typedef xmlID* xmlIDPtr

Definition at line 456 of file tree.h.

◆ xmlNode

xmlNode:

A node in an XML tree.

Definition at line 487 of file tree.h.

◆ xmlNodePtr

typedef xmlNode* xmlNodePtr

Definition at line 488 of file tree.h.

◆ xmlNotation

xmlNotation:

A DTD Notation definition.

Definition at line 192 of file tree.h.

◆ xmlNotationPtr

Definition at line 193 of file tree.h.

◆ xmlNs

typedef struct _xmlNs xmlNs

xmlNs:

An XML namespace. Note that prefix == NULL is valid, it defines the default namespace within the subtree (until overridden).

xmlNsType is unified with xmlElementType.

Definition at line 387 of file tree.h.

◆ xmlNsPtr

typedef xmlNs* xmlNsPtr

Definition at line 388 of file tree.h.

◆ xmlNsType

Definition at line 375 of file tree.h.

◆ xmlOutputBuffer

typedef struct _xmlOutputBuffer xmlOutputBuffer

Definition at line 31 of file tree.h.

◆ xmlOutputBufferPtr

Definition at line 32 of file tree.h.

◆ xmlParserCtxt

Definition at line 38 of file tree.h.

◆ xmlParserCtxtPtr

Definition at line 39 of file tree.h.

◆ xmlParserInput

Definition at line 35 of file tree.h.

◆ xmlParserInputBuffer

Definition at line 28 of file tree.h.

◆ xmlParserInputBufferPtr

Definition at line 29 of file tree.h.

◆ xmlParserInputPtr

Definition at line 36 of file tree.h.

◆ xmlRef

xmlRef:

An XML IDREF instance.

Definition at line 472 of file tree.h.

◆ xmlRefPtr

typedef xmlRef* xmlRefPtr

Definition at line 473 of file tree.h.

◆ xmlSAXHandler

Definition at line 44 of file tree.h.

◆ xmlSAXHandlerPtr

Definition at line 45 of file tree.h.

◆ xmlSAXLocator

Definition at line 41 of file tree.h.

◆ xmlSAXLocatorPtr

Definition at line 42 of file tree.h.

Enumeration Type Documentation

◆ xmlAttributeDefault

xmlAttributeDefault:

A DTD Attribute default definition.

Enumerator
XML_ATTRIBUTE_NONE 
XML_ATTRIBUTE_REQUIRED 
XML_ATTRIBUTE_IMPLIED 
XML_ATTRIBUTE_FIXED 

Definition at line 225 of file tree.h.

◆ xmlAttributeType

xmlAttributeType:

A DTD Attribute type definition.

Enumerator
XML_ATTRIBUTE_CDATA 
XML_ATTRIBUTE_ID 
XML_ATTRIBUTE_IDREF 
XML_ATTRIBUTE_IDREFS 
XML_ATTRIBUTE_ENTITY 
XML_ATTRIBUTE_ENTITIES 
XML_ATTRIBUTE_NMTOKEN 
XML_ATTRIBUTE_NMTOKENS 
XML_ATTRIBUTE_ENUMERATION 
XML_ATTRIBUTE_NOTATION 

Definition at line 206 of file tree.h.

◆ xmlBufferAllocationScheme

LIBXML_NAMESPACE_DICT:

Defines experimental behaviour: 1) xmlNs gets an additional field @context (a xmlDoc) 2) when creating a tree, xmlNs->href is stored in the dict of xmlDoc.xmlBufferAllocationScheme:

A buffer allocation scheme can be defined to either match exactly the need or double it's allocated size each time it is found too small.

Enumerator
XML_BUFFER_ALLOC_DOUBLEIT 
XML_BUFFER_ALLOC_EXACT 
XML_BUFFER_ALLOC_IMMUTABLE 
XML_BUFFER_ALLOC_IO 
XML_BUFFER_ALLOC_HYBRID 
XML_BUFFER_ALLOC_BOUNDED 

Definition at line 74 of file tree.h.

74  {
75  XML_BUFFER_ALLOC_DOUBLEIT, /* double each time one need to grow */
76  XML_BUFFER_ALLOC_EXACT, /* grow only to the minimal size */
77  XML_BUFFER_ALLOC_IMMUTABLE, /* immutable buffer */
78  XML_BUFFER_ALLOC_IO, /* special allocation scheme used for I/O */
79  XML_BUFFER_ALLOC_HYBRID, /* exact up to a threshold, and doubleit thereafter */
80  XML_BUFFER_ALLOC_BOUNDED /* limit the upper size of the buffer */
xmlBufferAllocationScheme
Definition: tree.h:74

◆ xmlDocProperties

xmlDocProperty

Set of properties of the document as found by the parser Some of them are linked to similary named xmlParserOption

Enumerator
XML_DOC_WELLFORMED 
XML_DOC_NSVALID 
XML_DOC_OLD10 
XML_DOC_DTDVALID 
XML_DOC_XINCLUDE 
XML_DOC_USERBUILT 
XML_DOC_INTERNAL 
XML_DOC_HTML 

Definition at line 532 of file tree.h.

532  {
533  XML_DOC_WELLFORMED = 1<<0, /* document is XML well formed */
534  XML_DOC_NSVALID = 1<<1, /* document is Namespace valid */
535  XML_DOC_OLD10 = 1<<2, /* parsed with old XML-1.0 parser */
536  XML_DOC_DTDVALID = 1<<3, /* DTD validation was successful */
537  XML_DOC_XINCLUDE = 1<<4, /* XInclude substitution was done */
538  XML_DOC_USERBUILT = 1<<5, /* Document was built using the API
539  and not by parsing an instance */
540  XML_DOC_INTERNAL = 1<<6, /* built for internal processing */
541  XML_DOC_HTML = 1<<7 /* parsed or built HTML document */
xmlDocProperties
Definition: tree.h:532

◆ xmlElementContentOccur

xmlElementContentOccur:

Possible definitions of element content occurrences.

Enumerator
XML_ELEMENT_CONTENT_ONCE 
XML_ELEMENT_CONTENT_OPT 
XML_ELEMENT_CONTENT_MULT 
XML_ELEMENT_CONTENT_PLUS 

Definition at line 290 of file tree.h.

◆ xmlElementContentType

xmlElementContentType:

Possible definitions of element content types.

Enumerator
XML_ELEMENT_CONTENT_PCDATA 
XML_ELEMENT_CONTENT_ELEMENT 
XML_ELEMENT_CONTENT_SEQ 
XML_ELEMENT_CONTENT_OR 

Definition at line 278 of file tree.h.

◆ xmlElementType

Enumerator
XML_ELEMENT_NODE 
XML_ATTRIBUTE_NODE 
XML_TEXT_NODE 
XML_CDATA_SECTION_NODE 
XML_ENTITY_REF_NODE 
XML_ENTITY_NODE 
XML_PI_NODE 
XML_COMMENT_NODE 
XML_DOCUMENT_NODE 
XML_DOCUMENT_TYPE_NODE 
XML_DOCUMENT_FRAG_NODE 
XML_NOTATION_NODE 
XML_HTML_DOCUMENT_NODE 
XML_DTD_NODE 
XML_ELEMENT_DECL 
XML_ATTRIBUTE_DECL 
XML_ENTITY_DECL 
XML_NAMESPACE_DECL 
XML_XINCLUDE_START 
XML_XINCLUDE_END 

Definition at line 159 of file tree.h.

159  {
160  XML_ELEMENT_NODE= 1,
162  XML_TEXT_NODE= 3,
165  XML_ENTITY_NODE= 6,
166  XML_PI_NODE= 7,
167  XML_COMMENT_NODE= 8,
171  XML_NOTATION_NODE= 12,
173  XML_DTD_NODE= 14,
174  XML_ELEMENT_DECL= 15,
175  XML_ATTRIBUTE_DECL= 16,
176  XML_ENTITY_DECL= 17,
177  XML_NAMESPACE_DECL= 18,
178  XML_XINCLUDE_START= 19,
179  XML_XINCLUDE_END= 20
180 #ifdef LIBXML_DOCB_ENABLED
181  ,XML_DOCB_DOCUMENT_NODE= 21
182 #endif
xmlElementType
Definition: tree.h:159

◆ xmlElementTypeVal

xmlElementTypeVal:

The different possibilities for an element content type.

Enumerator
XML_ELEMENT_TYPE_UNDEFINED 
XML_ELEMENT_TYPE_EMPTY 
XML_ELEMENT_TYPE_ANY 
XML_ELEMENT_TYPE_MIXED 
XML_ELEMENT_TYPE_ELEMENT 

Definition at line 322 of file tree.h.

Function Documentation

◆ xmlAddChild()

◆ xmlAddChildList()

XMLPUBFUN xmlNodePtr XMLCALL xmlAddChildList ( xmlNodePtr  parent,
xmlNodePtr  cur 
)

◆ xmlAddNextSibling()

XMLPUBFUN xmlNodePtr XMLCALL xmlAddNextSibling ( xmlNodePtr  cur,
xmlNodePtr  elem 
)

◆ xmlAddSibling()

◆ xmlBufContent()

XMLPUBFUN xmlChar* XMLCALL xmlBufContent ( const xmlBuf buf)

xmlBufContent: @buf: the buffer

Function to extract the content of a buffer

Returns the internal content

Definition at line 582 of file buf.c.

583 {
584  if ((!buf) || (buf->error))
585  return NULL;
586 
587  return(buf->content);
588 }
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
smooth NULL
Definition: ftsmooth.c:416

Referenced by xmlCharEncFirstLineInput(), xmlCharEncInput(), xmlParserInputGrow(), xmlParserInputShrink(), and xsltSaveResultToString().

◆ xmlBufEnd()

XMLPUBFUN xmlChar* XMLCALL xmlBufEnd ( xmlBufPtr  buf)

xmlBufEnd: @buf: the buffer

Function to extract the end of the content of a buffer

Returns the end of the internal content or NULL in case of error

Definition at line 600 of file buf.c.

601 {
602  if ((!buf) || (buf->error))
603  return NULL;
605 
606  return(&buf->content[buf->use]);
607 }
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
#define CHECK_COMPAT(buf)
Definition: buf.c:71
smooth NULL
Definition: ftsmooth.c:416

Referenced by xmlCharEncFirstLineInput(), xmlCharEncInput(), xmlParserInputGrow(), and xmlParserInputShrink().

◆ xmlBufferAdd()

XMLPUBFUN int XMLCALL xmlBufferAdd ( xmlBufferPtr  buf,
const xmlChar str,
int  len 
)

◆ xmlBufferAddHead()

XMLPUBFUN int XMLCALL xmlBufferAddHead ( xmlBufferPtr  buf,
const xmlChar str,
int  len 
)

◆ xmlBufferCat()

◆ xmlBufferCCat()

◆ xmlBufferContent()

◆ xmlBufferCreate()

◆ xmlBufferCreateSize()

XMLPUBFUN xmlBufferPtr XMLCALL xmlBufferCreateSize ( size_t  size)

◆ xmlBufferCreateStatic()

XMLPUBFUN xmlBufferPtr XMLCALL xmlBufferCreateStatic ( void mem,
size_t  size 
)

◆ xmlBufferDetach()

XMLPUBFUN xmlChar* XMLCALL xmlBufferDetach ( xmlBufferPtr  buf)

◆ xmlBufferDump()

XMLPUBFUN int XMLCALL xmlBufferDump ( FILE file,
xmlBufferPtr  buf 
)

◆ xmlBufferEmpty()

XMLPUBFUN void XMLCALL xmlBufferEmpty ( xmlBufferPtr  buf)

◆ xmlBufferFree()

◆ xmlBufferGrow()

XMLPUBFUN int XMLCALL xmlBufferGrow ( xmlBufferPtr  buf,
unsigned int  len 
)

◆ xmlBufferLength()

XMLPUBFUN int XMLCALL xmlBufferLength ( const xmlBuffer buf)

◆ xmlBufferResize()

XMLPUBFUN int XMLCALL xmlBufferResize ( xmlBufferPtr  buf,
unsigned int  size 
)

◆ xmlBufferSetAllocationScheme()

XMLPUBFUN void XMLCALL xmlBufferSetAllocationScheme ( xmlBufferPtr  buf,
xmlBufferAllocationScheme  scheme 
)

◆ xmlBufferShrink()

XMLPUBFUN int XMLCALL xmlBufferShrink ( xmlBufferPtr  buf,
unsigned int  len 
)

◆ xmlBufferWriteCHAR()

XMLPUBFUN void XMLCALL xmlBufferWriteCHAR ( xmlBufferPtr  buf,
const xmlChar string 
)

◆ xmlBufferWriteChar()

XMLPUBFUN void XMLCALL xmlBufferWriteChar ( xmlBufferPtr  buf,
const char string 
)

◆ xmlBufferWriteQuotedString()

XMLPUBFUN void XMLCALL xmlBufferWriteQuotedString ( xmlBufferPtr  buf,
const xmlChar string 
)

◆ xmlBufGetNodeContent()

XMLPUBFUN int XMLCALL xmlBufGetNodeContent ( xmlBufPtr  buf,
const xmlNode cur 
)

◆ xmlBufShrink()

XMLPUBFUN size_t XMLCALL xmlBufShrink ( xmlBufPtr  buf,
size_t  len 
)

xmlBufShrink: @buf: the buffer to dump @len: the number of xmlChar to remove

Remove the beginning of an XML buffer. NOTE that this routine behaviour differs from xmlBufferShrink() as it will return 0 on error instead of -1 due to size_t being used as the return type.

Returns the number of byte removed or 0 in case of failure

Definition at line 388 of file buf.c.

388  {
389  if ((buf == NULL) || (buf->error != 0)) return(0);
391  if (len == 0) return(0);
392  if (len > buf->use) return(0);
393 
394  buf->use -= len;
395  if ((buf->alloc == XML_BUFFER_ALLOC_IMMUTABLE) ||
396  ((buf->alloc == XML_BUFFER_ALLOC_IO) && (buf->contentIO != NULL))) {
397  /*
398  * we just move the content pointer, but also make sure
399  * the perceived buffer size has shrinked accordingly
400  */
401  buf->content += len;
402  buf->size -= len;
403 
404  /*
405  * sometimes though it maybe be better to really shrink
406  * on IO buffers
407  */
408  if ((buf->alloc == XML_BUFFER_ALLOC_IO) && (buf->contentIO != NULL)) {
409  size_t start_buf = buf->content - buf->contentIO;
410  if (start_buf >= buf->size) {
411  memmove(buf->contentIO, &buf->content[0], buf->use);
412  buf->content = buf->contentIO;
413  buf->content[buf->use] = 0;
414  buf->size += start_buf;
415  }
416  }
417  } else {
418  memmove(buf->content, &buf->content[len], buf->use);
419  buf->content[buf->use] = 0;
420  }
422  return(len);
423 }
#define memmove(s1, s2, n)
Definition: mkisofs.h:881
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
#define CHECK_COMPAT(buf)
Definition: buf.c:71
#define UPDATE_COMPAT(buf)
Definition: buf.c:60
smooth NULL
Definition: ftsmooth.c:416
GLenum GLsizei len
Definition: glext.h:6722

Referenced by xmlCharEncFirstLineInput(), xmlCharEncInput(), xmlParserInputShrink(), and xmlSwitchInputEncodingInt().

◆ xmlBufUse()

XMLPUBFUN size_t XMLCALL xmlBufUse ( const xmlBufPtr  buf)

xmlBufUse: @buf: the buffer

Function to get the length of a buffer

Returns the length of data in the internal content

Definition at line 687 of file buf.c.

688 {
689  if ((!buf) || (buf->error))
690  return 0;
692 
693  return(buf->use);
694 }
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
#define CHECK_COMPAT(buf)
Definition: buf.c:71

Referenced by xmlCharEncFirstLineInput(), xmlCharEncInput(), xmlParserInputGrow(), xmlParserInputShrink(), xmlSwitchInputEncodingInt(), and xsltSaveResultToString().

◆ xmlBuildQName()

XMLPUBFUN xmlChar* XMLCALL xmlBuildQName ( const xmlChar ncname,
const xmlChar prefix,
xmlChar memory,
int  len 
)

◆ xmlCopyNamespace()

XMLPUBFUN xmlNsPtr XMLCALL xmlCopyNamespace ( xmlNsPtr  cur)

◆ xmlCopyNamespaceList()

XMLPUBFUN xmlNsPtr XMLCALL xmlCopyNamespaceList ( xmlNsPtr  cur)

◆ xmlCopyNode()

XMLPUBFUN xmlNodePtr XMLCALL xmlCopyNode ( xmlNodePtr  node,
int  recursive 
)

◆ xmlCopyNodeList()

XMLPUBFUN xmlNodePtr XMLCALL xmlCopyNodeList ( xmlNodePtr  node)

◆ xmlCopyProp()

XMLPUBFUN xmlAttrPtr XMLCALL xmlCopyProp ( xmlNodePtr  target,
xmlAttrPtr  cur 
)

◆ xmlCopyPropList()

XMLPUBFUN xmlAttrPtr XMLCALL xmlCopyPropList ( xmlNodePtr  target,
xmlAttrPtr  cur 
)

◆ xmlCreateIntSubset()

◆ xmlDocCopyNode()

◆ xmlDocCopyNodeList()

XMLPUBFUN xmlNodePtr XMLCALL xmlDocCopyNodeList ( xmlDocPtr  doc,
xmlNodePtr  node 
)

◆ xmlDocGetRootElement()

◆ xmlDOMWrapAdoptNode()

XMLPUBFUN int XMLCALL xmlDOMWrapAdoptNode ( xmlDOMWrapCtxtPtr  ctxt,
xmlDocPtr  sourceDoc,
xmlNodePtr  node,
xmlDocPtr  destDoc,
xmlNodePtr  destParent,
int  options 
)

◆ xmlDOMWrapCloneNode()

XMLPUBFUN int XMLCALL xmlDOMWrapCloneNode ( xmlDOMWrapCtxtPtr  ctxt,
xmlDocPtr  sourceDoc,
xmlNodePtr  node,
xmlNodePtr clonedNode,
xmlDocPtr  destDoc,
xmlNodePtr  destParent,
int  deep,
int  options 
)

◆ xmlDOMWrapFreeCtxt()

XMLPUBFUN void XMLCALL xmlDOMWrapFreeCtxt ( xmlDOMWrapCtxtPtr  ctxt)

◆ xmlDOMWrapNewCtxt()

XMLPUBFUN xmlDOMWrapCtxtPtr XMLCALL xmlDOMWrapNewCtxt ( void  )

◆ xmlDOMWrapReconcileNamespaces()

XMLPUBFUN int XMLCALL xmlDOMWrapReconcileNamespaces ( xmlDOMWrapCtxtPtr  ctxt,
xmlNodePtr  elem,
int  options 
)

◆ xmlDOMWrapRemoveNode()

XMLPUBFUN int XMLCALL xmlDOMWrapRemoveNode ( xmlDOMWrapCtxtPtr  ctxt,
xmlDocPtr  doc,
xmlNodePtr  node,
int  options 
)

◆ xmlFreeDoc()

◆ xmlFreeDtd()

◆ xmlFreeNode()

◆ xmlFreeNodeList()

◆ xmlFreeNs()

XMLPUBFUN void XMLCALL xmlFreeNs ( xmlNsPtr  cur)

◆ xmlFreeNsList()

XMLPUBFUN void XMLCALL xmlFreeNsList ( xmlNsPtr  cur)

◆ xmlFreeProp()

XMLPUBFUN void XMLCALL xmlFreeProp ( xmlAttrPtr  cur)

◆ xmlFreePropList()

XMLPUBFUN void XMLCALL xmlFreePropList ( xmlAttrPtr  cur)

◆ xmlGetBufferAllocationScheme()

XMLPUBFUN xmlBufferAllocationScheme XMLCALL xmlGetBufferAllocationScheme ( void  )

◆ xmlGetCompressMode()

XMLPUBFUN int XMLCALL xmlGetCompressMode ( void  )

◆ xmlGetDocCompressMode()

XMLPUBFUN int XMLCALL xmlGetDocCompressMode ( const xmlDoc doc)

◆ xmlGetIntSubset()

◆ xmlGetLastChild()

XMLPUBFUN xmlNodePtr XMLCALL xmlGetLastChild ( const xmlNode parent)

Referenced by areBlanks(), and xmlSAX2CDataBlock().

◆ xmlGetLineNo()

XMLPUBFUN long XMLCALL xmlGetLineNo ( const xmlNode node)

◆ xmlGetNoNsProp()

XMLPUBFUN xmlChar* XMLCALL xmlGetNoNsProp ( const xmlNode node,
const xmlChar name 
)

◆ xmlGetNsProp()

◆ xmlGetProp()

XMLPUBFUN xmlChar* XMLCALL xmlGetProp ( const xmlNode node,
const xmlChar name 
)

Referenced by xsltGetCNsProp(), and xsltGetNsProp().

◆ xmlHasNsProp()

XMLPUBFUN xmlAttrPtr XMLCALL xmlHasNsProp ( const xmlNode node,
const xmlChar name,
const xmlChar nameSpace 
)

◆ xmlHasProp()

XMLPUBFUN xmlAttrPtr XMLCALL xmlHasProp ( const xmlNode node,
const xmlChar name 
)

◆ xmlIsBlankNode()

XMLPUBFUN int XMLCALL xmlIsBlankNode ( const xmlNode node)

◆ xmlIsXHTML()

XMLPUBFUN int XMLCALL xmlIsXHTML ( const xmlChar systemID,
const xmlChar publicID 
)

xmlIsXHTML: @systemID: the system identifier @publicID: the public identifier

Try to find if the document correspond to an XHTML DTD

Returns 1 if true, 0 if not and -1 in case of error

Definition at line 55 of file xmlsave.c.

55  {
56  if ((systemID == NULL) && (publicID == NULL))
57  return(-1);
58  if (publicID != NULL) {
59  if (xmlStrEqual(publicID, XHTML_STRICT_PUBLIC_ID)) return(1);
60  if (xmlStrEqual(publicID, XHTML_FRAME_PUBLIC_ID)) return(1);
61  if (xmlStrEqual(publicID, XHTML_TRANS_PUBLIC_ID)) return(1);
62  }
63  if (systemID != NULL) {
64  if (xmlStrEqual(systemID, XHTML_STRICT_SYSTEM_ID)) return(1);
65  if (xmlStrEqual(systemID, XHTML_FRAME_SYSTEM_ID)) return(1);
66  if (xmlStrEqual(systemID, XHTML_TRANS_SYSTEM_ID)) return(1);
67  }
68  return(0);
69 }
#define XHTML_TRANS_SYSTEM_ID
Definition: xmlsave.c:41
#define XHTML_TRANS_PUBLIC_ID
Definition: xmlsave.c:39
#define XHTML_STRICT_SYSTEM_ID
Definition: xmlsave.c:33
smooth NULL
Definition: ftsmooth.c:416
#define XHTML_FRAME_PUBLIC_ID
Definition: xmlsave.c:35
#define XHTML_STRICT_PUBLIC_ID
Definition: xmlsave.c:31
#define XHTML_FRAME_SYSTEM_ID
Definition: xmlsave.c:37
XMLPUBFUN int XMLCALL xmlStrEqual(const xmlChar *str1, const xmlChar *str2)
Definition: xmlstring.c:157

◆ xmlNewCDataBlock()

XMLPUBFUN xmlNodePtr XMLCALL xmlNewCDataBlock ( xmlDocPtr  doc,
const xmlChar content,
int  len 
)

◆ xmlNewCharRef()

XMLPUBFUN xmlNodePtr XMLCALL xmlNewCharRef ( xmlDocPtr  doc,
const xmlChar name 
)

Referenced by xmlSAX2Reference().

◆ xmlNewComment()

◆ xmlNewDoc()

◆ xmlNewDocComment()

XMLPUBFUN xmlNodePtr XMLCALL xmlNewDocComment ( xmlDocPtr  doc,
const xmlChar content 
)

Referenced by xmlSAX2Comment().

◆ xmlNewDocNode()

◆ xmlNewDocNodeEatName()

XMLPUBFUN xmlNodePtr XMLCALL xmlNewDocNodeEatName ( xmlDocPtr  doc,
xmlNsPtr  ns,
xmlChar name,
const xmlChar content 
)

◆ xmlNewDocPI()

◆ xmlNewDocProp()

XMLPUBFUN xmlAttrPtr XMLCALL xmlNewDocProp ( xmlDocPtr  doc,
const xmlChar name,
const xmlChar value 
)

◆ xmlNewDocText()

XMLPUBFUN xmlNodePtr XMLCALL xmlNewDocText ( const xmlDoc doc,
const xmlChar content 
)

Referenced by xsltShallowCopyAttr(), and xsltText().

◆ xmlNewDocTextLen()

XMLPUBFUN xmlNodePtr XMLCALL xmlNewDocTextLen ( xmlDocPtr  doc,
const xmlChar content,
int  len 
)

◆ xmlNewDtd()

XMLPUBFUN xmlDtdPtr XMLCALL xmlNewDtd ( xmlDocPtr  doc,
const xmlChar name,
const xmlChar ExternalID,
const xmlChar SystemID 
)

◆ xmlNewNode()

XMLPUBFUN xmlNodePtr XMLCALL xmlNewNode ( xmlNsPtr  ns,
const xmlChar name 
)

◆ xmlNewNodeEatName()

XMLPUBFUN xmlNodePtr XMLCALL xmlNewNodeEatName ( xmlNsPtr  ns,
xmlChar name 
)

◆ xmlNewNs()

◆ xmlNewNsProp()

◆ xmlNewNsPropEatName()

XMLPUBFUN xmlAttrPtr XMLCALL xmlNewNsPropEatName ( xmlNodePtr  node,
xmlNsPtr  ns,
xmlChar name,
const xmlChar value 
)

Referenced by xmlSAX2AttributeNs().

◆ xmlNewPI()

XMLPUBFUN xmlNodePtr XMLCALL xmlNewPI ( const xmlChar name,
const xmlChar content 
)

◆ xmlNewReference()

XMLPUBFUN xmlNodePtr XMLCALL xmlNewReference ( const xmlDoc doc,
const xmlChar name 
)

Referenced by xmlSAX2Reference().

◆ xmlNewText()

◆ xmlNewTextLen()

XMLPUBFUN xmlNodePtr XMLCALL xmlNewTextLen ( const xmlChar content,
int  len 
)

Referenced by xsltCopyText(), and xsltCopyTextString().

◆ xmlNodeAddContent()

XMLPUBFUN void XMLCALL xmlNodeAddContent ( xmlNodePtr  cur,
const xmlChar content 
)

Referenced by xsltAddTextString().

◆ xmlNodeAddContentLen()

XMLPUBFUN void XMLCALL xmlNodeAddContentLen ( xmlNodePtr  cur,
const xmlChar content,
int  len 
)

◆ xmlNodeBufGetContent()

XMLPUBFUN int XMLCALL xmlNodeBufGetContent ( xmlBufferPtr  buffer,
const xmlNode cur 
)

◆ xmlNodeGetBase()

◆ xmlNodeGetContent()

XMLPUBFUN xmlChar* XMLCALL xmlNodeGetContent ( const xmlNode cur)

Referenced by xsltEvalTemplateString().

◆ xmlNodeGetLang()

XMLPUBFUN xmlChar* XMLCALL xmlNodeGetLang ( const xmlNode cur)

◆ xmlNodeGetSpacePreserve()

XMLPUBFUN int XMLCALL xmlNodeGetSpacePreserve ( const xmlNode cur)

◆ xmlNodeIsText()

XMLPUBFUN int XMLCALL xmlNodeIsText ( const xmlNode node)

Referenced by areBlanks().

◆ xmlNodeListGetString()

◆ xmlNodeSetContent()

◆ xmlRemoveProp()

XMLPUBFUN int XMLCALL xmlRemoveProp ( xmlAttrPtr  cur)

◆ xmlSearchNs()

◆ xmlSearchNsByHref()

XMLPUBFUN xmlNsPtr XMLCALL xmlSearchNsByHref ( xmlDocPtr  doc,
xmlNodePtr  node,
const xmlChar href 
)

◆ xmlSetBufferAllocationScheme()

XMLPUBFUN void XMLCALL xmlSetBufferAllocationScheme ( xmlBufferAllocationScheme  scheme)

◆ xmlSetCompressMode()

XMLPUBFUN void XMLCALL xmlSetCompressMode ( int  mode)

Referenced by main().

◆ xmlSetDocCompressMode()

XMLPUBFUN void XMLCALL xmlSetDocCompressMode ( xmlDocPtr  doc,
int  mode 
)

◆ xmlSetListDoc()

XMLPUBFUN void XMLCALL xmlSetListDoc ( xmlNodePtr  list,
xmlDocPtr  doc 
)

◆ xmlSetNs()

XMLPUBFUN void XMLCALL xmlSetNs ( xmlNodePtr  node,
xmlNsPtr  ns 
)

◆ xmlSetTreeDoc()

XMLPUBFUN void XMLCALL xmlSetTreeDoc ( xmlNodePtr  tree,
xmlDocPtr  doc 
)

Referenced by xmlParseReference().

◆ xmlSplitQName2()

◆ xmlSplitQName3()

XMLPUBFUN const xmlChar* XMLCALL xmlSplitQName3 ( const xmlChar name,
int len 
)

◆ xmlStringGetNodeList()

XMLPUBFUN xmlNodePtr XMLCALL xmlStringGetNodeList ( const xmlDoc doc,
const xmlChar value 
)

◆ xmlStringLenGetNodeList()

XMLPUBFUN xmlNodePtr XMLCALL xmlStringLenGetNodeList ( const xmlDoc doc,
const xmlChar value,
int  len 
)

Referenced by xmlSAX2AttributeNs().

◆ xmlTextConcat()

XMLPUBFUN int XMLCALL xmlTextConcat ( xmlNodePtr  node,
const xmlChar content,
int  len 
)

◆ xmlTextMerge()

XMLPUBFUN xmlNodePtr XMLCALL xmlTextMerge ( xmlNodePtr  first,
xmlNodePtr  second 
)

◆ xmlUnlinkNode()