From a2e844a3b3503367a4418187e77ccc977f186909 Mon Sep 17 00:00:00 2001 From: "William M. Brack" Date: Tue, 6 Jan 2004 11:52:13 +0000 Subject: [PATCH] moved string and UTF8 routines out of parser.c and encoding.c into a new * encoding.c, parser.c, xmlstring.c, Makefile.am, include/libxml/Makefile.am, include/libxml/catalog.c, include/libxml/chvalid.h, include/libxml/encoding.h, include/libxml/parser.h, include/libxml/relaxng.h, include/libxml/tree.h, include/libxml/xmlwriter.h, include/libxml/xmlstring.h: moved string and UTF8 routines out of parser.c and encoding.c into a new module xmlstring.c with include file include/libxml/xmlstring.h mostly using patches from Reid Spencer. Since xmlChar now defined in xmlstring.h, several include files needed to have a #include added for safety. * doc/apibuild.py: added some additional sorting for various references displayed in the APIxxx.html files. Rebuilt the docs, and also added new file for xmlstring module. * configure.in: small addition to help my testing; no effect on normal usage. * doc/search.php: added $_GET[query] so that persistent globals can be disabled (for recent versions of PHP) --- ChangeLog | 21 + Makefile.am | 4 +- configure.in | 3 +- doc/APIchunk0.html | 6 +- doc/APIchunk1.html | 4 +- doc/APIchunk10.html | 43 +- doc/APIchunk11.html | 12 +- doc/APIchunk12.html | 26 +- doc/APIchunk13.html | 10 +- doc/APIchunk14.html | 8 +- doc/APIchunk15.html | 40 +- doc/APIchunk16.html | 27 +- doc/APIchunk17.html | 17 +- doc/APIchunk18.html | 14 +- doc/APIchunk19.html | 19 +- doc/APIchunk2.html | 4 +- doc/APIchunk20.html | 24 +- doc/APIchunk21.html | 9 +- doc/APIchunk22.html | 67 +- doc/APIchunk23.html | 24 +- doc/APIchunk24.html | 6 +- doc/APIchunk25.html | 6 +- doc/APIchunk26.html | 2 +- doc/APIchunk3.html | 4 +- doc/APIchunk4.html | 6 +- doc/APIchunk5.html | 4 +- doc/APIchunk6.html | 8 +- doc/APIchunk7.html | 18 +- doc/APIchunk8.html | 19 +- doc/APIchunk9.html | 16 +- doc/APIconstructors.html | 28 +- doc/APIfiles.html | 5162 ++++++++++++------------ doc/APIfunctions.html | 74 +- doc/APIsymbols.html | 64 +- doc/apibuild.py | 8 +- doc/html/book1.html | 2 +- doc/html/index.html | 2 +- doc/html/libxml-DOCBparser.html | 12 +- doc/html/libxml-HTMLparser.html | 50 +- doc/html/libxml-HTMLtree.html | 28 +- doc/html/libxml-SAX.html | 106 +- doc/html/libxml-SAX2.html | 108 +- doc/html/libxml-c14n.html | 24 +- doc/html/libxml-catalog.html | 68 +- doc/html/libxml-debugXML.html | 26 +- doc/html/libxml-dict.html | 12 +- doc/html/libxml-encoding.html | 40 +- doc/html/libxml-entities.html | 36 +- doc/html/libxml-hash.html | 84 +- doc/html/libxml-lib.html | 2 +- doc/html/libxml-nanoftp.html | 2 +- doc/html/libxml-parser.html | 224 +- doc/html/libxml-parserInternals.html | 174 +- doc/html/libxml-pattern.html | 4 +- doc/html/libxml-relaxng.html | 4 +- doc/html/libxml-schemasInternals.html | 66 +- doc/html/libxml-tree.html | 408 +- doc/html/libxml-uri.html | 24 +- doc/html/libxml-valid.html | 120 +- doc/html/libxml-xinclude.html | 16 +- doc/html/libxml-xlink.html | 14 +- doc/html/libxml-xmlIO.html | 10 +- doc/html/libxml-xmlautomata.html | 16 +- doc/html/libxml-xmlmemory.html | 16 +- doc/html/libxml-xmlreader.html | 114 +- doc/html/libxml-xmlregexp.html | 20 +- doc/html/libxml-xmlschemas.html | 8 +- doc/html/libxml-xmlschemastypes.html | 22 +- doc/html/libxml-xmlstring.html | 106 + doc/html/libxml-xmlunicode.html | 2 +- doc/html/libxml-xmlversion.html | 4 +- doc/html/libxml-xmlwriter.html | 180 +- doc/html/libxml-xpath.html | 58 +- doc/html/libxml-xpathInternals.html | 118 +- doc/html/libxml-xpointer.html | 4 +- doc/libxml2-api.xml | 195 +- doc/libxml2-refs.xml | 5271 ++++++++++++------------- doc/search.php | 1 + encoding.c | 385 -- include/libxml/Makefile.am | 1 + include/libxml/catalog.h | 1 + include/libxml/chvalid.h | 1 + include/libxml/encoding.h | 32 - include/libxml/parser.h | 75 +- include/libxml/relaxng.h | 1 + include/libxml/tree.h | 17 +- include/libxml/xmlstring.h | 140 + include/libxml/xmlwriter.h | 9 +- parser.c | 543 --- python/libxml2class.txt | 20 +- xmlstring.c | 951 +++++ 91 files changed, 7931 insertions(+), 7853 deletions(-) create mode 100644 doc/html/libxml-xmlstring.html create mode 100644 include/libxml/xmlstring.h create mode 100644 xmlstring.c diff --git a/ChangeLog b/ChangeLog index f2f29607..087e598c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,24 @@ +Tue Jan 6 19:40:04 HKT 2004 William Brack + + * encoding.c, parser.c, xmlstring.c, Makefile.am, + include/libxml/Makefile.am, include/libxml/catalog.c, + include/libxml/chvalid.h, include/libxml/encoding.h, + include/libxml/parser.h, include/libxml/relaxng.h, + include/libxml/tree.h, include/libxml/xmlwriter.h, + include/libxml/xmlstring.h: + moved string and UTF8 routines out of parser.c and encoding.c + into a new module xmlstring.c with include file + include/libxml/xmlstring.h mostly using patches from Reid + Spencer. Since xmlChar now defined in xmlstring.h, several + include files needed to have a #include added for safety. + * doc/apibuild.py: added some additional sorting for various + references displayed in the APIxxx.html files. Rebuilt the + docs, and also added new file for xmlstring module. + * configure.in: small addition to help my testing; no effect on + normal usage. + * doc/search.php: added $_GET[query] so that persistent globals + can be disabled (for recent versions of PHP) + Mon Jan 5 20:47:07 MST 2004 John Fleck * doc/tutorial/customfo.xsl diff --git a/Makefile.am b/Makefile.am index d40f2532..9075bfcb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,7 +24,7 @@ libxml2_la_SOURCES = SAX.c entities.c encoding.c error.c parserInternals.c \ parser.c tree.c hash.c list.c xmlIO.c xmlmemory.c uri.c \ valid.c xlink.c HTMLparser.c HTMLtree.c debugXML.c xpath.c \ xpointer.c xinclude.c nanohttp.c nanoftp.c DOCBparser.c \ - catalog.c globals.c threads.c c14n.c \ + catalog.c globals.c threads.c c14n.c xmlstring.c \ xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c \ triostr.c trio.c xmlreader.c relaxng.c dict.c SAX2.c \ xmlwriter.c legacy.c chvalid.c pattern.c @@ -33,7 +33,7 @@ libxml2_la_SOURCES = SAX.c entities.c encoding.c error.c parserInternals.c \ parser.c tree.c hash.c list.c xmlIO.c xmlmemory.c uri.c \ valid.c xlink.c HTMLparser.c HTMLtree.c debugXML.c xpath.c \ xpointer.c xinclude.c nanohttp.c nanoftp.c DOCBparser.c \ - catalog.c globals.c threads.c c14n.c \ + catalog.c globals.c threads.c c14n.c xmlstring.c \ xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c \ xmlreader.c relaxng.c dict.c SAX2.c \ xmlwriter.c legacy.c chvalid.c pattern.c diff --git a/configure.in b/configure.in index 392c597c..a3d1f579 100644 --- a/configure.in +++ b/configure.in @@ -419,7 +419,8 @@ dnl specific tests to setup DV's devel environment with debug etc ... dnl (-Wunreachable-code) dnl if [[ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ]] || \ - [[ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomecvs/xmltest" ]] + [[ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomecvs/xmltest" ]] || \ + [[ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomecvs/xmlnew" ]] then if test "$with_minimum" != "yes" then diff --git a/doc/APIchunk0.html b/doc/APIchunk0.html index e0f946a8..d7a5ef04 100644 --- a/doc/APIchunk0.html +++ b/doc/APIchunk0.html @@ -62,8 +62,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlValidateName
xmlValidateQName
APIs
LIBXML_LEGACY_ENABLED
-
ARRAY
xmlStrlen
-xmlUTF8Strsize
+
ARRAY
xmlStrlen
+xmlUTF8Strsize
ASCII
UTF8ToHtml
docbEncodeEntities
htmlEncodeEntities
@@ -117,7 +117,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaNewFacet
Allows
xmlCatalogSetDefaultPrefer
AlphabeticPresentationForms
xmlUCSIsAlphabeticPresentationForms
-
Also
xmlCheckUTF8
+
Also
xmlCheckUTF8
xmlParseAttribute
xmlValidCtxtNormalizeAttributeValue
Always
IS_COMBINING_CH
diff --git a/doc/APIchunk1.html b/doc/APIchunk1.html index e32d9d5a..536d37ca 100644 --- a/doc/APIchunk1.html +++ b/doc/APIchunk1.html @@ -144,7 +144,7 @@ A:link, A:visited, A:active { text-decoration: underline }
Changes
xmlSetExternalEntityLoader
Char
IS_BYTE_CHAR
IS_CHAR
-xmlGetUTF8Char
+xmlGetUTF8Char
xmlParseCDSect
xmlParseCharRef
xmlParseComment
@@ -175,7 +175,7 @@ A:link, A:visited, A:active { text-decoration: underline } htmlNodeStatus
xmlAutomataIsDeterminist
xmlCheckLanguageID
-xmlCheckUTF8
+xmlCheckUTF8
xmlIsBlankNode
xmlSchemaCheckFacet
xmlXPathNodeSetIsEmpty
diff --git a/doc/APIchunk10.html b/doc/APIchunk10.html index 3735f2ed..8af93554 100644 --- a/doc/APIchunk10.html +++ b/doc/APIchunk10.html @@ -35,7 +35,7 @@ A:link, A:visited, A:active { text-decoration: underline } x-x y-z

Letter c:

cae
xmlSchemaCheckFacet
-
calculates
xmlUTF8Size
+
calculates
xmlUTF8Size
call
xmlCharEncOutFunc
xmlCharEncodingOutputFunc
xmlCleanupParser
@@ -117,7 +117,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlC14NDocSave
xmlC14NDocSaveTo
xmlC14NExecute
-
capable
xmlCheckUTF8
+
capable
xmlCheckUTF8
carried
xmlNewDocProp
xmlNewNsProp
xmlNewNsPropEatName
@@ -138,12 +138,12 @@ A:link, A:visited, A:active { text-decoration: underline } xmlIsRef
xmlNewGlobalNs
xmlNewNs
-
case-ignoring
xmlStrcasestr
+
case-ignoring
xmlStrcasestr
cases
XML_SKIP_IDS
xmlC14NExecute
xmlParseElementContentDecl
xmlScanName
-
cast
BAD_CAST
+
cast
BAD_CAST
CAST_TO_BOOLEAN
CAST_TO_NUMBER
CAST_TO_STRING
@@ -200,11 +200,11 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCreatePushParserCtxt
xmlKeepBlanksDefault
xmlParseAttValue
-xmlStrPrintf
-xmlStrVPrintf
+xmlStrPrintf
+xmlStrVPrintf
xmlURIEscapeStr
-xmlUTF8Strlen
-xmlUTF8Strsize
+xmlUTF8Strlen
+xmlUTF8Strsize
xmlValidCtxtNormalizeAttributeValue
xmlValidNormalizeAttributeValue
xmlXPathIdFunction
@@ -234,15 +234,14 @@ A:link, A:visited, A:active { text-decoration: underline }
checking
xlinkIsLink
xmlBufferWriteQuotedString
xmlBuildURI
-xmlMemFree
-xmlUTF8Strlen
+xmlUTF8Strlen
checkings
xmlValidateOneElement
checks
htmlAutoCloseTag
htmlIsAutoClosed
htmlNodeStatus
xmlCheckFilename
xmlCheckHTTPInput
-xmlCheckUTF8
+xmlCheckUTF8
xmlNanoFTPInit
xmlNanoHTTPInit
xmlParseElementChildrenContentDecl
@@ -394,19 +393,19 @@ A:link, A:visited, A:active { text-decoration: underline } xmlFreePatternList
xmlXPathFreeCompExpr
compare
xmlListDataCompare
-xmlUTF8Charcmp
+xmlUTF8Charcmp
xmlXPathCompareValues
compared
xmlXPathCompareValues
-
compares
xmlUTF8Charcmp
+
compares
xmlUTF8Charcmp
comparing
xmlXPathCompareValues
comparison
xmlHashScan3
xmlHashScanFull3
xmlListCreate
xmlParseCharEncoding
-xmlStrcasecmp
-xmlStrcmp
-xmlStrncasecmp
-xmlStrncmp
+xmlStrcasecmp
+xmlStrcmp
+xmlStrncasecmp
+xmlStrncmp
xmlXPathCompareValues
comparisons
xmlTextReaderConstString
xmlXPathSubstringFunction
@@ -512,12 +511,12 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSetDocCompressMode
comprising
xmlXPathIntersection
computation
xmlXPathOrderDocElems
-
compute
xmlUTF8Strlen
+
compute
xmlUTF8Strlen
computed
_xmlEntity
xmlSchemaValPredefTypeNode
xmlSchemaValidatePredefinedType
concat
xmlXPathConcatFunction
-
concatenated
xmlStrcat
+
concatenated
xmlStrcat
concatenation
xmlXPathConcatFunction
condition
xmlSchemaValidateFacet
conditionalSect
xmlParseExternalSubset
@@ -591,7 +590,7 @@ A:link, A:visited, A:active { text-decoration: underline } isolat1ToUTF8
xmlCharEncodingInputFunc
xmlCharEncodingOutputFunc
-xmlGetUTF8Char
+xmlGetUTF8Char
xmlParserInputBufferRead
consuming
xmlScanName
contain
xmlNewTextChild
@@ -619,7 +618,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNodeListGetString
xmlParseElementChildrenContentDecl
xmlParseMarkupDecl
-xmlStrlen
+xmlStrlen
xmlXPathDistinct
xmlXPathDistinctSorted
contains
xmlCurrentChar
@@ -773,7 +772,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNewGlobalNs
xmlNewNs
creates
xmlCreateURI
-xmlStrncatNew
+xmlStrncatNew
creation
xmlIOHTTPOpenW
xmlNewNs
xmlRegisterNodeDefault
diff --git a/doc/APIchunk11.html b/doc/APIchunk11.html index 7fa467a7..7756005a 100644 --- a/doc/APIchunk11.html +++ b/doc/APIchunk11.html @@ -273,8 +273,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlLoadExternalEntity
desired
xmlBufferResize
xmlIOHTTPOpenW
-xmlUTF8Strloc
-xmlUTF8Strpos
+xmlUTF8Strloc
+xmlUTF8Strpos
destination
xmlIOHTTPOpenW
xmlURIUnescapeString
destroy
xmlTextReaderCurrentDoc
@@ -350,8 +350,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlBuildQName
xmlCatalogAdd
xmlNodeGetBase
-xmlStrEqual
-xmlStrQEqual
+xmlStrEqual
+xmlStrQEqual
differentiate
xmlXPathOrderDocElems
digit
xmlXPathStringFunction
digits
xmlXPathStringFunction
@@ -438,7 +438,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSAXParseMemoryWithData
xmlXPathOrderDocElems
does
_xmlEntity
-xmlCheckUTF8
+xmlCheckUTF8
xmlCtxtResetLastError
xmlGetNoNsProp
xmlGetNsProp
@@ -472,7 +472,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParserInputRead
xmlPatternMatch
xmlRemoveProp
-xmlUTF8Strlen
+xmlUTF8Strlen
xmlValidateRoot
xmlXPathLeading
xmlXPathLeadingSorted
diff --git a/doc/APIchunk12.html b/doc/APIchunk12.html index 154e0752..18598e71 100644 --- a/doc/APIchunk12.html +++ b/doc/APIchunk12.html @@ -113,16 +113,16 @@ A:link, A:visited, A:active { text-decoration: underline }
encoded
_xmlOutputBuffer
_xmlParserInput
_xmlParserInputBuffer
-xmlCheckUTF8
-xmlGetUTF8Char
+xmlCheckUTF8
+xmlGetUTF8Char
xmlSplitQName
-xmlStrcat
-xmlStrdup
+xmlStrcat
+xmlStrdup
xmlTextWriterWriteBase64
xmlTextWriterWriteBinHex
-xmlUTF8Strlen
-xmlUTF8Strsize
-xmlUTF8Strsub
+xmlUTF8Strlen
+xmlUTF8Strsize
+xmlUTF8Strsub
encoder
_xmlOutputBuffer
_xmlParserInputBuffer
xmlCharEncOutFunc
@@ -207,8 +207,8 @@ A:link, A:visited, A:active { text-decoration: underline }
equal
xmlAddChild
xmlAddNextSibling
xmlAddPrevSibling
-xmlStrEqual
-xmlStrQEqual
+xmlStrEqual
+xmlStrQEqual
xmlTextReaderConstName
xmlTextReaderName
xmlXPathCompareValues
@@ -223,15 +223,11 @@ A:link, A:visited, A:active { text-decoration: underline } xmlListDataCompare
equivalent
xmlMallocAtomicLoc
xmlMallocLoc
-xmlMemFree
-xmlMemMalloc
-xmlMemRealloc
xmlMemStrdupLoc
-xmlMemoryStrdup
xmlNodeListGetRawString
xmlNodeListGetString
xmlReallocLoc
-xmlUTF8Strpos
+xmlUTF8Strpos
xmlXPathCastToString
xmlXPathConvertBoolean
xmlXPathConvertNumber
@@ -371,7 +367,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSAXParseEntity
extSubset
xmlParseExternalSubset
extSubsetDecl
xmlParseExternalSubset
-
extend
xmlStrncat
+
extend
xmlStrncat
xmlValidGetPotentialChildren
extended
xlinkExtendedLinkFunk
xlinkExtendedLinkSetFunk
diff --git a/doc/APIchunk13.html b/doc/APIchunk13.html index 5756973b..1b88e414 100644 --- a/doc/APIchunk13.html +++ b/doc/APIchunk13.html @@ -116,7 +116,7 @@ A:link, A:visited, A:active { text-decoration: underline }
fashion
xmlNewRMutex
fast
htmlInitAutoClose
faster
htmlNodeStatus
-xmlStrEqual
+xmlStrEqual
fatal
fatalErrorSAXFunc
fatalError
fatalErrorSAXFunc
feature
xmlGetFeature
@@ -132,7 +132,7 @@ A:link, A:visited, A:active { text-decoration: underline }
fetching
docbCreatePushParserCtxt
htmlCreatePushParserCtxt
xmlCreatePushParserCtxt
-xmlUTF8Strpos
+xmlUTF8Strpos
field
XML_COMPLETE_ATTRS
XML_DETECT_IDS
XML_SKIP_IDS
@@ -275,8 +275,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSaveFormatFile
xmlSaveFormatFileEnc
xmlSaveFormatFileTo
-xmlStrPrintf
-xmlStrVPrintf
+xmlStrPrintf
+xmlStrVPrintf
formed
_xmlParserCtxt
htmlSAXParseDoc
htmlSAXParseFile
@@ -314,7 +314,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSplitQName3
xmlTextReaderExpand
xmlURIUnescapeString
-xmlUTF8Strlen
+xmlUTF8Strlen
fully
_htmlElemDesc
func
_xmlXPathContext
funcs
_xmlXPathContext
diff --git a/doc/APIchunk14.html b/doc/APIchunk14.html index 92db59ba..328f5e81 100644 --- a/doc/APIchunk14.html +++ b/doc/APIchunk14.html @@ -231,16 +231,16 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseSDDecl
xmlParserHandlePEReference
xmlParserHandleReference
-xmlStrEqual
+xmlStrEqual
xmlTextReaderHasValue
xmlTextReaderReadAttributeValue
xmlValidateDocumentFinal
xmlValidateDtdFinal
xmlXPathIdFunction
xmlXPathSubstringFunction
-
haystack
xmlStrcasestr
-xmlStrstr
-xmlStrsub
+
haystack
xmlStrcasestr
+xmlStrstr
+xmlStrsub
header
xmlNanoHTTPAuthHeader
xmlNanoHTTPRedir
xmlParseTextDecl
diff --git a/doc/APIchunk15.html b/doc/APIchunk15.html index f450e584..b27c3ec8 100644 --- a/doc/APIchunk15.html +++ b/doc/APIchunk15.html @@ -182,7 +182,7 @@ A:link, A:visited, A:active { text-decoration: underline } namePush
nodePush
xmlParserFindNodeInfoIndex
-xmlStrsub
+xmlStrsub
xmlTextReaderGetAttributeNo
xmlTextReaderMoveToAttributeNo
xmlXPathNodeSetRemove
@@ -232,10 +232,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlInitNodeInfoSeq
xmlMallocAtomicLoc
xmlMallocLoc
-xmlMemMalloc
-xmlMemRealloc
xmlMemStrdupLoc
-xmlMemoryStrdup
xmlNanoFTPList
xmlParserAddNodeInfo
xmlParserFindNodeInfo
@@ -295,9 +292,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlAutomataGetInitState
xmlBufferCreateSize
xmlInitNodeInfoSeq
-xmlMemRealloc
xmlMemStrdupLoc
-xmlMemoryStrdup
xmlReallocLoc
xmlShell
xmlXPathNodeSetAdd
@@ -377,10 +372,31 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNewPI
xmlSAX2ProcessingInstruction
insufficient
xmlCanonicPath
-
integer
xmlStrcasecmp
-xmlStrcmp
-xmlStrncasecmp
-xmlStrncmp
+
int
_xmlParserCtxt
+c
+getColumnNumber
+getLineNumber
+htmlHandleOmittedElem
+htmlParseCharRef
+xmlIsLetter
+xmlKeepBlanksDefault
+xmlLineNumbersDefault
+xmlMallocAtomicLoc
+xmlMallocLoc
+xmlMemUsed
+xmlParseCharData
+xmlParseCharRef
+xmlPedanticParserDefault
+xmlReallocLoc
+xmlSAX2GetColumnNumber
+xmlSAX2GetLineNumber
+xmlShellCmd
+xmlSplitQName3
+xmlSubstituteEntitiesDefault
+
integer
xmlStrcasecmp
+xmlStrcmp
+xmlStrncasecmp
+xmlStrncmp
xmlXPathCeilingFunction
xmlXPathFloorFunction
xmlXPathRoundFunction
@@ -437,8 +453,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlGetFeaturesList
xmlNewIOInputStream
xmlParserAddNodeInfo
-xmlStrPrintf
-xmlStrVPrintf
+xmlStrPrintf
+xmlStrVPrintf
xmlTextMerge
xmlTextReaderReadAttributeValue
xmlXPathIdFunction
diff --git a/doc/APIchunk16.html b/doc/APIchunk16.html index da1b975c..fac04dbb 100644 --- a/doc/APIchunk16.html +++ b/doc/APIchunk16.html @@ -70,7 +70,7 @@ A:link, A:visited, A:active { text-decoration: underline } _xmlSchemaFacet
_xmlSchemaNotation
_xmlSchemaType
-
know
BAD_CAST
+
know
BAD_CAST
knowledge
htmlAttrAllowed
known
_xmlParserInput
xmlAllocParserInputBuffer
@@ -92,8 +92,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCharEncodingOutputFunc
xmlMallocAtomicLoc
xmlMallocLoc
-xmlMemMalloc
-xmlMemRealloc
xmlReallocLoc
lang
xmlNodeGetLang
xmlXPathLangFunction
@@ -139,18 +137,18 @@ A:link, A:visited, A:active { text-decoration: underline }
legacy
htmlNodeStatus
len
xmlBufferAdd
xmlBufferAddHead
-xmlCharStrndup
+xmlCharStrndup
xmlDecodeEntities
xmlGetFeaturesList
-xmlGetUTF8Char
+xmlGetUTF8Char
xmlNewDocTextLen
xmlNewTextLen
xmlSplitQName3
-xmlStrncat
-xmlStrncatNew
-xmlStrndup
-xmlUTF8Strndup
-xmlUTF8Strsize
+xmlStrncat
+xmlStrncatNew
+xmlStrndup
+xmlUTF8Strndup
+xmlUTF8Strsize
lenght
xmlRelaxNGValidatePushCData
xmlSplitQName3
xmlValidatePushCData
@@ -311,7 +309,7 @@ A:link, A:visited, A:active { text-decoration: underline }
local-name
xmlXPathLocalNameFunction
localname
startElementNsSAX2Func
xmlSAX2StartElementNs
-xmlStrQEqual
+xmlStrQEqual
location
htmlParseEntityRef
xmlGetFeature
xmlNanoHTTPFetch
@@ -320,7 +318,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlRelaxNGNewParserCtxt
xmlSchemaNewParserCtxt
xmlSetFeature
-xmlUTF8Strloc
+xmlUTF8Strloc
xmlXPtrLocationSetAdd
locations
_xmlLocationSet
locator
setDocumentLocator
@@ -340,10 +338,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlUnlockLibrary
logging
xmlMallocAtomicLoc
xmlMallocLoc
-xmlMemMalloc
-xmlMemRealloc
xmlMemStrdupLoc
-xmlMemoryStrdup
xmlReallocLoc
long
IS_BASECHAR
IS_COMBINING
@@ -351,7 +346,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlDetectCharEncoding
xmlParserFindNodeInfoIndex
longer
XML_MAX_NAMELEN
-xmlCheckUTF8
+xmlCheckUTF8
xmlXPathTranslateFunction
look-ahead
_xmlParserCtxt
lookahead
xmlParserInputGrow
diff --git a/doc/APIchunk17.html b/doc/APIchunk17.html index ecb0a2a7..28a1e9e3 100644 --- a/doc/APIchunk17.html +++ b/doc/APIchunk17.html @@ -60,7 +60,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlMallocFunc
xmlMallocLoc
xmlMemGet
-xmlMemMalloc
xmlMemSetup
mallocAtomicFunc
xmlGcMemGet
xmlGcMemSetup
@@ -79,8 +78,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlTextWriterEndDTDEntity
xmlTextWriterWriteDocType
xmlTextWriterWriteProcessingInstruction
-
mark
xmlStrcat
-xmlStrdup
+
mark
xmlStrcat
+xmlStrdup
xmlTextReaderQuoteChar
marked
_xmlParserInput
marker
xmlDecodeEntities
@@ -129,12 +128,12 @@ A:link, A:visited, A:active { text-decoration: underline } xmlOutputBufferCreateFilename
xmlSetCompressMode
xmlSetDocCompressMode
-xmlStrncasecmp
-xmlStrncmp
+xmlStrncasecmp
+xmlStrncmp
maximal
xmlAutomataNewCounter
maximum
xmlAutomataNewCountTrans
xmlAutomataNewOnceTrans
-xmlCheckUTF8
+xmlCheckUTF8
means
xmlSetGenericErrorFunc
xmlSetStructuredErrorFunc
mechanism
_xmlXPathContext
@@ -179,8 +178,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParserValidityError
xmlParserValidityWarning
xmlParserWarning
-xmlStrPrintf
-xmlStrVPrintf
+xmlStrPrintf
+xmlStrVPrintf
xmlValidityErrorFunc
xmlValidityWarningFunc
xmlXPatherror
@@ -252,7 +251,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseElementDecl
xmlParseElementMixedContentDecl
xmlParseStartTag
-xmlStrEqual
+xmlStrEqual
xmlTextReaderNext
xmlTextReaderNextSibling
xmlTextReaderRead
diff --git a/doc/APIchunk18.html b/doc/APIchunk18.html index a624483d..ea860b03 100644 --- a/doc/APIchunk18.html +++ b/doc/APIchunk18.html @@ -70,7 +70,7 @@ A:link, A:visited, A:active { text-decoration: underline }
nearly
xmlSAXParseFileWithData
xmlSAXParseMemoryWithData
necessary
_htmlElemDesc
-xmlCheckUTF8
+xmlCheckUTF8
xmlDebugDumpString
need
WITH_TRIO
XML_SUBSTITUTE_BOTH
@@ -100,7 +100,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlReconciliateNs
xmlSetBufferAllocationScheme
xmlShellPwd
-xmlStrncat
+xmlStrncat
xmlTextReaderCurrentDoc
xmlValidCtxtNormalizeAttributeValue
xmlValidNormalizeAttributeValue
@@ -113,8 +113,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathStringFunction
needing
xmlCharEncOutFunc
xmlURIEscape
-
needle
xmlStrcasestr
-xmlStrstr
+
needle
xmlStrcasestr
+xmlStrstr
needs
xmlEntityReferenceFunc
xmlXPathNodeSetFreeNs
negativa
xmlRegexpExec
@@ -222,7 +222,7 @@ A:link, A:visited, A:active { text-decoration: underline }
normally
c
notations
_xmlDtd
xmlValidateDtdFinal
-
note
xmlCheckUTF8
+
note
xmlCheckUTF8
xmlLoadExternalEntity
now
_xmlSchema
xmlDecodeEntities
@@ -232,11 +232,11 @@ A:link, A:visited, A:active { text-decoration: underline }
null
xmlHashScan3
xmlHashScanFull3
xmlShellDu
-
null-terminated
xmlCheckUTF8
+
null-terminated
xmlCheckUTF8
number:
LIBXML_VERSION
number?
xmlXPathSubstringFunction
numbers
xmlLineNumbersDefault
-xmlUTF8Size
+xmlUTF8Size
xmlXPathAddValues
xmlXPathCompareValues
xmlXPathDivValues
diff --git a/doc/APIchunk19.html b/doc/APIchunk19.html index acbf47bd..b6263ede 100644 --- a/doc/APIchunk19.html +++ b/doc/APIchunk19.html @@ -60,18 +60,17 @@ A:link, A:visited, A:active { text-decoration: underline }
occurences
xmlAutomataNewCountTrans
xmlAutomataNewOnceTrans
occurred
xmlMemStrdupLoc
-xmlMemoryStrdup
-
occurrence
xmlStrcasestr
-xmlStrchr
-xmlStrstr
-xmlStrsub
+
occurrence
xmlStrcasestr
+xmlStrchr
+xmlStrstr
+xmlStrsub
xmlXPathSubstringAfterFunction
xmlXPathSubstringBeforeFunction
occurrences
xmlXPathTranslateFunction
occurs
xmlNormalizeURIPath
xmlParseSDDecl
-xmlStrPrintf
-xmlStrVPrintf
+xmlStrPrintf
+xmlStrVPrintf
ocetes
xmlCharEncodingOutputFunc
octets
UTF8ToHtml
UTF8Toisolat1
@@ -244,9 +243,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlListMerge
xmlParseEntityValue
xmlShellSave
-xmlStrcat
-xmlStrncat
-xmlStrncatNew
+xmlStrcat
+xmlStrncat
+xmlStrncatNew
xmlXPathObjectCopy
other
htmlAutoCloseTag
htmlIsAutoClosed
diff --git a/doc/APIchunk2.html b/doc/APIchunk2.html index 1f8037e2..9de488d6 100644 --- a/doc/APIchunk2.html +++ b/doc/APIchunk2.html @@ -326,7 +326,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseEnumeratedType
xmlParseEnumerationType
xmlValidateAttributeDecl
-
Equal
xmlStrQEqual
+
Equal
xmlStrQEqual
Escaping
xmlURIEscape
Ethiopic
xmlUCSIsEthiopic
Evaluate
xmlXPathCompiledEval
@@ -379,7 +379,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseEntityDecl
xmlParseExternalID
xmlParseNotationDecl
-
Extract
xmlStrsub
+
Extract
xmlStrsub

A-B C-C D-E diff --git a/doc/APIchunk20.html b/doc/APIchunk20.html index 18ecb35a..d79c380c 100644 --- a/doc/APIchunk20.html +++ b/doc/APIchunk20.html @@ -52,8 +52,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParserValidityError
xmlParserValidityWarning
xmlParserWarning
-xmlStrPrintf
-xmlStrVPrintf
+xmlStrPrintf
+xmlStrVPrintf
xmlTextWriterWriteFormatAttribute
xmlTextWriterWriteFormatAttributeNS
xmlTextWriterWriteFormatCDATA
@@ -144,8 +144,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlGcMemGet
xmlMemGet
xmlReplaceNode
-

places
xmlStrPrintf
-xmlStrVPrintf
+
places
xmlStrPrintf
+xmlStrVPrintf
plug
xmlXPathFuncLookupFunc
xmlXPathVariableLookupFunc
plus
UTF8ToHtml
@@ -169,11 +169,11 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNanoHTTPScanProxy
portable
xmlXPathIsInf
xmlXPathIsNaN
-
pos
xmlUTF8Strsub
+
pos
xmlUTF8Strsub
position:
xmlXPathSubstringFunction
positioned
xmlTextReaderReadString
positionned
xmlTextReaderReadAttributeValue
-
positions
xmlUTF8Strsub
+
positions
xmlUTF8Strsub
positive
UTF8ToHtml
UTF8Toisolat1
docbEncodeEntities
@@ -330,7 +330,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlRelaxNGValidatePopElement
xmlRelaxNGValidatePushCData
xmlRelaxNGValidatePushElement
-xmlUTF8Strsub
+xmlUTF8Strsub
xmlValidatePopElement
xmlValidatePushCData
xmlValidatePushElement
@@ -371,7 +371,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlStringGetNodeList
xmlStringLenGetNodeList
produced
xmlCurrentChar
-
producing
xmlCheckUTF8
+
producing
xmlCheckUTF8
production:
xmlCheckLanguageID
productions
xmlCheckLanguageID
program
xmlXPtrNewContext
@@ -438,14 +438,14 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSaveFormatFileEnc
xmlSaveFormatFileTo
xmlSchemaValidateStream
-xmlUTF8Strloc
-xmlUTF8Strpos
+xmlUTF8Strloc
+xmlUTF8Strpos
provides
endElementNsSAX2Func
startElementNsSAX2Func
xmlSAX2EndElementNs
xmlSAX2StartElementNs
providing
INPUT_CHUNK
-
provoked
xmlCheckUTF8
+
provoked
xmlCheckUTF8
proximity
_xmlXPathContext
proxy
xmlNanoFTPCleanup
xmlNanoFTPInit
@@ -469,7 +469,7 @@ A:link, A:visited, A:active { text-decoration: underline }
pushed
xmlXPathFunction
pushing
xmlParsePEReference
put
xmlCatalogAdd
-
putative
xmlCheckUTF8
+
putative
xmlCheckUTF8
pwd
xmlShellPwd

A-B C-C diff --git a/doc/APIchunk21.html b/doc/APIchunk21.html index cc053760..2e7420d2 100644 --- a/doc/APIchunk21.html +++ b/doc/APIchunk21.html @@ -106,7 +106,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlUnlockLibrary
reached
xmlRegExecPushString
xmlRegExecPushString2
-
readable
xmlStrEqual
+
readable
xmlStrEqual
reader
xmlCtxtReadFd
xmlFreeTextReader
xmlReadFd
@@ -141,12 +141,11 @@ A:link, A:visited, A:active { text-decoration: underline } xmlGcMemGet
xmlGcMemSetup
xmlMemGet
-xmlMemRealloc
xmlMemSetup
xmlReallocFunc
xmlReallocLoc
reallocated
xmlReallocFunc
-xmlStrncat
+xmlStrncat
really
HTML_COMMENT_NODE
HTML_ENTITY_REF_NODE
HTML_PI_NODE
@@ -318,8 +317,8 @@ A:link, A:visited, A:active { text-decoration: underline }
relationships
_htmlElemDesc
relative
xmlTextReaderGetAttributeNo
xmlTextReaderMoveToAttributeNo
-xmlUTF8Strloc
-xmlUTF8Strsub
+xmlUTF8Strloc
+xmlUTF8Strsub
relativeURI
xmlParseURI
xmlParseURIReference
release
xmlClearNodeInfoSeq
diff --git a/doc/APIchunk22.html b/doc/APIchunk22.html index 894cb853..050b0b11 100644 --- a/doc/APIchunk22.html +++ b/doc/APIchunk22.html @@ -34,7 +34,7 @@ A:link, A:visited, A:active { text-decoration: underline } u-w x-x y-z -

Letter s:

safe
BAD_CAST
+

Letter s:

safe
BAD_CAST
xmlInitializeCatalog
xmlLoadCatalog
xmlLoadCatalogs
@@ -50,8 +50,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseMarkupDecl
xmlParseStartTag
xmlReplaceNode
-xmlStrEqual
-xmlStrncatNew
+xmlStrEqual
+xmlStrncatNew
xmlXPathCmpNodes
xmlXPathIdFunction
xmlXPathLangFunction
@@ -133,9 +133,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlListReverseSearch
xmlListSearch
xmlSearchNs
-xmlStrcasestr
-xmlStrchr
-xmlStrstr
+xmlStrcasestr
+xmlStrchr
+xmlStrstr
section
HTML_PRESERVE_NODE
xmlBuildURI
xmlCatalogSetDefaultPrefer
@@ -166,18 +166,18 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCharEncOutFunc
xmlClearNodeInfoSeq
xmlCurrentChar
-xmlGetUTF8Char
+xmlGetUTF8Char
xmlInitNodeInfoSeq
xmlParseAttValue
xmlParseBalancedChunkMemory
xmlParseBalancedChunkMemoryRecover
xmlParserAddNodeInfo
xmlParserFindNodeInfoIndex
-xmlUTF8Strlen
-xmlUTF8Strsize
-xmlUTF8Strsub
+xmlUTF8Strlen
+xmlUTF8Strsize
+xmlUTF8Strsub
xmlXPathIdFunction
-
sequences
xmlCheckUTF8
+
sequences
xmlCheckUTF8
xmlParseAttValue
xmlValidCtxtNormalizeAttributeValue
xmlValidNormalizeAttributeValue
@@ -443,8 +443,6 @@ A:link, A:visited, A:active { text-decoration: underline }
specify
xmlTextReaderLookupNamespace
specifying
xmlMallocAtomicLoc
xmlMallocLoc
-xmlMemMalloc
-xmlMemRealloc
xmlReallocLoc
speed
xmlXPathOrderDocElems
speedup
xmlTextReaderConstString
@@ -532,7 +530,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlReconciliateNs
stop
xmlListWalker
stops
xmlTextReaderGetRemainder
-
storage
xmlUTF8Strsize
+
storage
xmlUTF8Strsize
store
UTF8ToHtml
UTF8Toisolat1
docbEncodeEntities
@@ -561,18 +559,17 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathOrderDocElems
str
htmlParseEntityRef
xmlBufferAdd
-
strcasecmp
xmlStrcasecmp
-
strcat
xmlStrcat
-
strchr
xmlStrchr
-
strcmp
xmlStrcmp
-
strdup
xmlCharStrdup
+
strcasecmp
xmlStrcasecmp
+
strcat
xmlStrcat
+
strchr
xmlStrchr
+
strcmp
xmlStrcmp
+
strdup
xmlCharStrdup
xmlGcMemGet
xmlGcMemSetup
xmlMemGet
xmlMemSetup
xmlMemStrdupLoc
-xmlMemoryStrdup
-xmlStrdup
+xmlStrdup
xmlStrdupFunc
stream
_xmlParserCtxt
xmlCheckHTTPInput
@@ -606,16 +603,16 @@ A:link, A:visited, A:active { text-decoration: underline } xmlGetFeaturesList
xmlPatterncompile
xmlRegexpCompile
-xmlStrncatNew
+xmlStrncatNew
stripping
xmlXPathNormalizeFunction
-
strncasecmp
xmlStrncasecmp
-
strncat
xmlStrncat
-
strncmp
xmlStrncmp
-
strndup
xmlCharStrndup
-xmlStrndup
-xmlUTF8Strndup
-
strstr
xmlStrcasestr
-xmlStrstr
+
strncasecmp
xmlStrncasecmp
+
strncat
xmlStrncat
+
strncmp
xmlStrncmp
+
strndup
xmlCharStrndup
+xmlStrndup
+xmlUTF8Strndup
+
strstr
xmlStrcasestr
+xmlStrstr
struct
xmlFreeMutex
xmlFreeURI
xmlNewMutex
@@ -685,8 +682,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXIncludeProcessTreeFlags
substring
xmlNodeAddContent
xmlNodeAddContentLen
-xmlStrsub
-xmlUTF8Strsub
+xmlStrsub
+xmlUTF8Strsub
xmlXPathSubstringAfterFunction
xmlXPathSubstringBeforeFunction
xmlXPathSubstringFunction
@@ -747,7 +744,7 @@ A:link, A:visited, A:active { text-decoration: underline }
sum
xmlXPathSubstringFunction
xmlXPathSumFunction
super
xmlLoadSGMLSuperCatalog
-
super-strict
xmlCheckUTF8
+
super-strict
xmlCheckUTF8
supplied
xmlGetRefs
supported
xmlInitCharEncodingHandlers
xmlNanoFTPGetConnection
@@ -756,8 +753,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNewChild
xmlNewDocNode
xmlNewDocNodeEatName
-xmlStrcat
-xmlStrdup
+xmlStrcat
+xmlStrdup
sure
xmlURIEscape
xmlXPathNodeSetAddUnique
surprising
xmlRegisterCharEncodingHandler
diff --git a/doc/APIchunk23.html b/doc/APIchunk23.html index d97e0d2b..3ea33eb7 100644 --- a/doc/APIchunk23.html +++ b/doc/APIchunk23.html @@ -81,8 +81,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlReaderNewDoc
xmlSAX2StartElement
xmlStrdupFunc
-
termination
xmlStrcat
-xmlStrdup
+
termination
xmlStrcat
+xmlStrdup
test
xmlParserHandleReference
xmlXPathEqualValues
xmlXPathNotEqualValues
@@ -90,7 +90,7 @@ A:link, A:visited, A:active { text-decoration: underline }
testing
xmlRegexpCompile
text-node
xmlIsBlankNode
textDecl?
xmlParseExternalSubset
-
than
xmlCheckUTF8
+
than
xmlCheckUTF8
xmlNewNs
xmlParseAttribute
xmlParseAttributeType
@@ -99,7 +99,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseSDDecl
xmlParseStartTag
xmlSetGenericErrorFunc
-xmlStrEqual
+xmlStrEqual
xmlXPathCeilingFunction
xmlXPathCompareValues
xmlXPathFloorFunction
@@ -153,14 +153,14 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathStringFunction
xmlXPathTranslateFunction
these
_htmlElemDesc
-xmlCheckUTF8
+xmlCheckUTF8
xmlParseSDDecl
they
_htmlElemDesc
xmlCreatePushParserCtxt
-xmlStrEqual
-xmlStrQEqual
-xmlStrcat
-xmlStrdup
+xmlStrEqual
+xmlStrQEqual
+xmlStrcat
+xmlStrdup
thing
xmlSAXDefaultVersion
third
xmlHashAddEntry3
xmlHashLookup3
@@ -252,7 +252,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSetTreeDoc
total
_xmlOutputBuffer
xmlGetFeaturesList
-xmlUTF8Strsub
+xmlUTF8Strsub
touch
_xmlParserCtxt
track
xmlEntityReferenceFunc
tracking
xmlParserPrintFileContext
@@ -382,9 +382,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlHasProp
xmlLineNumbersDefault
two
_xmlParserCtxt
-xmlStrncatNew
+xmlStrncatNew
xmlTextMerge
-xmlUTF8Charcmp
+xmlUTF8Charcmp
xmlXPathCmpNodes
xmlXPathDifference
xmlXPathNodeSetMerge
diff --git a/doc/APIchunk24.html b/doc/APIchunk24.html index 8f571cfc..b2d1116f 100644 --- a/doc/APIchunk24.html +++ b/doc/APIchunk24.html @@ -68,7 +68,7 @@ A:link, A:visited, A:active { text-decoration: underline }
uniqueness
xmlValidateAttributeDecl
xmlValidateOneAttribute
xmlValidateOneNamespace
-
units
xmlUTF8Strsub
+
units
xmlUTF8Strsub
unknown
XML_SCHEMAS_ANYATTR_SKIP
XML_SCHEMAS_FACET_UNKNOWN
htmlCtxtUseOptions
@@ -148,7 +148,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNamespaceParseQName
xmlSplitQName
xmlSplitQName2
-
updates
xmlGetUTF8Char
+
updates
xmlGetUTF8Char
upon
checkNamespace
xlinkNodeDetectFunc
upper
xmlIsRef
@@ -204,7 +204,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlValidateNotationDecl
xmlValidityErrorFunc
xmlValidityWarningFunc
-
value:
xmlCheckUTF8
+
value:
xmlCheckUTF8
values:
xmlSetCompressMode
xmlSetDocCompressMode
xmlValidCtxtNormalizeAttributeValue
diff --git a/doc/APIchunk25.html b/doc/APIchunk25.html index b37f756d..b0a9ba8a 100644 --- a/doc/APIchunk25.html +++ b/doc/APIchunk25.html @@ -358,12 +358,12 @@ A:link, A:visited, A:active { text-decoration: underline } resolveEntitySAXFunc
xmlSAX2ResolveEntity
xmlSnprintfElementContent
xmlSprintfElementContent
-
xmlStrEqual
xmlStrEqual
+
xmlStrEqual
xmlStrEqual
xmlStrdup
xmlNewNode
xmlStringDecodeEntities
xmlDecodeEntities
xmlStringGetNodeList
xmlParseAttValue
-
xmlStrncat
xmlStrncatNew
-
xmlStrncmp
xmlUTF8Charcmp
+
xmlStrncat
xmlStrncatNew
+
xmlStrncmp
xmlUTF8Charcmp
xmlTextReader
xmlNewTextReader
xmlNewTextReaderFilename
xmlReaderNewDoc
diff --git a/doc/APIchunk26.html b/doc/APIchunk26.html index 4d2ad1da..769d8a90 100644 --- a/doc/APIchunk26.html +++ b/doc/APIchunk26.html @@ -68,7 +68,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlReaderForDoc
xmlReaderNewDoc
xmlStrdupFunc
-xmlStrsub
+xmlStrsub
xmlXPathBooleanFunction
xmlXPathStringFunction
zero-based
xmlTextReaderGetAttributeNo
diff --git a/doc/APIchunk3.html b/doc/APIchunk3.html index 9fc3012c..17625ae3 100644 --- a/doc/APIchunk3.html +++ b/doc/APIchunk3.html @@ -87,8 +87,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathTranslateFunction
Form
xmlBuildURI
Formating
htmlDocContentDumpOutput
-
Formats
xmlStrPrintf
-xmlStrVPrintf
+
Formats
xmlStrPrintf
+xmlStrVPrintf
xmlXPatherror
Formed
xmlRecoverDoc
xmlRecoverFile
diff --git a/doc/APIchunk4.html b/doc/APIchunk4.html index 2b0672b5..88638569 100644 --- a/doc/APIchunk4.html +++ b/doc/APIchunk4.html @@ -35,7 +35,7 @@ A:link, A:visited, A:active { text-decoration: underline } x-x y-z

Letter J:

Jan
_htmlElemDesc
-
Java
xmlCheckUTF8
+
Java
xmlCheckUTF8

Letter K:

Kanbun
xmlUCSIsKanbun
KangxiRadicals
xmlUCSIsKangxiRadicals
Kannada
xmlUCSIsKannada
@@ -274,7 +274,7 @@ A:link, A:visited, A:active { text-decoration: underline }
Note
ftpListCallback
htmlElementAllowedHere
xmlAddAttributeDecl
-xmlCheckUTF8
+xmlCheckUTF8
xmlDocDumpFormatMemory
xmlDocDumpFormatMemoryEnc
xmlDocDumpMemoryEnc
@@ -295,7 +295,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseAttValue
xmlParseNotationType
xmlRelaxNGNewDocParserCtxt
-xmlUTF8Strsub
+xmlUTF8Strsub
Number
_xmlParserCtxt
xmlXPathStringEvalNumber
xmlXPathStringFunction
diff --git a/doc/APIchunk5.html b/doc/APIchunk5.html index a61316d6..cc40b20c 100644 --- a/doc/APIchunk5.html +++ b/doc/APIchunk5.html @@ -131,7 +131,7 @@ A:link, A:visited, A:active { text-decoration: underline }
People
xmlEncodeEntities
PhoneticExtensions
xmlUCSIsPhoneticExtensions
Please
xmlNormalizeWindowsPath
-
Pointer
xmlCheckUTF8
+
Pointer
xmlCheckUTF8
Points
xmlXPtrNewRangePoints
Pop
xmlRelaxNGValidatePopElement
xmlValidatePopElement
@@ -238,7 +238,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSplitQName
xmlSplitQName2
xmlSplitQName3
-xmlStrQEqual
+xmlStrQEqual
xmlValidateQName
QNames
xmlHashQLookup2
QUIT
xmlNanoFTPQuit
diff --git a/doc/APIchunk6.html b/doc/APIchunk6.html index 16128697..4c9005c4 100644 --- a/doc/APIchunk6.html +++ b/doc/APIchunk6.html @@ -53,7 +53,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathSetTypeError
Read
xmlFileRead
xmlGetFeature
-xmlGetUTF8Char
+xmlGetUTF8Char
xmlIOFTPRead
xmlIOHTTPRead
xmlNodeBufGetContent
@@ -375,7 +375,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlMemSetup
xmlNanoFTPScanProxy
xmlNanoHTTPScanProxy
-xmlStrEqual
+xmlStrEqual
xmlStringGetNodeList
xmlStringLenGetNodeList
Show
xmlShellPwd
@@ -387,8 +387,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlStructuredErrorFunc
Similarly
xmlParseEntityRef
Simply
xmlCreateURI
-
Since
xmlStrcat
-xmlStrdup
+
Since
xmlStrcat
+xmlStrdup
xmlTextReaderNormalization
Sinhala
xmlUCSIsSinhala
Skip
XML_SCHEMAS_ANYATTR_SKIP
diff --git a/doc/APIchunk7.html b/doc/APIchunk7.html index 43968403..a3a33f0a 100644 --- a/doc/APIchunk7.html +++ b/doc/APIchunk7.html @@ -168,7 +168,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseElementMixedContentDecl
xmlSetBufferAllocationScheme
xmlValidateElementDecl
-

Letter U:

UCS4
xmlUTF8Charcmp
+

Letter U:

UCS4
xmlUTF8Charcmp
UNICODE
_htmlEntityDesc
c
UNIX
xmlShell
@@ -185,17 +185,17 @@ A:link, A:visited, A:active { text-decoration: underline }
UTF8
_xmlBuffer
p
xmlCharEncOutFunc
-xmlGetUTF8Char
+xmlGetUTF8Char
xmlParseBalancedChunkMemory
xmlParseBalancedChunkMemoryRecover
xmlSplitQName
-xmlUTF8Charcmp
-xmlUTF8Size
-xmlUTF8Strlen
-xmlUTF8Strloc
-xmlUTF8Strndup
-xmlUTF8Strpos
-xmlUTF8Strsize
+xmlUTF8Charcmp
+xmlUTF8Size
+xmlUTF8Strlen
+xmlUTF8Strloc
+xmlUTF8Strndup
+xmlUTF8Strpos
+xmlUTF8Strsize
Ugaritic
xmlUCSIsUgaritic
Unescaping
xmlURIUnescapeString
Unicode
IS_CHAR
diff --git a/doc/APIchunk8.html b/doc/APIchunk8.html index 854a05ac..4896feb0 100644 --- a/doc/APIchunk8.html +++ b/doc/APIchunk8.html @@ -334,8 +334,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSaveFormatFile
xmlSaveFormatFileEnc
xmlSaveFormatFileTo
-xmlStrcat
-xmlStrncat
+xmlStrcat
+xmlStrncat
xmlXPathNodeSetMerge
xmlXPtrLocationSetMerge
adding
xmlLoadSGMLSuperCatalog
@@ -403,8 +403,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlBuildQName
xmlMallocAtomicLoc
xmlMallocLoc
-xmlMemMalloc
-xmlMemRealloc
xmlNewMutex
xmlNewRMutex
xmlReallocLoc
@@ -413,10 +411,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlGetBufferAllocationScheme
xmlMallocAtomicLoc
xmlMallocLoc
-xmlMemMalloc
-xmlMemRealloc
xmlMemStrdupLoc
-xmlMemoryStrdup
xmlNormalizeURIPath
xmlReallocLoc
xmlSetBufferAllocationScheme
@@ -433,7 +428,7 @@ A:link, A:visited, A:active { text-decoration: underline } htmlAttrAllowed
htmlNodeStatus
xmlAutomataNewAllTrans
-xmlCheckUTF8
+xmlCheckUTF8
xmlCreatePushParserCtxt
xmlKeepBlanksDefault
xmlNewDocNode
@@ -598,8 +593,6 @@ A:link, A:visited, A:active { text-decoration: underline }
area
xmlBufferCreateStatic
xmlMallocAtomicLoc
xmlMallocLoc
-xmlMemMalloc
-xmlMemRealloc
xmlParserInputBufferCreateMem
xmlParserInputBufferCreateStatic
xmlReallocLoc
@@ -617,9 +610,9 @@ A:link, A:visited, A:active { text-decoration: underline }
arrays
_xmlParserCtxt
arry
xmlParserInputBufferPush
asked
xmlParseReference
-
assume
xmlStrcat
-xmlStrdup
-
assumed
xmlCheckUTF8
+
assume
xmlStrcat
+xmlStrdup
+
assumed
xmlCheckUTF8
assuming
xmlSaveFileTo
xmlSaveFormatFileTo
atomic
xmlGcMemGet
diff --git a/doc/APIchunk9.html b/doc/APIchunk9.html index 46522700..57c4bc35 100644 --- a/doc/APIchunk9.html +++ b/doc/APIchunk9.html @@ -56,9 +56,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaNewValidCtxt
xmlSetCompressMode
xmlSetDocCompressMode
-xmlStrcat
-xmlStrdup
-xmlStrsub
+xmlStrcat
+xmlStrdup
+xmlStrsub
xmlURIEscape
basically
getSystemId
xmlIsMixedElement
@@ -139,7 +139,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlTextWriterWriteBase64
xmlTextWriterWriteBinHex
bindings
_xmlSchema
-
bit
xmlStrEqual
+
bit
xmlStrEqual
blanks
xmlKeepBlanksDefault
xmlSkipBlankChars
bloc
xmlParseBalancedChunkMemory
@@ -163,7 +163,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseElementChildrenContentDecl
xmlParseMarkupDecl
xmlParseStartTag
-xmlStrEqual
+xmlStrEqual
xmlXPathCompareValues
xmlXPathIntersection
boundaries
_xmlParserCtxt
@@ -236,7 +236,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlACatalogAdd
xmlCatalogAdd
xmlCharEncFirstLine
-xmlCheckUTF8
+xmlCheckUTF8
xmlCleanupParser
xmlNewDocNode
xmlNewDocNodeEatName
@@ -245,7 +245,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParserInputBufferCreateStatic
xmlScanName
xmlSetupParserForBuffer
-xmlStrncatNew
+xmlStrncatNew
xmlURIEscape
xmlURIUnescapeString
xmlXPathFreeNodeSetList
@@ -270,8 +270,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCharEncOutFunc
xmlMallocAtomicLoc
xmlMallocLoc
-xmlMemMalloc
-xmlMemRealloc
xmlNanoFTPRead
xmlNanoHTTPRead
xmlOutputBufferClose
diff --git a/doc/APIconstructors.html b/doc/APIconstructors.html index 76f2671f..9949bce1 100644 --- a/doc/APIconstructors.html +++ b/doc/APIconstructors.html @@ -29,9 +29,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSAX2GetPublicId
xmlSAX2GetSystemId
xmlSplitQName3
-xmlStrcasestr
-xmlStrchr
-xmlStrstr
+xmlStrcasestr
+xmlStrchr
+xmlStrstr
xmlTextReaderConstBaseUri
xmlTextReaderConstLocalName
xmlTextReaderConstName
@@ -165,8 +165,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCatalogResolvePublic
xmlCatalogResolveSystem
xmlCatalogResolveURI
-xmlCharStrdup
-xmlCharStrndup
+xmlCharStrdup
+xmlCharStrndup
xmlDecodeEntities
xmlEncodeEntitiesReentrant
xmlEncodeSpecialChars
@@ -197,14 +197,14 @@ A:link, A:visited, A:active { text-decoration: underline } xmlScanName
xmlSplitQName
xmlSplitQName2
-xmlStrcat
-xmlStrdup
+xmlStrcat
+xmlStrdup
xmlStringDecodeEntities
xmlStringLenDecodeEntities
-xmlStrncat
-xmlStrncatNew
-xmlStrndup
-xmlStrsub
+xmlStrncat
+xmlStrncatNew
+xmlStrndup
+xmlStrsub
xmlTextReaderBaseUri
xmlTextReaderGetAttribute
xmlTextReaderGetAttributeNo
@@ -222,9 +222,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlTextReaderXmlLang
xmlURIEscape
xmlURIEscapeStr
-xmlUTF8Strndup
-xmlUTF8Strpos
-xmlUTF8Strsub
+xmlUTF8Strndup
+xmlUTF8Strpos
+xmlUTF8Strsub
xmlValidCtxtNormalizeAttributeValue
xmlValidNormalizeAttributeValue
xmlXPathCastBooleanToString
diff --git a/doc/APIfiles.html b/doc/APIfiles.html index c8d5723a..40e47a08 100644 --- a/doc/APIfiles.html +++ b/doc/APIfiles.html @@ -7,2839 +7,2839 @@ H1 {font-family: Verdana,Arial,Helvetica} H2 {font-family: Verdana,Arial,Helvetica} H3 {font-family: Verdana,Arial,Helvetica} A:link, A:visited, A:active { text-decoration: underline } -List of Symbols per Module for libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

The XML C parser and toolkit of Gnome

List of Symbols per Module for libxml2

Developer Menu
API Indexes
Related links

Module DOCBparser:

docbFreeParserCtxt
-docbParseDoc
+List of Symbols per Module for libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

The XML C parser and toolkit of Gnome

List of Symbols per Module for libxml2

Developer Menu
API Indexes
Related links

Module DOCBparser:

docbCreateFileParserCtxt
+docbCreatePushParserCtxt
docbDocPtr
-docbCreateFileParserCtxt
+docbEncodeEntities
+docbFreeParserCtxt
+docbParseChunk
+docbParseDoc
+docbParseDocument
+docbParseFile
+docbParserCtxt
docbParserCtxtPtr
+docbParserInput
+docbParserInputPtr
+docbSAXHandler
+docbSAXHandlerPtr
docbSAXParseDoc
docbSAXParseFile
-docbCreatePushParserCtxt
-docbEncodeEntities
-docbParseFile
-docbParseDocument
-docbParserInput
-docbSAXHandler
-docbParserCtxt
-docbSAXHandlerPtr
-docbParseChunk
-docbParserInputPtr
-

Module HTMLparser:

htmlParserNodeInfo
-htmlIsScriptAttribute
-htmlHandleOmittedElem
-HTML_VALID
-htmlCtxtReadDoc
-HTML_PARSE_NOWARNING
-htmlNodePtr
-htmlParserCtxtPtr
-HTML_DEPRECATED
-htmlParseFile
-htmlReadIO
-_htmlElemDesc
-htmlAutoCloseTag
-htmlParseChunk
-htmlTagLookup
-htmlCreateMemoryParserCtxt
-htmlCtxtReset
-htmlSAXHandler
-htmlElementAllowedHere
-htmlCtxtReadIO
-htmlSAXHandlerPtr
-htmlStatus
-htmlCreatePushParserCtxt
-htmlReadMemory
-htmlIsAutoClosed
-htmlDocPtr
-htmlReadDoc
-htmlParserOption
-htmlEntityDescPtr
-htmlEncodeEntities
-htmlParserCtxt
-HTML_REQUIRED
-htmlNodeStatus
-HTML_PARSE_NONET
-htmlAttrAllowed
-htmlDefaultSubelement
-htmlParseCharRef
-HTML_PARSE_NOBLANKS
-htmlSAXParseFile
-htmlParseEntityRef
-htmlParserInput
+

Module HTMLparser:

HTML_DEPRECATED
HTML_INVALID
-htmlElementStatusHere
-htmlEntityValueLookup
-htmlParseElement
-UTF8ToHtml
-htmlRequiredAttrs
-HTML_PARSE_PEDANTIC
-htmlEntityLookup
-_htmlEntityDesc
HTML_NA
-htmlFreeParserCtxt
-htmlCtxtReadMemory
-htmlCtxtReadFd
-htmlEntityDesc
-htmlElementAllowedHereDesc
+HTML_PARSE_NOBLANKS
HTML_PARSE_NOERROR
-htmlReadFile
+HTML_PARSE_NONET
+HTML_PARSE_NOWARNING
+HTML_PARSE_PEDANTIC
+HTML_REQUIRED
+HTML_VALID
+UTF8ToHtml
+_htmlElemDesc
+_htmlEntityDesc
+htmlAttrAllowed
+htmlAutoCloseTag
+htmlCreateMemoryParserCtxt
+htmlCreatePushParserCtxt
+htmlCtxtReadDoc
+htmlCtxtReadFd
htmlCtxtReadFile
-htmlElemDescPtr
-htmlElemDesc
-htmlSAXParseDoc
+htmlCtxtReadIO
+htmlCtxtReadMemory
+htmlCtxtReset
htmlCtxtUseOptions
-htmlParserInputPtr
-htmlReadFd
+htmlDefaultSubelement
+htmlDocPtr
+htmlElemDesc
+htmlElemDescPtr
+htmlElementAllowedHere
+htmlElementAllowedHereDesc
+htmlElementStatusHere
+htmlEncodeEntities
+htmlEntityDesc
+htmlEntityDescPtr
+htmlEntityLookup
+htmlEntityValueLookup
+htmlFreeParserCtxt
+htmlHandleOmittedElem
+htmlIsAutoClosed
+htmlIsScriptAttribute
+htmlNodePtr
+htmlNodeStatus
+htmlParseCharRef
+htmlParseChunk
htmlParseDoc
htmlParseDocument
-

Module HTMLtree:

htmlDocDumpMemory
-htmlSaveFile
+htmlParseElement
+htmlParseEntityRef
+htmlParseFile
+htmlParserCtxt
+htmlParserCtxtPtr
+htmlParserInput
+htmlParserInputPtr
+htmlParserNodeInfo
+htmlParserOption
+htmlReadDoc
+htmlReadFd
+htmlReadFile
+htmlReadIO
+htmlReadMemory
+htmlRequiredAttrs
+htmlSAXHandler
+htmlSAXHandlerPtr
+htmlSAXParseDoc
+htmlSAXParseFile
+htmlStatus
+htmlTagLookup
+

Module HTMLtree:

HTML_COMMENT_NODE
+HTML_ENTITY_REF_NODE
+HTML_PI_NODE
+HTML_PRESERVE_NODE
HTML_TEXT_NODE
-htmlNodeDump
-htmlNodeDumpFormatOutput
-htmlSaveFileEnc
-htmlNodeDumpOutput
+htmlDocContentDumpFormatOutput
+htmlDocContentDumpOutput
htmlDocDump
-htmlNewDoc
+htmlDocDumpMemory
htmlGetMetaEncoding
+htmlIsBooleanAttr
+htmlNewDoc
+htmlNewDocNoDtD
+htmlNodeDump
htmlNodeDumpFile
htmlNodeDumpFileFormat
-HTML_PRESERVE_NODE
-htmlSetMetaEncoding
-htmlNewDocNoDtD
-HTML_COMMENT_NODE
-htmlIsBooleanAttr
-HTML_PI_NODE
-HTML_ENTITY_REF_NODE
-htmlDocContentDumpFormatOutput
+htmlNodeDumpFormatOutput
+htmlNodeDumpOutput
+htmlSaveFile
+htmlSaveFileEnc
htmlSaveFileFormat
-htmlDocContentDumpOutput
-

Module SAX:

cdataBlock
-comment
-checkNamespace
-startElement
-inithtmlDefaultSAXHandler
-getColumnNumber
-endElement
-attribute
-namespaceDecl
-getNamespace
-initdocbDefaultSAXHandler
-setDocumentLocator
-getPublicId
-getEntity
-characters
-elementDecl
-ignorableWhitespace
-hasExternalSubset
-isStandalone
-unparsedEntityDecl
-reference
-globalNamespace
-initxmlDefaultSAXHandler
-hasInternalSubset
-processingInstruction
-getParameterEntity
+htmlSetMetaEncoding
+

Module SAX:

attribute
attributeDecl
-notationDecl
-entityDecl
-setNamespace
-externalSubset
-resolveEntity
-getSystemId
-startDocument
-internalSubset
+cdataBlock
+characters
+checkNamespace
+comment
+elementDecl
endDocument
+endElement
+entityDecl
+externalSubset
+getColumnNumber
+getEntity
getLineNumber
-

Module SAX2:

xmlSAX2CheckNamespace
-xmlSAX2EndElementNs
-xmlSAX2Reference
-xmlSAX2GetNamespace
-xmlSAX2ElementDecl
-xmlSAX2NamespaceDecl
+getNamespace
+getParameterEntity
+getPublicId
+getSystemId
+globalNamespace
+hasExternalSubset
+hasInternalSubset
+ignorableWhitespace
+initdocbDefaultSAXHandler
+inithtmlDefaultSAXHandler
+initxmlDefaultSAXHandler
+internalSubset
+isStandalone
+namespaceDecl
+notationDecl
+processingInstruction
+reference
+resolveEntity
+setDocumentLocator
+setNamespace
+startDocument
+startElement
+unparsedEntityDecl
+

Module SAX2:

docbDefaultSAXHandlerInit
+htmlDefaultSAXHandlerInit
+xmlDefaultSAXHandlerInit
xmlSAX2AttributeDecl
+xmlSAX2CDataBlock
+xmlSAX2Characters
+xmlSAX2CheckNamespace
+xmlSAX2Comment
+xmlSAX2ElementDecl
+xmlSAX2EndDocument
+xmlSAX2EndElement
+xmlSAX2EndElementNs
xmlSAX2EntityDecl
+xmlSAX2ExternalSubset
xmlSAX2GetColumnNumber
xmlSAX2GetEntity
-xmlSAX2UnparsedEntityDecl
-xmlSAX2InitDocbDefaultSAXHandler
-xmlSAXVersion
-xmlSAX2IgnorableWhitespace
-xmlSAX2NotationDecl
-xmlDefaultSAXHandlerInit
-xmlSAX2StartDocument
-xmlSAX2EndElement
-xmlSAX2ResolveEntity
-xmlSAX2ExternalSubset
-xmlSAX2GetPublicId
-xmlSAX2SetNamespace
-xmlSAX2IsStandalone
-xmlSAX2EndDocument
-xmlSAX2ProcessingInstruction
-xmlSAX2InternalSubset
-xmlSAX2Characters
-xmlSAX2Comment
-xmlSAX2StartElement
-xmlSAX2SetDocumentLocator
-xmlSAX2CDataBlock
-htmlDefaultSAXHandlerInit
-xmlSAX2HasExternalSubset
-xmlSAX2StartElementNs
-xmlSAX2GlobalNamespace
xmlSAX2GetLineNumber
-xmlSAX2HasInternalSubset
-xmlSAX2InitHtmlDefaultSAXHandler
-docbDefaultSAXHandlerInit
-xmlSAXDefaultVersion
-xmlSAX2InitDefaultSAXHandler
+xmlSAX2GetNamespace
xmlSAX2GetParameterEntity
+xmlSAX2GetPublicId
xmlSAX2GetSystemId
-

Module c14n:

xmlC14NExecute
-xmlC14NDocSaveTo
-xmlC14NIsVisibleCallback
+xmlSAX2GlobalNamespace
+xmlSAX2HasExternalSubset
+xmlSAX2HasInternalSubset
+xmlSAX2IgnorableWhitespace
+xmlSAX2InitDefaultSAXHandler
+xmlSAX2InitDocbDefaultSAXHandler
+xmlSAX2InitHtmlDefaultSAXHandler
+xmlSAX2InternalSubset
+xmlSAX2IsStandalone
+xmlSAX2NamespaceDecl
+xmlSAX2NotationDecl
+xmlSAX2ProcessingInstruction
+xmlSAX2Reference
+xmlSAX2ResolveEntity
+xmlSAX2SetDocumentLocator
+xmlSAX2SetNamespace
+xmlSAX2StartDocument
+xmlSAX2StartElement
+xmlSAX2StartElementNs
+xmlSAX2UnparsedEntityDecl
+xmlSAXDefaultVersion
+xmlSAXVersion
+

Module c14n:

xmlC14NDocDumpMemory
xmlC14NDocSave
-xmlC14NDocDumpMemory
-

Module catalog:

XML_CATA_ALLOW_NONE
-XML_CATALOGS_NAMESPACE
-xmlCatalogLocalResolve
-xmlACatalogAdd
-xmlCatalogResolvePublic
-xmlCatalogGetDefaults
-XML_CATA_PREFER_PUBLIC
-xmlCatalogAdd
-xmlCatalogSetDefaultPrefer
-xmlParseCatalogFile
-xmlACatalogResolveURI
-xmlACatalogRemove
-xmlLoadCatalogs
-xmlCatalogGetSystem
-xmlInitializeCatalog
-xmlLoadCatalog
+xmlC14NDocSaveTo
+xmlC14NExecute
+xmlC14NIsVisibleCallback
+

Module catalog:

XML_CATALOGS_NAMESPACE
XML_CATALOG_PI
-XML_CATA_ALLOW_GLOBAL
-xmlCatalogIsEmpty
-xmlACatalogDump
-xmlCatalogPtr
-xmlCatalogFreeLocal
-xmlACatalogResolve
-XML_CATA_PREFER_SYSTEM
-xmlCatalogResolveSystem
-xmlCatalogPrefer
-xmlLoadSGMLSuperCatalog
-xmlCatalogConvert
-XML_CATA_PREFER_NONE
-xmlCatalogGetPublic
XML_CATA_ALLOW_ALL
-xmlLoadACatalog
XML_CATA_ALLOW_DOCUMENT
-xmlACatalogResolveSystem
-xmlCatalogLocalResolveURI
-xmlConvertSGMLCatalog
+XML_CATA_ALLOW_GLOBAL
+XML_CATA_ALLOW_NONE
+XML_CATA_PREFER_NONE
+XML_CATA_PREFER_PUBLIC
+XML_CATA_PREFER_SYSTEM
+xmlACatalogAdd
+xmlACatalogDump
+xmlACatalogRemove
+xmlACatalogResolve
xmlACatalogResolvePublic
-xmlCatalogAddLocal
-xmlCatalogRemove
-xmlFreeCatalog
-xmlNewCatalog
-xmlCatalogAllow
-xmlCatalogSetDebug
-xmlCatalogResolve
+xmlACatalogResolveSystem
+xmlACatalogResolveURI
xmlCatalog
-xmlCatalogSetDefaults
-xmlCatalogDump
+xmlCatalogAdd
+xmlCatalogAddLocal
+xmlCatalogAllow
xmlCatalogCleanup
+xmlCatalogConvert
+xmlCatalogDump
+xmlCatalogFreeLocal
+xmlCatalogGetDefaults
+xmlCatalogGetPublic
+xmlCatalogGetSystem
+xmlCatalogIsEmpty
+xmlCatalogLocalResolve
+xmlCatalogLocalResolveURI
+xmlCatalogPrefer
+xmlCatalogPtr
+xmlCatalogRemove
+xmlCatalogResolve
+xmlCatalogResolvePublic
+xmlCatalogResolveSystem
xmlCatalogResolveURI
-

Module chvalid:

_xmlChSRange
-xmlIsPubidChar_ch
-xmlIsBlank
-xmlChLRange
-xmlIsIdeographicQ
-xmlCharInRange
-xmlIsBaseCharQ
-xmlIsDigitQ
-xmlIsExtenderGroup
-xmlIsBaseChar_ch
-xmlIsPubidCharQ
-xmlIsCombining
-xmlIsIdeographic
-xmlChLRangePtr
-xmlIsCharQ
+xmlCatalogSetDebug
+xmlCatalogSetDefaultPrefer
+xmlCatalogSetDefaults
+xmlConvertSGMLCatalog
+xmlFreeCatalog
+xmlInitializeCatalog
+xmlLoadACatalog
+xmlLoadCatalog
+xmlLoadCatalogs
+xmlLoadSGMLSuperCatalog
+xmlNewCatalog
+xmlParseCatalogFile
+

Module chvalid:

_xmlChLRange
_xmlChRangeGroup
+_xmlChSRange
+xmlChLRange
+xmlChLRangePtr
xmlChRangeGroup
-xmlIsChar_ch
-xmlIsExtender
-xmlIsDigitGroup
-xmlIsChar
-xmlIsBaseCharGroup
-xmlIsDigit
-xmlIsExtender_ch
-xmlIsPubidChar
-xmlChSRangePtr
-xmlIsExtenderQ
-xmlIsIdeographicGroup
-xmlIsCombiningQ
-xmlIsDigit_ch
xmlChRangeGroupPtr
xmlChSRange
-_xmlChLRange
-xmlIsPubidChar_tab
-xmlIsCharGroup
+xmlChSRangePtr
+xmlCharInRange
+xmlIsBaseChar
+xmlIsBaseCharGroup
+xmlIsBaseCharQ
+xmlIsBaseChar_ch
+xmlIsBlank
xmlIsBlankQ
xmlIsBlank_ch
+xmlIsChar
+xmlIsCharGroup
+xmlIsCharQ
+xmlIsChar_ch
+xmlIsCombining
xmlIsCombiningGroup
-xmlIsBaseChar
-

Module debugXML:

xmlShellWrite
-xmlDebugDumpEntities
-_xmlShellCtxt
-xmlShellCtxt
-xmlDebugDumpDTD
-xmlDebugDumpNode
+xmlIsCombiningQ
+xmlIsDigit
+xmlIsDigitGroup
+xmlIsDigitQ
+xmlIsDigit_ch
+xmlIsExtender
+xmlIsExtenderGroup
+xmlIsExtenderQ
+xmlIsExtender_ch
+xmlIsIdeographic
+xmlIsIdeographicGroup
+xmlIsIdeographicQ
+xmlIsPubidChar
+xmlIsPubidCharQ
+xmlIsPubidChar_ch
+xmlIsPubidChar_tab
+

Module debugXML:

_xmlShellCtxt
+xmlBoolToText
+xmlDebugDumpAttr
xmlDebugDumpAttrList
-xmlShellPrintNode
+xmlDebugDumpDTD
+xmlDebugDumpDocument
+xmlDebugDumpDocumentHead
+xmlDebugDumpEntities
+xmlDebugDumpNode
+xmlDebugDumpNodeList
+xmlDebugDumpOneNode
+xmlDebugDumpString
+xmlLsCountNode
xmlLsOneNode
+xmlShell
+xmlShellBase
+xmlShellCat
+xmlShellCmd
+xmlShellCtxt
+xmlShellCtxtPtr
+xmlShellDir
+xmlShellDu
+xmlShellList
+xmlShellLoad
+xmlShellPrintNode
+xmlShellPrintXPathError
+xmlShellPrintXPathResult
+xmlShellPwd
xmlShellReadlineFunc
xmlShellSave
-xmlShellPwd
-xmlBoolToText
-xmlShellBase
-xmlDebugDumpString
-xmlDebugDumpAttr
-xmlShellDu
-xmlDebugDumpNodeList
-xmlDebugDumpDocument
-xmlShellCat
-xmlShellDir
-xmlLsCountNode
xmlShellValidate
-xmlShellPrintXPathError
-xmlShellCtxtPtr
-xmlShellPrintXPathResult
-xmlDebugDumpOneNode
-xmlShellCmd
-xmlShellLoad
-xmlShellList
-xmlDebugDumpDocumentHead
-xmlShell
-

Module dict:

xmlDictQLookup
+xmlShellWrite
+

Module dict:

xmlDict
+xmlDictCreate
+xmlDictFree
+xmlDictLookup
+xmlDictOwns
xmlDictPtr
+xmlDictQLookup
xmlDictReference
xmlDictSize
-xmlDict
-xmlDictCreate
-xmlDictLookup
-xmlDictFree
-xmlDictOwns
-

Module encoding:

xmlDelEncodingAlias
-XML_CHAR_ENCODING_UCS4LE
-XML_CHAR_ENCODING_ERROR
-XML_CHAR_ENCODING_EUC_JP
-XML_CHAR_ENCODING_EBCDIC
-xmlGetEncodingAlias
-xmlUTF8Strloc
-xmlCleanupCharEncodingHandlers
-XML_CHAR_ENCODING_ASCII
-xmlFindCharEncodingHandler
-xmlCharEncCloseFunc
-XML_CHAR_ENCODING_UCS4_2143
-xmlUTF8Size
-xmlParseCharEncoding
-xmlUTF8Strpos
-XML_CHAR_ENCODING_NONE
-XML_CHAR_ENCODING_UTF16BE
+

Module encoding:

UTF8Toisolat1
XML_CHAR_ENCODING_2022_JP
-xmlCharEncodingHandler
-XML_CHAR_ENCODING_SHIFT_JIS
-xmlGetCharEncodingName
-xmlCheckUTF8
-UTF8Toisolat1
-xmlCharEncInFunc
-xmlAddEncodingAlias
-xmlCharEncodingHandlerPtr
-xmlCharEncOutFunc
-xmlCharEncodingInputFunc
-xmlGetCharEncodingHandler
-xmlUTF8Strsub
-xmlGetUTF8Char
-_xmlCharEncodingHandler
-XML_CHAR_ENCODING_UCS4BE
-isolat1ToUTF8
-xmlNewCharEncodingHandler
-xmlInitCharEncodingHandlers
-xmlRegisterCharEncodingHandler
-xmlCharEncFirstLine
-xmlCharEncoding
-XML_CHAR_ENCODING_UTF16LE
-xmlUTF8Strsize
-XML_CHAR_ENCODING_UCS4_3412
-xmlUTF8Charcmp
-xmlUTF8Strlen
-XML_CHAR_ENCODING_8859_8
-XML_CHAR_ENCODING_8859_9
-XML_CHAR_ENCODING_8859_6
-XML_CHAR_ENCODING_8859_7
-XML_CHAR_ENCODING_8859_4
-XML_CHAR_ENCODING_8859_5
+XML_CHAR_ENCODING_8859_1
XML_CHAR_ENCODING_8859_2
XML_CHAR_ENCODING_8859_3
-XML_CHAR_ENCODING_8859_1
-xmlCharEncodingOutputFunc
-xmlUTF8Strndup
-XML_CHAR_ENCODING_UTF8
+XML_CHAR_ENCODING_8859_4
+XML_CHAR_ENCODING_8859_5
+XML_CHAR_ENCODING_8859_6
+XML_CHAR_ENCODING_8859_7
+XML_CHAR_ENCODING_8859_8
+XML_CHAR_ENCODING_8859_9
+XML_CHAR_ENCODING_ASCII
+XML_CHAR_ENCODING_EBCDIC
+XML_CHAR_ENCODING_ERROR
+XML_CHAR_ENCODING_EUC_JP
+XML_CHAR_ENCODING_NONE
+XML_CHAR_ENCODING_SHIFT_JIS
XML_CHAR_ENCODING_UCS2
-xmlDetectCharEncoding
+XML_CHAR_ENCODING_UCS4BE
+XML_CHAR_ENCODING_UCS4LE
+XML_CHAR_ENCODING_UCS4_2143
+XML_CHAR_ENCODING_UCS4_3412
+XML_CHAR_ENCODING_UTF16BE
+XML_CHAR_ENCODING_UTF16LE
+XML_CHAR_ENCODING_UTF8
+_xmlCharEncodingHandler
+isolat1ToUTF8
+xmlAddEncodingAlias
+xmlCharEncCloseFunc
+xmlCharEncFirstLine
+xmlCharEncInFunc
+xmlCharEncOutFunc
+xmlCharEncoding
+xmlCharEncodingHandler
+xmlCharEncodingHandlerPtr
+xmlCharEncodingInputFunc
+xmlCharEncodingOutputFunc
+xmlCleanupCharEncodingHandlers
xmlCleanupEncodingAliases
-

Module entities:

xmlAddDocEntity
+xmlDelEncodingAlias
+xmlDetectCharEncoding
+xmlFindCharEncodingHandler
+xmlGetCharEncodingHandler
+xmlGetCharEncodingName
+xmlGetEncodingAlias
+xmlInitCharEncodingHandlers
+xmlNewCharEncodingHandler
+xmlParseCharEncoding
+xmlRegisterCharEncodingHandler
+

Module entities:

XML_EXTERNAL_GENERAL_PARSED_ENTITY
XML_EXTERNAL_GENERAL_UNPARSED_ENTITY
-xmlGetDtdEntity
-xmlAddDtdEntity
-xmlFreeEntitiesTable
XML_EXTERNAL_PARAMETER_ENTITY
-xmlEntitiesTable
-xmlEncodeSpecialChars
-XML_INTERNAL_PARAMETER_ENTITY
XML_INTERNAL_GENERAL_ENTITY
-xmlGetDocEntity
-xmlEncodeEntities
-xmlGetPredefinedEntity
-xmlInitializePredefinedEntities
-xmlEntitiesTablePtr
-XML_EXTERNAL_GENERAL_PARSED_ENTITY
-xmlEncodeEntitiesReentrant
-xmlEntityType
+XML_INTERNAL_PARAMETER_ENTITY
XML_INTERNAL_PREDEFINED_ENTITY
+_xmlEntity
+xmlAddDocEntity
+xmlAddDtdEntity
+xmlCleanupPredefinedEntities
xmlCopyEntitiesTable
-xmlGetParameterEntity
+xmlCreateEntitiesTable
xmlDumpEntitiesTable
xmlDumpEntityDecl
-xmlCleanupPredefinedEntities
-_xmlEntity
-xmlCreateEntitiesTable
-

Module globals:

xmlThrDefSetStructuredErrorFunc
-_xmlGlobalState
-xmlInitializeGlobalState
-xmlTreeIndentString
-xmlThrDefBufferAllocScheme
-xmlIndentTreeOutput
-xmlThrDefPedanticParserDefaultValue
-xmlBufferAllocScheme
-xmlRegisterNodeDefault
-xmlDefaultBufferSize
-xmlRegisterNodeDefaultValue
-xmlGetWarningsDefaultValue
-xmlThrDefTreeIndentString
+xmlEncodeEntities
+xmlEncodeEntitiesReentrant
+xmlEncodeSpecialChars
+xmlEntitiesTable
+xmlEntitiesTablePtr
+xmlEntityType
+xmlFreeEntitiesTable
+xmlGetDocEntity
+xmlGetDtdEntity
+xmlGetParameterEntity
+xmlGetPredefinedEntity
+xmlInitializePredefinedEntities
+

Module globals:

_xmlGlobalState
docbDefaultSAXHandler
-xmlGenericErrorContext
-xmlThrDefDefaultBufferSize
-xmlThrDefLoadExtDtdDefaultValue
-xmlDeregisterNodeDefaultValue
-xmlGenericError
-xmlDeregisterNodeDefault
-xmlMalloc
-xmlParserVersion
-xmlStructuredError
-xmlThrDefKeepBlanksDefaultValue
-xmlSaveNoEmptyTags
-xmlDeregisterNodeFunc
-xmlPedanticParserDefaultValue
-xmlParserDebugEntities
-xmlGlobalStatePtr
-xmlRealloc
-xmlThrDefRegisterNodeDefault
-xmlThrDefParserDebugEntities
-xmlMemStrdup
htmlDefaultSAXHandler
-xmlThrDefSetGenericErrorFunc
-xmlGlobalState
-xmlThrDefDoValidityCheckingDefaultValue
-xmlCleanupGlobals
-xmlDoValidityCheckingDefaultValue
-xmlThrDefGetWarningsDefaultValue
-xmlKeepBlanksDefaultValue
-xmlThrDefDeregisterNodeDefault
-xmlThrDefSubstituteEntitiesDefaultValue
-xmlRegisterNodeFunc
-xmlThrDefSaveNoEmptyTags
-xmlMallocAtomic
-xmlThrDefIndentTreeOutput
-xmlSubstituteEntitiesDefaultValue
oldXMLWDcompatibility
-xmlFree
-xmlLoadExtDtdDefaultValue
-xmlLastError
-xmlInitGlobals
-xmlLineNumbersDefaultValue
-xmlThrDefLineNumbersDefaultValue
+xmlBufferAllocScheme
+xmlCleanupGlobals
+xmlDefaultBufferSize
xmlDefaultSAXHandler
xmlDefaultSAXLocator
-

Module hash:

xmlHashScanFull
-xmlHashDeallocator
-xmlHashScannerFull
+xmlDeregisterNodeDefault
+xmlDeregisterNodeDefaultValue
+xmlDeregisterNodeFunc
+xmlDoValidityCheckingDefaultValue
+xmlFree
+xmlGenericError
+xmlGenericErrorContext
+xmlGetWarningsDefaultValue
+xmlGlobalState
+xmlGlobalStatePtr
+xmlIndentTreeOutput
+xmlInitGlobals
+xmlInitializeGlobalState
+xmlKeepBlanksDefaultValue
+xmlLastError
+xmlLineNumbersDefaultValue
+xmlLoadExtDtdDefaultValue
+xmlMalloc
+xmlMallocAtomic
+xmlMemStrdup
+xmlParserDebugEntities
+xmlParserVersion
+xmlPedanticParserDefaultValue
+xmlRealloc
+xmlRegisterNodeDefault
+xmlRegisterNodeDefaultValue
+xmlRegisterNodeFunc
+xmlSaveNoEmptyTags
+xmlStructuredError
+xmlSubstituteEntitiesDefaultValue
+xmlThrDefBufferAllocScheme
+xmlThrDefDefaultBufferSize
+xmlThrDefDeregisterNodeDefault
+xmlThrDefDoValidityCheckingDefaultValue
+xmlThrDefGetWarningsDefaultValue
+xmlThrDefIndentTreeOutput
+xmlThrDefKeepBlanksDefaultValue
+xmlThrDefLineNumbersDefaultValue
+xmlThrDefLoadExtDtdDefaultValue
+xmlThrDefParserDebugEntities
+xmlThrDefPedanticParserDefaultValue
+xmlThrDefRegisterNodeDefault
+xmlThrDefSaveNoEmptyTags
+xmlThrDefSetGenericErrorFunc
+xmlThrDefSetStructuredErrorFunc
+xmlThrDefSubstituteEntitiesDefaultValue
+xmlThrDefTreeIndentString
+xmlTreeIndentString
+

Module hash:

xmlHashAddEntry
+xmlHashAddEntry2
+xmlHashAddEntry3
+xmlHashCopier
xmlHashCopy
-xmlHashScanFull3
-xmlHashUpdateEntry3
-xmlHashScan
-xmlHashLookup3
+xmlHashCreate
+xmlHashDeallocator
+xmlHashFree
+xmlHashLookup
xmlHashLookup2
-xmlHashUpdateEntry
+xmlHashLookup3
+xmlHashQLookup
+xmlHashQLookup2
+xmlHashQLookup3
xmlHashRemoveEntry
xmlHashRemoveEntry2
-xmlHashQLookup3
-xmlHashQLookup2
-xmlHashAddEntry3
-xmlHashScan3
-xmlHashScanner
-xmlHashAddEntry
-xmlHashCopier
-xmlHashCreate
-xmlHashFree
-xmlHashUpdateEntry2
-xmlHashLookup
-xmlHashTablePtr
-xmlHashQLookup
-xmlHashTable
-xmlHashAddEntry2
xmlHashRemoveEntry3
+xmlHashScan
+xmlHashScan3
+xmlHashScanFull
+xmlHashScanFull3
+xmlHashScanner
+xmlHashScannerFull
xmlHashSize
-

Module list:

xmlListWalker
-xmlLinkPtr
-xmlListReverseWalk
+xmlHashTable
+xmlHashTablePtr
+xmlHashUpdateEntry
+xmlHashUpdateEntry2
+xmlHashUpdateEntry3
+

Module list:

xmlLink
xmlLinkGetData
-xmlListInsert
-xmlListEmpty
-xmlListRemoveFirst
-xmlListFront
-xmlListSort
-xmlListClear
-xmlListDeallocator
+xmlLinkPtr
xmlList
-xmlLink
-xmlListCreate
xmlListAppend
-xmlListRemoveAll
-xmlListDup
-xmlListPtr
-xmlListRemoveLast
-xmlListWalk
-xmlListReverse
-xmlListDataCompare
-xmlListSize
-xmlListPushFront
-xmlListEnd
+xmlListClear
xmlListCopy
-xmlListPopBack
-xmlListPushBack
-xmlListPopFront
+xmlListCreate
+xmlListDataCompare
+xmlListDeallocator
xmlListDelete
-xmlListReverseSearch
-xmlListSearch
+xmlListDup
+xmlListEmpty
+xmlListEnd
+xmlListFront
+xmlListInsert
xmlListMerge
-

Module nanoftp:

xmlNanoFTPScanProxy
-xmlNanoFTPQuit
-xmlNanoFTPClose
-ftpDataCallback
-xmlNanoFTPGetResponse
+xmlListPopBack
+xmlListPopFront
+xmlListPtr
+xmlListPushBack
+xmlListPushFront
+xmlListRemoveAll
+xmlListRemoveFirst
+xmlListRemoveLast
+xmlListReverse
+xmlListReverseSearch
+xmlListReverseWalk
+xmlListSearch
+xmlListSize
+xmlListSort
+xmlListWalk
+xmlListWalker
+

Module nanoftp:

ftpDataCallback
ftpListCallback
-xmlNanoFTPCwd
-xmlNanoFTPCloseConnection
-xmlNanoFTPProxy
-xmlNanoFTPInit
-xmlNanoFTPConnectTo
-xmlNanoFTPList
-xmlNanoFTPUpdateURL
-xmlNanoFTPOpen
-xmlNanoFTPConnect
-xmlNanoFTPDele
-xmlNanoFTPGet
-xmlNanoFTPGetSocket
-xmlNanoFTPNewCtxt
xmlNanoFTPCheckResponse
-xmlNanoFTPRead
-xmlNanoFTPFreeCtxt
xmlNanoFTPCleanup
+xmlNanoFTPClose
+xmlNanoFTPCloseConnection
+xmlNanoFTPConnect
+xmlNanoFTPConnectTo
+xmlNanoFTPCwd
+xmlNanoFTPDele
+xmlNanoFTPFreeCtxt
+xmlNanoFTPGet
xmlNanoFTPGetConnection
-

Module nanohttp:

xmlNanoHTTPSave
-xmlNanoHTTPRedir
-xmlNanoHTTPAuthHeader
+xmlNanoFTPGetResponse
+xmlNanoFTPGetSocket
+xmlNanoFTPInit
+xmlNanoFTPList
+xmlNanoFTPNewCtxt
+xmlNanoFTPOpen
+xmlNanoFTPProxy
+xmlNanoFTPQuit
+xmlNanoFTPRead
+xmlNanoFTPScanProxy
+xmlNanoFTPUpdateURL
+

Module nanohttp:

xmlNanoHTTPAuthHeader
+xmlNanoHTTPCleanup
+xmlNanoHTTPClose
+xmlNanoHTTPEncoding
xmlNanoHTTPFetch
xmlNanoHTTPInit
-xmlNanoHTTPMimeType
-xmlNanoHTTPClose
-xmlNanoHTTPCleanup
xmlNanoHTTPMethod
-xmlNanoHTTPRead
+xmlNanoHTTPMethodRedir
+xmlNanoHTTPMimeType
xmlNanoHTTPOpen
xmlNanoHTTPOpenRedir
-xmlNanoHTTPMethodRedir
-xmlNanoHTTPScanProxy
-xmlNanoHTTPEncoding
+xmlNanoHTTPRead
+xmlNanoHTTPRedir
xmlNanoHTTPReturnCode
-

Module parser:

xmlSetupParserForBuffer
-xmlCtxtReadFile
-XML_PARSER_ENTITY_DECL
-xmlStrcmp
-_xmlParserCtxt
-xmlParseMemory
-xmlParseCtxtExternalEntity
-XML_PARSER_SYSTEM_LITERAL
-xmlParserNodeInfoSeq
-xmlStrcasestr
-xmlStrcat
-attributeDeclSAXFunc
-getEntitySAXFunc
-xmlStrstr
-XML_PARSER_PROLOG
-startElementSAXFunc
-XML_PARSE_NOWARNING
-charactersSAXFunc
-xmlClearNodeInfoSeq
-xmlParseChunk
-xmlReadMemory
-xmlParseEntity
-xmlRecoverFile
-XML_PARSE_NOBLANKS
+xmlNanoHTTPSave
+xmlNanoHTTPScanProxy
+

Module parser:

XML_COMPLETE_ATTRS
+XML_DEFAULT_VERSION
+XML_DETECT_IDS
+XML_PARSER_ATTRIBUTE_VALUE
XML_PARSER_CDATA_SECTION
-xmlStrdup
-XML_PARSE_RECOVER
-_xmlSAXLocator
-unparsedEntityDeclSAXFunc
-startElementNsSAX2Func
-xmlCreateIOParserCtxt
-referenceSAXFunc
-xmlStrncat
-hasExternalSubsetSAXFunc
-xmlSAXHandlerV1Ptr
-xmlStrPrintf
-xmlSAXParseDoc
-xmlStrndup
-xmlCharStrdup
-XML_PARSE_NOCDATA
-XML_PARSE_SAX1
-XML_PARSER_START
-xmlNewIOInputStream
-XML_PARSE_NONET
-processingInstructionSAXFunc
-xmlParseBalancedChunkMemoryRecover
-xmlInitParser
-XML_PARSER_CONTENT
-errorSAXFunc
-xmlParserInputState
-xmlSAXParseMemory
-xmlRecoverMemory
-xmlExternalEntityLoader
-hasInternalSubsetSAXFunc
-xmlReadDoc
-cdataBlockSAXFunc
-XML_PARSER_EPILOG
-XML_COMPLETE_ATTRS
-xmlSAXParseFile
-xmlParserInputDeallocate
-xmlParserNodeInfoPtr
-xmlCtxtReadIO
-XML_PARSE_PEDANTIC
-xmlSAXParseMemoryWithData
XML_PARSER_COMMENT
-xmlParserFindNodeInfo
-xmlGetFeature
-XML_PARSER_PUBLIC_LITERAL
-xmlParserNodeInfo
-xmlStrchr
-xmlIOParseDTD
-xmlFreeParserCtxt
-xmlParseDTD
-XML_PARSE_NOENT
-commentSAXFunc
-xmlInitParserCtxt
-attributeSAXFunc
-XML_PARSE_NSCLEAN
-xmlStrQEqual
+XML_PARSER_CONTENT
XML_PARSER_DTD
-xmlParserInputGrow
-xmlCtxtReadMemory
-externalSubsetSAXFunc
+XML_PARSER_END_TAG
+XML_PARSER_ENTITY_DECL
+XML_PARSER_ENTITY_VALUE
+XML_PARSER_EOF
+XML_PARSER_EPILOG
+XML_PARSER_IGNORE
+XML_PARSER_MISC
+XML_PARSER_PI
+XML_PARSER_PROLOG
+XML_PARSER_PUBLIC_LITERAL
+XML_PARSER_START
XML_PARSER_START_TAG
-resolveEntitySAXFunc
+XML_PARSER_SYSTEM_LITERAL
+XML_PARSE_DTDATTR
+XML_PARSE_DTDLOAD
+XML_PARSE_DTDVALID
+XML_PARSE_NOBLANKS
+XML_PARSE_NOCDATA
+XML_PARSE_NODICT
+XML_PARSE_NOENT
+XML_PARSE_NOERROR
+XML_PARSE_NONET
+XML_PARSE_NOWARNING
+XML_PARSE_NSCLEAN
+XML_PARSE_PEDANTIC
+XML_PARSE_RECOVER
+XML_PARSE_SAX1
+XML_PARSE_XINCLUDE
+XML_SAX2_MAGIC
+XML_SKIP_IDS
+_xmlParserCtxt
+_xmlParserInput
+_xmlParserNodeInfo
+_xmlParserNodeInfoSeq
_xmlSAXHandler
+_xmlSAXHandlerV1
+_xmlSAXLocator
+attributeDeclSAXFunc
+attributeSAXFunc
+cdataBlockSAXFunc
+charactersSAXFunc
+commentSAXFunc
+elementDeclSAXFunc
+endDocumentSAXFunc
+endElementNsSAX2Func
+endElementSAXFunc
+entityDeclSAXFunc
+errorSAXFunc
+externalSubsetSAXFunc
+fatalErrorSAXFunc
+getEntitySAXFunc
+getParameterEntitySAXFunc
+hasExternalSubsetSAXFunc
+hasInternalSubsetSAXFunc
+ignorableWhitespaceSAXFunc
+internalSubsetSAXFunc
+isStandaloneSAXFunc
+notationDeclSAXFunc
+processingInstructionSAXFunc
+referenceSAXFunc
+resolveEntitySAXFunc
+setDocumentLocatorSAXFunc
+startDocumentSAXFunc
+startElementNsSAX2Func
+startElementSAXFunc
+unparsedEntityDeclSAXFunc
+warningSAXFunc
+xmlCleanupParser
+xmlClearNodeInfoSeq
+xmlClearParserCtxt
+xmlCreateDocParserCtxt
+xmlCreateIOParserCtxt
+xmlCreatePushParserCtxt
+xmlCtxtReadDoc
+xmlCtxtReadFd
+xmlCtxtReadFile
+xmlCtxtReadIO
+xmlCtxtReadMemory
+xmlCtxtReset
+xmlCtxtResetPush
+xmlCtxtUseOptions
+xmlExternalEntityLoader
+xmlFreeParserCtxt
+xmlGetExternalEntityLoader
+xmlGetFeature
+xmlGetFeaturesList
+xmlIOParseDTD
+xmlInitNodeInfoSeq
+xmlInitParser
+xmlInitParserCtxt
+xmlKeepBlanksDefault
+xmlLineNumbersDefault
+xmlLoadExternalEntity
+xmlNewIOInputStream
+xmlNewParserCtxt
+xmlParseBalancedChunkMemory
+xmlParseBalancedChunkMemoryRecover
+xmlParseChunk
+xmlParseCtxtExternalEntity
+xmlParseDTD
+xmlParseDoc
+xmlParseDocument
+xmlParseEntity
+xmlParseExtParsedEnt
+xmlParseExternalEntity
+xmlParseFile
+xmlParseMemory
+xmlParserAddNodeInfo
+xmlParserFindNodeInfo
+xmlParserFindNodeInfoIndex
+xmlParserInputDeallocate
+xmlParserInputGrow
+xmlParserInputRead
+xmlParserInputState
+xmlParserNodeInfo
+xmlParserNodeInfoPtr
+xmlParserNodeInfoSeq
+xmlParserNodeInfoSeqPtr
xmlParserOption
xmlPedanticParserDefault
-xmlSAXParseEntity
-xmlParseDoc
-xmlParserAddNodeInfo
-XML_SAX2_MAGIC
-xmlSAXParseFileWithData
-xmlLineNumbersDefault
-xmlGetExternalEntityLoader
-elementDeclSAXFunc
-xmlCtxtUseOptions
-xmlCreatePushParserCtxt
-xmlCharStrndup
-xmlCtxtReadFd
-internalSubsetSAXFunc
-xmlNewParserCtxt
-endDocumentSAXFunc
-xmlParseFile
-xmlParserNodeInfoSeqPtr
-xmlParseDocument
-xmlStrncmp
-setDocumentLocatorSAXFunc
-endElementSAXFunc
-XML_PARSER_ENTITY_VALUE
-XML_DETECT_IDS
-getParameterEntitySAXFunc
-endElementNsSAX2Func
-ignorableWhitespaceSAXFunc
-xmlInitNodeInfoSeq
-XML_PARSER_MISC
-xmlStrlen
-xmlSubstituteEntitiesDefault
-xmlStrncasecmp
-xmlParserFindNodeInfoIndex
-xmlSAXUserParseMemory
-xmlCtxtReset
-xmlSetFeature
-xmlStrEqual
-xmlKeepBlanksDefault
-xmlParserInputRead
-xmlReadFile
-_xmlParserNodeInfo
-xmlGetFeaturesList
-_xmlSAXHandlerV1
-_xmlParserInput
-XML_PARSE_NODICT
-xmlCtxtReadDoc
-XML_PARSER_PI
-xmlSAXHandlerV1
-xmlSAXUserParseFile
-fatalErrorSAXFunc
-xmlSAXParseDTD
-XML_PARSER_END_TAG
-XML_PARSE_DTDVALID
-entityDeclSAXFunc
-xmlLoadExternalEntity
-XML_DEFAULT_VERSION
-xmlStrncatNew
-xmlStopParser
+xmlReadDoc
xmlReadFd
-XML_PARSER_EOF
-xmlParseExtParsedEnt
+xmlReadFile
xmlReadIO
-XML_PARSE_XINCLUDE
-xmlStrVPrintf
-xmlCreateDocParserCtxt
-xmlStrsub
-xmlParseBalancedChunkMemory
-XML_PARSE_DTDLOAD
+xmlReadMemory
xmlRecoverDoc
-XML_PARSE_DTDATTR
-xmlCleanupParser
-XML_PARSE_NOERROR
-xmlStrcasecmp
-xmlCtxtResetPush
-isStandaloneSAXFunc
-startDocumentSAXFunc
-XML_SKIP_IDS
-xmlClearParserCtxt
-XML_PARSER_ATTRIBUTE_VALUE
-xmlParseExternalEntity
-XML_PARSER_IGNORE
-_xmlParserNodeInfoSeq
-notationDeclSAXFunc
-warningSAXFunc
+xmlRecoverFile
+xmlRecoverMemory
+xmlSAXHandlerV1
+xmlSAXHandlerV1Ptr
+xmlSAXParseDTD
+xmlSAXParseDoc
+xmlSAXParseEntity
+xmlSAXParseFile
+xmlSAXParseFileWithData
+xmlSAXParseMemory
+xmlSAXParseMemoryWithData
+xmlSAXUserParseFile
+xmlSAXUserParseMemory
xmlSetExternalEntityLoader
-

Module parserInternals:

xmlParseAttValue
-xmlCreateMemoryParserCtxt
-xmlParseAttributeListDecl
-nodePop
-xmlSkipBlankChars
-IS_CHAR
-xmlParseName
-xmlParseEncName
-nodePush
-xmlSwitchEncoding
-xmlParseNotationDecl
-xmlParseExternalSubset
-IS_PUBIDCHAR
-xmlSwitchToEncoding
-xmlParseMisc
-xmlSwitchInputEncoding
-IS_COMBINING_CH
-xmlNewStringInputStream
-xmlParseExternalID
-xmlParseEntityRef
-xmlScanName
-xmlParseElementDecl
-xmlParseAttribute
-xmlParseEndTag
-xmlParseEncodingDecl
-htmlInitAutoClose
-IS_LETTER
-IS_EXTENDER_CH
-htmlCreateFileParserCtxt
-xmlCreateEntityParserCtxt
-xmlParseNotationType
-inputPush
-namePush
-xmlStringLenDecodeEntities
-xmlNewEntityInputStream
-namePop
-xmlSplitQName
-MOVETO_ENDTAG
-xmlParseContent
-xmlStringComment
-SKIP_EOL
-xmlParseMarkupDecl
-xmlNewInputStream
-xmlParserHandleReference
-xmlNamespaceParseQName
-xmlParsePITarget
-IS_LETTER_CH
-xmlParseElementContentDecl
-XML_SUBSTITUTE_NONE
-xmlNewInputFromFile
-inputPop
-xmlParserHandlePEReference
-xmlPopInput
-xmlParsePEReference
-xmlPushInput
-xmlStringTextNoenc
-xmlParseEntityValue
-xmlStringDecodeEntities
-xmlCreateFileParserCtxt
-xmlParseNamespace
-XML_SUBSTITUTE_REF
+xmlSetFeature
+xmlSetupParserForBuffer
+xmlStopParser
+xmlSubstituteEntitiesDefault
+

Module parserInternals:

INPUT_CHUNK
+IS_BASECHAR
IS_BLANK
-xmlParseCharRef
-xmlParseVersionNum
-xmlParseElement
+IS_BLANK_CH
IS_BYTE_CHAR
-xmlParseTextDecl
-xmlParseXMLDecl
-xmlEntityReferenceFunc
-xmlParserMaxDepth
-xmlParseElementMixedContentDecl
-xmlCopyCharMultiByte
-xmlParseElementChildrenContentDecl
-xmlParseQuotedString
-IS_DIGIT_CH
-xmlParseCharData
-IS_EXTENDER
-xmlNamespaceParseNSDef
-xmlParseCDSect
-xmlParseVersionInfo
-xmlDecodeEntities
-xmlParseComment
-xmlErrMemory
-xmlHandleEntity
-xmlCurrentChar
-xmlNamespaceParseNCName
-xmlParsePI
-xmlParseNmtoken
-IS_IDEOGRAPHIC
-MOVETO_STARTTAG
-xmlParserInputShrink
-xmlParseReference
-xmlCreateURLParserCtxt
-xmlSetEntityReferenceFunc
-xmlFreeInputStream
+IS_CHAR
+IS_CHAR_CH
+IS_COMBINING
+IS_COMBINING_CH
IS_DIGIT
-xmlParsePubidLiteral
-xmlStringText
-xmlStringCurrentChar
+IS_DIGIT_CH
+IS_EXTENDER
+IS_EXTENDER_CH
+IS_IDEOGRAPHIC
+IS_LETTER
+IS_LETTER_CH
+IS_PUBIDCHAR
+IS_PUBIDCHAR_CH
+MOVETO_ENDTAG
+MOVETO_STARTTAG
+SKIP_EOL
+XML_MAX_NAMELEN
+XML_SUBSTITUTE_BOTH
+XML_SUBSTITUTE_NONE
XML_SUBSTITUTE_PEREF
-xmlParseDefaultDecl
-INPUT_CHUNK
-xmlIsLetter
+XML_SUBSTITUTE_REF
+htmlCreateFileParserCtxt
+htmlInitAutoClose
+inputPop
+inputPush
+namePop
+namePush
+nodePop
+nodePush
xmlCheckLanguageID
xmlCopyChar
+xmlCopyCharMultiByte
+xmlCreateEntityParserCtxt
+xmlCreateFileParserCtxt
+xmlCreateMemoryParserCtxt
+xmlCreateURLParserCtxt
+xmlCurrentChar
+xmlDecodeEntities
+xmlEntityReferenceFunc
+xmlErrMemory
+xmlFreeInputStream
+xmlHandleEntity
+xmlIsLetter
+xmlNamespaceParseNCName
+xmlNamespaceParseNSDef
+xmlNamespaceParseQName
+xmlNewEntityInputStream
+xmlNewInputFromFile
+xmlNewInputStream
+xmlNewStringInputStream
xmlNextChar
-IS_BLANK_CH
-xmlParseStartTag
-xmlParseEnumerationType
-xmlParseSDDecl
+xmlParseAttValue
+xmlParseAttribute
+xmlParseAttributeListDecl
xmlParseAttributeType
-xmlParseSystemLiteral
-xmlParseEnumeratedType
-IS_COMBINING
-XML_MAX_NAMELEN
-IS_BASECHAR
+xmlParseCDSect
+xmlParseCharData
+xmlParseCharRef
+xmlParseComment
+xmlParseContent
+xmlParseDefaultDecl
xmlParseDocTypeDecl
-XML_SUBSTITUTE_BOTH
-IS_PUBIDCHAR_CH
-IS_CHAR_CH
+xmlParseElement
+xmlParseElementChildrenContentDecl
+xmlParseElementContentDecl
+xmlParseElementDecl
+xmlParseElementMixedContentDecl
+xmlParseEncName
+xmlParseEncodingDecl
+xmlParseEndTag
xmlParseEntityDecl
+xmlParseEntityRef
+xmlParseEntityValue
+xmlParseEnumeratedType
+xmlParseEnumerationType
+xmlParseExternalID
+xmlParseExternalSubset
+xmlParseMarkupDecl
+xmlParseMisc
+xmlParseName
+xmlParseNamespace
+xmlParseNmtoken
+xmlParseNotationDecl
+xmlParseNotationType
+xmlParsePEReference
+xmlParsePI
+xmlParsePITarget
+xmlParsePubidLiteral
+xmlParseQuotedString
+xmlParseReference
+xmlParseSDDecl
+xmlParseStartTag
+xmlParseSystemLiteral
+xmlParseTextDecl
+xmlParseVersionInfo
+xmlParseVersionNum
+xmlParseXMLDecl
+xmlParserHandlePEReference
+xmlParserHandleReference
+xmlParserInputShrink
+xmlParserMaxDepth
+xmlPopInput
+xmlPushInput
+xmlScanName
+xmlSetEntityReferenceFunc
+xmlSkipBlankChars
+xmlSplitQName
+xmlStringComment
+xmlStringCurrentChar
+xmlStringDecodeEntities
+xmlStringLenDecodeEntities
+xmlStringText
+xmlStringTextNoenc
+xmlSwitchEncoding
+xmlSwitchInputEncoding
+xmlSwitchToEncoding

Module pattern:

xmlFreePattern
xmlFreePatternList
-xmlPatterncompile
+xmlPattern
xmlPatternMatch
xmlPatternPtr
-xmlPattern
-

Module relaxng:

xmlRelaxNGFreeValidCtxt
-XML_RELAXNG_ERR_DUPID
-XML_RELAXNG_ERR_VALELEM
-XML_RELAXNG_ERR_ATTRVALID
-xmlRelaxNGSetValidErrors
-XML_RELAXNG_ERR_LISTELEM
-xmlRelaxNGSetParserErrors
-XML_RELAXNG_ERR_LISTEXTRA
-XML_RELAXNG_ERR_ATTRNONS
-XML_RELAXNG_ERR_EXTRADATA
-xmlRelaxNGNewMemParserCtxt
-XML_RELAXNG_ERR_ELEMNONS
-XML_RELAXNG_ERR_ELEMEXTRANS
-xmlRelaxNGValidatePopElement
-xmlRelaxNGNewValidCtxt
-XML_RELAXNG_ERR_INTERNODATA
-xmlRelaxNGValidCtxtPtr
-XML_RELAXNG_ERR_TYPECMP
-XML_RELAXNG_ERR_VALUE
-XML_RELAXNG_ERR_DATAELEM
-xmlRelaxNGDump
-XML_RELAXNG_ERR_INTERSEQ
-xmlRelaxNGParserCtxtPtr
-XML_RELAXNG_ERR_LACKDATA
-xmlRelaxNG
-xmlRelaxNGParserCtxt
-xmlRelaxNGValidateDoc
-xmlRelaxNGParse
-xmlRelaxNGValidCtxt
-xmlRelaxNGValidatePushElement
+xmlPatterncompile
+

Module relaxng:

XML_RELAXNG_ERR_ATTREXTRANS
XML_RELAXNG_ERR_ATTRNAME
-XML_RELAXNG_ERR_ELEMNOTEMPTY
-xmlRelaxNGValidateFullElement
-XML_RELAXNG_OK
-XML_RELAXNG_ERR_DATATYPE
-xmlRelaxNGNewParserCtxt
-xmlRelaxNGValidityErrorFunc
+XML_RELAXNG_ERR_ATTRNONS
+XML_RELAXNG_ERR_ATTRVALID
XML_RELAXNG_ERR_ATTRWRONGNS
-XML_RELAXNG_ERR_EXTRACONTENT
-xmlRelaxNGFree
-XML_RELAXNG_ERR_ELEMWRONG
-XML_RELAXNG_ERR_INVALIDATTR
-XML_RELAXNG_ERR_LISTEMPTY
-XML_RELAXNG_ERR_ATTREXTRANS
-xmlRelaxNGFreeParserCtxt
-XML_RELAXNG_ERR_TEXTWRONG
-xmlRelaxNGNewDocParserCtxt
-XML_RELAXNG_ERR_NOSTATE
-XML_RELAXNG_ERR_ELEMWRONGNS
XML_RELAXNG_ERR_CONTENTVALID
-xmlRelaxNGGetValidErrors
-XML_RELAXNG_ERR_TYPEVAL
-xmlRelaxNGCleanupTypes
-XML_RELAXNG_ERR_LIST
-xmlRelaxNGPtr
-xmlRelaxNGValidErr
-XML_RELAXNG_ERR_TYPE
-XML_RELAXNG_ERR_NOELEM
-XML_RELAXNG_ERR_MEMORY
+XML_RELAXNG_ERR_DATAELEM
+XML_RELAXNG_ERR_DATATYPE
+XML_RELAXNG_ERR_DUPID
+XML_RELAXNG_ERR_ELEMEXTRANS
XML_RELAXNG_ERR_ELEMNAME
-XML_RELAXNG_ERR_NOGRAMMAR
-xmlRelaxNGGetParserErrors
-XML_RELAXNG_ERR_NODEFINE
-xmlRelaxNGDumpTree
+XML_RELAXNG_ERR_ELEMNONS
+XML_RELAXNG_ERR_ELEMNOTEMPTY
+XML_RELAXNG_ERR_ELEMWRONG
+XML_RELAXNG_ERR_ELEMWRONGNS
+XML_RELAXNG_ERR_EXTRACONTENT
+XML_RELAXNG_ERR_EXTRADATA
XML_RELAXNG_ERR_INTEREXTRA
XML_RELAXNG_ERR_INTERNAL
-xmlRelaxNGValidatePushCData
+XML_RELAXNG_ERR_INTERNODATA
+XML_RELAXNG_ERR_INTERSEQ
+XML_RELAXNG_ERR_INVALIDATTR
+XML_RELAXNG_ERR_LACKDATA
+XML_RELAXNG_ERR_LIST
+XML_RELAXNG_ERR_LISTELEM
+XML_RELAXNG_ERR_LISTEMPTY
+XML_RELAXNG_ERR_LISTEXTRA
+XML_RELAXNG_ERR_MEMORY
+XML_RELAXNG_ERR_NODEFINE
+XML_RELAXNG_ERR_NOELEM
+XML_RELAXNG_ERR_NOGRAMMAR
+XML_RELAXNG_ERR_NOSTATE
XML_RELAXNG_ERR_NOTELEM
+XML_RELAXNG_ERR_TEXTWRONG
+XML_RELAXNG_ERR_TYPE
+XML_RELAXNG_ERR_TYPECMP
+XML_RELAXNG_ERR_TYPEVAL
+XML_RELAXNG_ERR_VALELEM
+XML_RELAXNG_ERR_VALUE
+XML_RELAXNG_OK
+xmlRelaxNG
+xmlRelaxNGCleanupTypes
+xmlRelaxNGDump
+xmlRelaxNGDumpTree
+xmlRelaxNGFree
+xmlRelaxNGFreeParserCtxt
+xmlRelaxNGFreeValidCtxt
+xmlRelaxNGGetParserErrors
+xmlRelaxNGGetValidErrors
+xmlRelaxNGNewDocParserCtxt
+xmlRelaxNGNewMemParserCtxt
+xmlRelaxNGNewParserCtxt
+xmlRelaxNGNewValidCtxt
+xmlRelaxNGParse
+xmlRelaxNGParserCtxt
+xmlRelaxNGParserCtxtPtr
+xmlRelaxNGPtr
+xmlRelaxNGSetParserErrors
+xmlRelaxNGSetValidErrors
+xmlRelaxNGValidCtxt
+xmlRelaxNGValidCtxtPtr
+xmlRelaxNGValidErr
+xmlRelaxNGValidateDoc
+xmlRelaxNGValidateFullElement
+xmlRelaxNGValidatePopElement
+xmlRelaxNGValidatePushCData
+xmlRelaxNGValidatePushElement
+xmlRelaxNGValidityErrorFunc
xmlRelaxNGValidityWarningFunc
-

Module schemasInternals:

XML_SCHEMA_TYPE_ATTRIBUTEGROUP
-_xmlSchemaAttributeGroup
-xmlSchemaElementPtr
-XML_SCHEMA_CONTENT_ELEMENTS
-xmlSchemaFreeType
-xmlSchemaType
-XML_SCHEMA_CONTENT_EMPTY
-_xmlSchemaType
-XML_SCHEMA_TYPE_EXTENSION
-XML_SCHEMA_FACET_MAXINCLUSIVE
-XML_SCHEMAS_FACET_UNKNOWN
-XML_SCHEMA_TYPE_LIST
-xmlSchemaElement
-_xmlSchemaNotation
-XML_SCHEMAS_ELEM_FIXED
-_xmlSchemaElement
-XML_SCHEMAS_ATTR_NSDEFAULT
+

Module schemasInternals:

XML_SCHEMAS_ANYATTR_LAX
+XML_SCHEMAS_ANYATTR_SKIP
XML_SCHEMAS_ANYATTR_STRICT
-XML_SCHEMA_FACET_LENGTH
-XML_SCHEMA_TYPE_UNION
-XML_SCHEMA_FACET_MININCLUSIVE
-XML_SCHEMA_TYPE_ANY
-XML_SCHEMAS_ELEM_NSDEFAULT
-XML_SCHEMA_FACET_MAXEXCLUSIVE
-XML_SCHEMAS_ELEM_NILLABLE
-XML_SCHEMA_TYPE_COMPLEX
-xmlSchemaNotationPtr
+XML_SCHEMAS_ATTR_NSDEFAULT
+XML_SCHEMAS_ELEM_ABSTRACT
XML_SCHEMAS_ELEM_DEFAULT
+XML_SCHEMAS_ELEM_FIXED
+XML_SCHEMAS_ELEM_GLOBAL
+XML_SCHEMAS_ELEM_NILLABLE
+XML_SCHEMAS_ELEM_NSDEFAULT
+XML_SCHEMAS_ELEM_REF
+XML_SCHEMAS_ELEM_TOPLEVEL
+XML_SCHEMAS_FACET_COLLAPSE
+XML_SCHEMAS_FACET_PRESERVE
+XML_SCHEMAS_FACET_REPLACE
+XML_SCHEMAS_FACET_UNKNOWN
+XML_SCHEMAS_QUALIF_ATTR
+XML_SCHEMAS_QUALIF_ELEM
+XML_SCHEMAS_TYPE_MIXED
+XML_SCHEMA_CONTENT_ANY
+XML_SCHEMA_CONTENT_BASIC
+XML_SCHEMA_CONTENT_ELEMENTS
+XML_SCHEMA_CONTENT_EMPTY
+XML_SCHEMA_CONTENT_MIXED
+XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS
+XML_SCHEMA_CONTENT_SIMPLE
+XML_SCHEMA_CONTENT_UNKNOWN
+XML_SCHEMA_FACET_ENUMERATION
+XML_SCHEMA_FACET_FRACTIONDIGITS
+XML_SCHEMA_FACET_LENGTH
+XML_SCHEMA_FACET_MAXEXCLUSIVE
+XML_SCHEMA_FACET_MAXINCLUSIVE
+XML_SCHEMA_FACET_MAXLENGTH
+XML_SCHEMA_FACET_MINEXCLUSIVE
+XML_SCHEMA_FACET_MININCLUSIVE
+XML_SCHEMA_FACET_MINLENGTH
+XML_SCHEMA_FACET_PATTERN
+XML_SCHEMA_FACET_TOTALDIGITS
+XML_SCHEMA_FACET_WHITESPACE
+XML_SCHEMA_TYPE_ALL
+XML_SCHEMA_TYPE_ANY
+XML_SCHEMA_TYPE_ATTRIBUTE
+XML_SCHEMA_TYPE_ATTRIBUTEGROUP
XML_SCHEMA_TYPE_BASIC
XML_SCHEMA_TYPE_CHOICE
-_xmlSchemaAttribute
-XML_SCHEMAS_TYPE_MIXED
-XML_SCHEMAS_ELEM_ABSTRACT
-xmlSchemaFacet
-XML_SCHEMA_TYPE_UR
-xmlSchemaContentType
-XML_SCHEMAS_QUALIF_ELEM
-XML_SCHEMA_CONTENT_SIMPLE
-XML_SCHEMA_FACET_PATTERN
-XML_SCHEMAS_ELEM_REF
-xmlSchemaAttributeGroupPtr
-XML_SCHEMAS_QUALIF_ATTR
-XML_SCHEMAS_FACET_COLLAPSE
-_xmlSchemaFacet
-XML_SCHEMA_CONTENT_MIXED
-xmlSchemaVal
-XML_SCHEMA_TYPE_FACET
-xmlSchemaAnnot
-XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS
-XML_SCHEMAS_FACET_PRESERVE
-XML_SCHEMA_CONTENT_ANY
-xmlSchemaAnnotPtr
-xmlSchemaFacetPtr
+XML_SCHEMA_TYPE_COMPLEX
XML_SCHEMA_TYPE_COMPLEX_CONTENT
-XML_SCHEMA_FACET_MINEXCLUSIVE
-_xmlSchemaAnnot
-XML_SCHEMAS_ANYATTR_SKIP
-xmlSchemaValPtr
-XML_SCHEMAS_ANYATTR_LAX
+XML_SCHEMA_TYPE_ELEMENT
+XML_SCHEMA_TYPE_EXTENSION
+XML_SCHEMA_TYPE_FACET
XML_SCHEMA_TYPE_GROUP
-xmlSchemaAttributeGroup
+XML_SCHEMA_TYPE_LIST
+XML_SCHEMA_TYPE_NOTATION
+XML_SCHEMA_TYPE_RESTRICTION
+XML_SCHEMA_TYPE_SEQUENCE
XML_SCHEMA_TYPE_SIMPLE
XML_SCHEMA_TYPE_SIMPLE_CONTENT
-XML_SCHEMA_FACET_FRACTIONDIGITS
-XML_SCHEMA_FACET_WHITESPACE
-XML_SCHEMAS_ELEM_GLOBAL
-xmlSchemaAttributePtr
-XML_SCHEMA_TYPE_ALL
-xmlSchemaTypePtr
-xmlSchemaNotation
-XML_SCHEMA_TYPE_ATTRIBUTE
-XML_SCHEMAS_ELEM_TOPLEVEL
-XML_SCHEMA_FACET_TOTALDIGITS
-XML_SCHEMA_TYPE_NOTATION
-xmlSchemaTypeType
-xmlSchemaAttribute
-XML_SCHEMA_CONTENT_BASIC
-XML_SCHEMA_FACET_MINLENGTH
-XML_SCHEMAS_FACET_REPLACE
-XML_SCHEMA_TYPE_SEQUENCE
+XML_SCHEMA_TYPE_UNION
+XML_SCHEMA_TYPE_UR
_xmlSchema
-XML_SCHEMA_TYPE_ELEMENT
-XML_SCHEMA_FACET_MAXLENGTH
-XML_SCHEMA_FACET_ENUMERATION
-XML_SCHEMA_CONTENT_UNKNOWN
-XML_SCHEMA_TYPE_RESTRICTION
-

Module threads:

xmlRMutexPtr
-xmlFreeRMutex
-xmlGetThreadId
-xmlMutexPtr
-xmlRMutex
+_xmlSchemaAnnot
+_xmlSchemaAttribute
+_xmlSchemaAttributeGroup
+_xmlSchemaElement
+_xmlSchemaFacet
+_xmlSchemaNotation
+_xmlSchemaType
+xmlSchemaAnnot
+xmlSchemaAnnotPtr
+xmlSchemaAttribute
+xmlSchemaAttributeGroup
+xmlSchemaAttributeGroupPtr
+xmlSchemaAttributePtr
+xmlSchemaContentType
+xmlSchemaElement
+xmlSchemaElementPtr
+xmlSchemaFacet
+xmlSchemaFacetPtr
+xmlSchemaFreeType
+xmlSchemaNotation
+xmlSchemaNotationPtr
+xmlSchemaType
+xmlSchemaTypePtr
+xmlSchemaTypeType
+xmlSchemaVal
+xmlSchemaValPtr
+

Module threads:

xmlCleanupThreads
xmlFreeMutex
-xmlCleanupThreads
-xmlMutexUnlock
-xmlNewRMutex
-xmlMutexLock
-xmlIsMainThread
-xmlRMutexUnlock
+xmlFreeRMutex
xmlGetGlobalState
-xmlNewMutex
-xmlMutex
+xmlGetThreadId
xmlInitThreads
-xmlUnlockLibrary
+xmlIsMainThread
xmlLockLibrary
+xmlMutex
+xmlMutexLock
+xmlMutexPtr
+xmlMutexUnlock
+xmlNewMutex
+xmlNewRMutex
+xmlRMutex
xmlRMutexLock
-

Module tree:

XML_ATTRIBUTE_IMPLIED
-xmlNewDocRawNode
-xmlElementContent
-xmlGetProp
-XML_XINCLUDE_START
-xmlNewNsPropEatName
-xmlElementPtr
-xmlDocCopyNode
-xmlStringGetNodeList
-xmlBufferWriteCHAR
-BAD_CAST
-xmlElement
-xmlNodeGetBase
-XML_ATTRIBUTE_IDREF
-xmlAttributePtr
-xmlBufferEmpty
-xmlSaveFormatFile
-XML_CDATA_SECTION_NODE
-XML_ELEMENT_CONTENT_SEQ
-xmlNewDocNodeEatName
-xmlAddSibling
-XML_BUFFER_ALLOC_DOUBLEIT
-xmlNewDocFragment
-xmlDocGetRootElement
-xmlNodeAddContentLen
-XML_HTML_DOCUMENT_NODE
-XML_ELEMENT_CONTENT_ONCE
-_xmlElement
-xmlNotation
-xmlElementType
-xmlNsPtr
-xmlValidateQName
-_xmlEnumeration
-XML_ATTRIBUTE_FIXED
-xmlHasNsProp
-xmlAddPrevSibling
-xmlBufferAddHead
-xmlSetListDoc
-xmlNewPI
-XML_BUFFER_ALLOC_IMMUTABLE
-xmlElementContentOccur
-xmlDocFormatDump
-xmlSetProp
-xmlParserInputPtr
-XML_ELEMENT_TYPE_UNDEFINED
-xmlElemDump
-xmlID
-xmlSaveFormatFileTo
-xmlGetIntSubset
-_xmlNotation
-xmlNodeBufGetContent
-XML_ATTRIBUTE_NMTOKENS
-XML_ATTRIBUTE_NOTATION
-XML_ATTRIBUTE_ENTITY
-xmlBufferFree
-xmlReplaceNode
-xmlNewNode
-XML_TEXT_NODE
-xmlSaveFileTo
-xmlIDPtr
+xmlRMutexPtr
+xmlRMutexUnlock
+xmlUnlockLibrary
+

Module tree:

BASE_BUFFER_SIZE
XML_ATTRIBUTE_CDATA
-xmlAttribute
-XML_DOCUMENT_NODE
-xmlSAXHandlerPtr
-xmlNodeSetContent
-xmlBufferAdd
-xmlNodeDumpOutput
-xmlCopyNamespace
-xmlSearchNsByHref
-xmlAddChild
-xmlReconciliateNs
-xmlSAXLocatorPtr
-xmlParserInput
-XML_GET_CONTENT
-xmlNodeSetName
-xmlValidateNCName
-xmlNewDocComment
-xmlRef
-xmlGetCompressMode
-xmlRootNode
-_xmlElementContent
-XML_ELEMENT_NODE
-XML_ELEMENT_DECL
-XML_BUFFER_ALLOC_EXACT
-xmlBufferCreateSize
-xmlNodeListGetString
-XML_DOCUMENT_FRAG_NODE
-xmlSetCompressMode
-xmlSetTreeDoc
-xmlBufferCreate
-xmlCopyNodeList
-xmlDocPtr
-xmlBufferGrow
-xmlAddChildList
-xmlGetNodePath
-xmlParserCtxtPtr
-XML_NAMESPACE_DECL
-xmlFreePropList
-xmlNodeAddContent
-xmlUnsetNsProp
-xmlNodeIsText
-xmlAttr
-xmlAddNextSibling
-xmlIsBlankNode
-xmlEntity
-xmlValidateName
-xmlNewGlobalNs
-xmlBufferDump
-xmlNewNs
-xmlCopyDoc
-XML_ENTITY_REF_NODE
-XML_ATTRIBUTE_ENTITIES
-xmlDocDumpMemoryEnc
-xmlTextMerge
-XML_ATTRIBUTE_ENUMERATION
-xmlDocDumpMemory
-xmlNewTextLen
-xmlFreeNs
-xmlDocDump
-BASE_BUFFER_SIZE
-xmlFreeProp
-xmlEnumeration
-xmlBufferWriteChar
-xmlGetNoNsProp
-xmlSplitQName2
-xmlSAXHandler
-XML_GET_LINE
-xmlRefPtr
-xmlNewProp
-xmlTextConcat
-xmlSAXLocator
-xmlOutputBufferPtr
-xmlNodeGetSpacePreserve
-xmlNotationPtr
-xmlBufferShrink
-XML_ELEMENT_CONTENT_PLUS
-XML_ELEMENT_CONTENT_MULT
-xmlNodeGetContent
-XML_ELEMENT_TYPE_EMPTY
-XML_LOCAL_NAMESPACE
-xmlStringLenGetNodeList
-xmlBuildQName
-xmlBufferPtr
-xmlEnumerationPtr
-XML_ATTRIBUTE_IDREFS
-XML_DOCUMENT_TYPE_NODE
-xmlBuffer
-_xmlRef
-xmlBufferWriteQuotedString
-xmlCopyProp
-xmlNs
-xmlAttributeType
-xmlSetDocCompressMode
-xmlCopyNode
-xmlUnlinkNode
-xmlSplitQName3
-_xmlID
-xmlParserInputBuffer
-xmlDocSetRootElement
-xmlSearchNs
-xmlGetLineNo
-xmlNodePtr
-xmlRemoveProp
-xmlParserCtxt
-xmlNewTextChild
-xmlDocDumpFormatMemoryEnc
-_xmlAttr
-XML_ELEMENT_CONTENT_OPT
-XML_ENTITY_NODE
-_xmlAttribute
-xmlNewDocProp
-xmlFreeNode
-xmlNewDocTextLen
-xmlBufferContent
-xmlNodeGetLang
-xmlValidateNMToken
-xmlBufferSetAllocationScheme
-XML_DOCB_DOCUMENT_NODE
-xmlNewChild
-xmlGetDocCompressMode
-xmlSaveFileEnc
-xmlAttrPtr
-xmlCopyPropList
-XML_XML_NAMESPACE
-_xmlDoc
-xmlNodeSetContentLen
-xmlElementContentType
-xmlNodeSetSpacePreserve
-xmlSetNsProp
-xmlHasProp
-XML_PI_NODE
-XML_ATTRIBUTE_NODE
-xmlBufferCat
-xmlCreateIntSubset
-xmlNewDoc
-xmlNewCharRef
-xmlCopyNamespaceList
-xmlNewNodeEatName
-_xmlDtd
-XML_XINCLUDE_END
-xmlBufferResize
-XML_ELEMENT_TYPE_MIXED
-xmlNodeSetBase
-xmlNsType
-XML_ELEMENT_CONTENT_ELEMENT
-xmlNewComment
-XML_ELEMENT_TYPE_ELEMENT
-xmlChildrenNode
-xmlBufferLength
-xmlBufferAllocationScheme
-xmlChar
-XML_ELEMENT_CONTENT_PCDATA
-xmlAttributeDefault
-xmlNewText
-xmlUnsetProp
-xmlGetBufferAllocationScheme
-xmlSaveFile
-_xmlNode
-xmlSetNs
-xmlNode
-xmlGetNsProp
-XML_ATTRIBUTE_REQUIRED
-xmlNewCDataBlock
-xmlSaveFormatFileEnc
-XML_ELEMENT_TYPE_ANY
-xmlCopyDtd
-xmlNewDocText
-xmlDtdPtr
-xmlNodeListGetRawString
-xmlBufferCreateStatic
-XML_ATTRIBUTE_NONE
-xmlNewReference
-_xmlBuffer
-xmlBufferCCat
-xmlGetNsList
-xmlEntityPtr
XML_ATTRIBUTE_DECL
-xmlSetBufferAllocationScheme
-xmlNodeDump
-xmlIsXHTML
-xmlNodeSetLang
-XML_ENTITY_DECL
-xmlFreeDtd
-xmlFreeNodeList
-xmlFreeDoc
-xmlDoc
-xmlNewDocNode
-xmlDtd
-XML_COMMENT_NODE
-_xmlNs
-XML_DTD_NODE
-XML_ELEMENT_CONTENT_OR
-xmlDocDumpFormatMemory
-XML_ATTRIBUTE_NMTOKEN
-XML_NOTATION_NODE
-xmlOutputBuffer
-xmlElementContentPtr
-xmlElementTypeVal
-xmlNewDtd
-xmlParserInputBufferPtr
+XML_ATTRIBUTE_ENTITIES
+XML_ATTRIBUTE_ENTITY
+XML_ATTRIBUTE_ENUMERATION
+XML_ATTRIBUTE_FIXED
XML_ATTRIBUTE_ID
-xmlNewNsProp
+XML_ATTRIBUTE_IDREF
+XML_ATTRIBUTE_IDREFS
+XML_ATTRIBUTE_IMPLIED
+XML_ATTRIBUTE_NMTOKEN
+XML_ATTRIBUTE_NMTOKENS
+XML_ATTRIBUTE_NODE
+XML_ATTRIBUTE_NONE
+XML_ATTRIBUTE_NOTATION
+XML_ATTRIBUTE_REQUIRED
+XML_BUFFER_ALLOC_DOUBLEIT
+XML_BUFFER_ALLOC_EXACT
+XML_BUFFER_ALLOC_IMMUTABLE
+XML_CDATA_SECTION_NODE
+XML_COMMENT_NODE
+XML_DOCB_DOCUMENT_NODE
+XML_DOCUMENT_FRAG_NODE
+XML_DOCUMENT_NODE
+XML_DOCUMENT_TYPE_NODE
+XML_DTD_NODE
+XML_ELEMENT_CONTENT_ELEMENT
+XML_ELEMENT_CONTENT_MULT
+XML_ELEMENT_CONTENT_ONCE
+XML_ELEMENT_CONTENT_OPT
+XML_ELEMENT_CONTENT_OR
+XML_ELEMENT_CONTENT_PCDATA
+XML_ELEMENT_CONTENT_PLUS
+XML_ELEMENT_CONTENT_SEQ
+XML_ELEMENT_DECL
+XML_ELEMENT_NODE
+XML_ELEMENT_TYPE_ANY
+XML_ELEMENT_TYPE_ELEMENT
+XML_ELEMENT_TYPE_EMPTY
+XML_ELEMENT_TYPE_MIXED
+XML_ELEMENT_TYPE_UNDEFINED
+XML_ENTITY_DECL
+XML_ENTITY_NODE
+XML_ENTITY_REF_NODE
+XML_GET_CONTENT
+XML_GET_LINE
+XML_HTML_DOCUMENT_NODE
+XML_LOCAL_NAMESPACE
+XML_NAMESPACE_DECL
+XML_NOTATION_NODE
+XML_PI_NODE
+XML_TEXT_NODE
+XML_XINCLUDE_END
+XML_XINCLUDE_START
+XML_XML_NAMESPACE
+_xmlAttr
+_xmlAttribute
+_xmlBuffer
+_xmlDoc
+_xmlDtd
+_xmlElement
+_xmlElementContent
+_xmlEnumeration
+_xmlID
+_xmlNode
+_xmlNotation
+_xmlNs
+_xmlRef
+xmlAddChild
+xmlAddChildList
+xmlAddNextSibling
+xmlAddPrevSibling
+xmlAddSibling
+xmlAttr
+xmlAttrPtr
+xmlAttribute
+xmlAttributeDefault
+xmlAttributePtr
+xmlAttributeType
+xmlBuffer
+xmlBufferAdd
+xmlBufferAddHead
+xmlBufferAllocationScheme
+xmlBufferCCat
+xmlBufferCat
+xmlBufferContent
+xmlBufferCreate
+xmlBufferCreateSize
+xmlBufferCreateStatic
+xmlBufferDump
+xmlBufferEmpty
+xmlBufferFree
+xmlBufferGrow
+xmlBufferLength
+xmlBufferPtr
+xmlBufferResize
+xmlBufferSetAllocationScheme
+xmlBufferShrink
+xmlBufferWriteCHAR
+xmlBufferWriteChar
+xmlBufferWriteQuotedString
+xmlBuildQName
+xmlChildrenNode
+xmlCopyDoc
+xmlCopyDtd
+xmlCopyNamespace
+xmlCopyNamespaceList
+xmlCopyNode
+xmlCopyNodeList
+xmlCopyProp
+xmlCopyPropList
+xmlCreateIntSubset
+xmlDoc
+xmlDocCopyNode
+xmlDocDump
+xmlDocDumpFormatMemory
+xmlDocDumpFormatMemoryEnc
+xmlDocDumpMemory
+xmlDocDumpMemoryEnc
+xmlDocFormatDump
+xmlDocGetRootElement
+xmlDocPtr
+xmlDocSetRootElement
+xmlDtd
+xmlDtdPtr
+xmlElemDump
+xmlElement
+xmlElementContent
+xmlElementContentOccur
+xmlElementContentPtr
+xmlElementContentType
+xmlElementPtr
+xmlElementType
+xmlElementTypeVal
+xmlEntity
+xmlEntityPtr
+xmlEnumeration
+xmlEnumerationPtr
+xmlFreeDoc
+xmlFreeDtd
+xmlFreeNode
+xmlFreeNodeList
+xmlFreeNs
xmlFreeNsList
+xmlFreeProp
+xmlFreePropList
+xmlGetBufferAllocationScheme
+xmlGetCompressMode
+xmlGetDocCompressMode
+xmlGetIntSubset
xmlGetLastChild
-

Module uri:

xmlNormalizeURIPath
-xmlPrintURI
-xmlURIUnescapeString
-xmlParseURI
-xmlCreateURI
-xmlURIEscapeStr
-xmlCanonicPath
-xmlFreeURI
-xmlParseURIReference
-xmlURIPtr
-_xmlURI
-xmlSaveUri
-xmlURIEscape
-xmlURI
+xmlGetLineNo
+xmlGetNoNsProp
+xmlGetNodePath
+xmlGetNsList
+xmlGetNsProp
+xmlGetProp
+xmlHasNsProp
+xmlHasProp
+xmlID
+xmlIDPtr
+xmlIsBlankNode
+xmlIsXHTML
+xmlNewCDataBlock
+xmlNewCharRef
+xmlNewChild
+xmlNewComment
+xmlNewDoc
+xmlNewDocComment
+xmlNewDocFragment
+xmlNewDocNode
+xmlNewDocNodeEatName
+xmlNewDocProp
+xmlNewDocRawNode
+xmlNewDocText
+xmlNewDocTextLen
+xmlNewDtd
+xmlNewGlobalNs
+xmlNewNode
+xmlNewNodeEatName
+xmlNewNs
+xmlNewNsProp
+xmlNewNsPropEatName
+xmlNewPI
+xmlNewProp
+xmlNewReference
+xmlNewText
+xmlNewTextChild
+xmlNewTextLen
+xmlNode
+xmlNodeAddContent
+xmlNodeAddContentLen
+xmlNodeBufGetContent
+xmlNodeDump
+xmlNodeDumpOutput
+xmlNodeGetBase
+xmlNodeGetContent
+xmlNodeGetLang
+xmlNodeGetSpacePreserve
+xmlNodeIsText
+xmlNodeListGetRawString
+xmlNodeListGetString
+xmlNodePtr
+xmlNodeSetBase
+xmlNodeSetContent
+xmlNodeSetContentLen
+xmlNodeSetLang
+xmlNodeSetName
+xmlNodeSetSpacePreserve
+xmlNotation
+xmlNotationPtr
+xmlNs
+xmlNsPtr
+xmlNsType
+xmlOutputBuffer
+xmlOutputBufferPtr
+xmlParserCtxt
+xmlParserCtxtPtr
+xmlParserInput
+xmlParserInputBuffer
+xmlParserInputBufferPtr
+xmlParserInputPtr
+xmlReconciliateNs
+xmlRef
+xmlRefPtr
+xmlRemoveProp
+xmlReplaceNode
+xmlRootNode
+xmlSAXHandler
+xmlSAXHandlerPtr
+xmlSAXLocator
+xmlSAXLocatorPtr
+xmlSaveFile
+xmlSaveFileEnc
+xmlSaveFileTo
+xmlSaveFormatFile
+xmlSaveFormatFileEnc
+xmlSaveFormatFileTo
+xmlSearchNs
+xmlSearchNsByHref
+xmlSetBufferAllocationScheme
+xmlSetCompressMode
+xmlSetDocCompressMode
+xmlSetListDoc
+xmlSetNs
+xmlSetNsProp
+xmlSetProp
+xmlSetTreeDoc
+xmlSplitQName2
+xmlSplitQName3
+xmlStringGetNodeList
+xmlStringLenGetNodeList
+xmlTextConcat
+xmlTextMerge
+xmlUnlinkNode
+xmlUnsetNsProp
+xmlUnsetProp
+xmlValidateNCName
+xmlValidateNMToken
+xmlValidateName
+xmlValidateQName
+

Module uri:

_xmlURI
xmlBuildURI
-

Module valid:

xmlValidateDocument
-xmlFreeNotationTable
-xmlNotationTable
-xmlValidateNameValue
-xmlSnprintfElementContent
-xmlAddRef
-xmlDumpAttributeDecl
-xmlValidateDocumentFinal
-xmlElementTablePtr
-xmlValidateDtdFinal
-xmlDumpAttributeTable
-xmlCreateEnumeration
-xmlValidateOneAttribute
-xmlValidGetValidElements
-xmlDumpNotationTable
-xmlDumpNotationDecl
-xmlIsID
-xmlGetDtdQAttrDesc
-xmlFreeAttributeTable
-xmlValidityErrorFunc
-xmlValidateAttributeDecl
-xmlGetDtdQElementDesc
-xmlGetRefs
-xmlCopyNotationTable
-xmlNotationTablePtr
-xmlElementTable
-xmlValidGetPotentialChildren
-xmlAddNotationDecl
-xmlValidateElementDecl
+xmlCanonicPath
+xmlCreateURI
+xmlFreeURI
+xmlNormalizeURIPath
+xmlParseURI
+xmlParseURIReference
+xmlPrintURI
+xmlSaveUri
+xmlURI
+xmlURIEscape
+xmlURIEscapeStr
+xmlURIPtr
+xmlURIUnescapeString
+

Module valid:

_xmlValidCtxt
xmlAddAttributeDecl
-xmlGetID
-xmlAddID
-xmlValidState
-xmlSprintfElementContent
-xmlValidateOneElement
-xmlValidateNmtokenValue
-xmlDumpElementTable
-xmlAttributeTablePtr
-xmlIDTable
-_xmlValidCtxt
xmlAddElementDecl
-xmlGetDtdNotationDesc
-xmlValidateOneNamespace
-xmlValidatePushElement
-xmlIsRef
-xmlRemoveRef
-xmlCopyElementTable
-xmlValidateNmtokensValue
-xmlFreeRefTable
-xmlValidCtxtPtr
-xmlRefTable
-xmlValidityWarningFunc
-xmlRemoveID
-xmlFreeElementTable
-xmlValidatePopElement
-xmlFreeIDTable
-xmlValidCtxt
-xmlFreeValidCtxt
+xmlAddID
+xmlAddNotationDecl
+xmlAddRef
+xmlAttributeTable
+xmlAttributeTablePtr
xmlCopyAttributeTable
xmlCopyElementContent
-xmlValidateAttributeValue
-xmlValidateRoot
-xmlValidCtxtNormalizeAttributeValue
-xmlValidStatePtr
-xmlIDTablePtr
-xmlFreeEnumeration
-xmlValidateNamesValue
+xmlCopyElementTable
xmlCopyEnumeration
-xmlGetDtdAttrDesc
-xmlValidateDtd
-xmlNewValidCtxt
-xmlIsMixedElement
+xmlCopyNotationTable
+xmlCreateEnumeration
+xmlDumpAttributeDecl
+xmlDumpAttributeTable
xmlDumpElementDecl
-xmlValidNormalizeAttributeValue
-xmlValidBuildContentModel
-xmlValidateElement
-xmlValidateNotationUse
-xmlAttributeTable
-xmlValidateNotationDecl
-xmlNewElementContent
-xmlGetDtdElementDesc
+xmlDumpElementTable
+xmlDumpNotationDecl
+xmlDumpNotationTable
+xmlElementTable
+xmlElementTablePtr
+xmlFreeAttributeTable
xmlFreeElementContent
-xmlValidatePushCData
+xmlFreeElementTable
+xmlFreeEnumeration
+xmlFreeIDTable
+xmlFreeNotationTable
+xmlFreeRefTable
+xmlFreeValidCtxt
+xmlGetDtdAttrDesc
+xmlGetDtdElementDesc
+xmlGetDtdNotationDesc
+xmlGetDtdQAttrDesc
+xmlGetDtdQElementDesc
+xmlGetID
+xmlGetRefs
+xmlIDTable
+xmlIDTablePtr
+xmlIsID
+xmlIsMixedElement
+xmlIsRef
+xmlNewElementContent
+xmlNewValidCtxt
+xmlNotationTable
+xmlNotationTablePtr
+xmlRefTable
xmlRefTablePtr
-

Module xinclude:

XINCLUDE_PARSE_TEXT
-XINCLUDE_PARSE_XPOINTER
-xmlXIncludeProcessFlags
-xmlXIncludeCtxt
+xmlRemoveID
+xmlRemoveRef
+xmlSnprintfElementContent
+xmlSprintfElementContent
+xmlValidBuildContentModel
+xmlValidCtxt
+xmlValidCtxtNormalizeAttributeValue
+xmlValidCtxtPtr
+xmlValidGetPotentialChildren
+xmlValidGetValidElements
+xmlValidNormalizeAttributeValue
+xmlValidState
+xmlValidStatePtr
+xmlValidateAttributeDecl
+xmlValidateAttributeValue
+xmlValidateDocument
+xmlValidateDocumentFinal
+xmlValidateDtd
+xmlValidateDtdFinal
+xmlValidateElement
+xmlValidateElementDecl
+xmlValidateNameValue
+xmlValidateNamesValue
+xmlValidateNmtokenValue
+xmlValidateNmtokensValue
+xmlValidateNotationDecl
+xmlValidateNotationUse
+xmlValidateOneAttribute
+xmlValidateOneElement
+xmlValidateOneNamespace
+xmlValidatePopElement
+xmlValidatePushCData
+xmlValidatePushElement
+xmlValidateRoot
+xmlValidityErrorFunc
+xmlValidityWarningFunc
+

Module xinclude:

XINCLUDE_FALLBACK
XINCLUDE_HREF
-xmlXIncludeProcessNode
-XINCLUDE_FALLBACK
-XINCLUDE_NS
-XINCLUDE_PARSE
-xmlXIncludeProcessTree
-xmlXIncludeProcess
-xmlXIncludeFreeContext
-xmlXIncludeCtxtPtr
XINCLUDE_NODE
-xmlXIncludeSetFlags
-XINCLUDE_PARSE_XML
-xmlXIncludeNewContext
+XINCLUDE_NS
XINCLUDE_OLD_NS
-xmlXIncludeProcessTreeFlags
+XINCLUDE_PARSE
XINCLUDE_PARSE_ENCODING
-

Module xlink:

xlinkShow
-XLINK_TYPE_SIMPLE
-xlinkHRef
-xlinkSetDefaultHandler
-XLINK_SHOW_NEW
-XLINK_TYPE_EXTENDED
-xlinkExtendedLinkSetFunk
-xlinkActuate
-xlinkSetDefaultDetect
-xlinkIsLink
-xlinkGetDefaultDetect
-xlinkTitle
-XLINK_TYPE_EXTENDED_SET
+XINCLUDE_PARSE_TEXT
+XINCLUDE_PARSE_XML
+XINCLUDE_PARSE_XPOINTER
+xmlXIncludeCtxt
+xmlXIncludeCtxtPtr
+xmlXIncludeFreeContext
+xmlXIncludeNewContext
+xmlXIncludeProcess
+xmlXIncludeProcessFlags
+xmlXIncludeProcessNode
+xmlXIncludeProcessTree
+xmlXIncludeProcessTreeFlags
+xmlXIncludeSetFlags
+

Module xlink:

XLINK_ACTUATE_AUTO
XLINK_ACTUATE_NONE
-xlinkRole
-xlinkExtendedLinkFunk
-XLINK_SHOW_NONE
-XLINK_TYPE_NONE
-XLINK_SHOW_REPLACE
-xlinkHandler
-xlinkNodeDetectFunc
-xlinkGetDefaultHandler
-xlinkHandlerPtr
XLINK_ACTUATE_ONREQUEST
-xlinkType
-_xlinkHandler
-xlinkSimpleLinkFunk
-XLINK_ACTUATE_AUTO
XLINK_SHOW_EMBED
-

Module xmlIO:

xmlIOHTTPRead
-xmlInputMatchCallback
-xmlRegisterDefaultOutputCallbacks
-xmlFileClose
-xmlOutputMatchCallback
-xmlIOFTPRead
-xmlRegisterHTTPPostCallbacks
-xmlIOFTPOpen
-xmlIOFTPClose
-xmlFileOpen
-_xmlOutputBuffer
-xmlOutputBufferCreateFile
-xmlCheckFilename
-xmlOutputOpenCallback
-xmlParserInputBufferCreateFilename
-xmlOutputBufferClose
-xmlParserInputBufferCreateFd
-xmlOutputBufferCreateIO
-xmlOutputWriteCallback
-xmlOutputBufferFlush
-xmlCheckHTTPInput
-xmlRegisterOutputCallbacks
-xmlParserInputBufferCreateMem
-xmlIOFTPMatch
-xmlRegisterInputCallbacks
-xmlFreeParserInputBuffer
-xmlRegisterDefaultInputCallbacks
-xmlParserInputBufferGrow
+XLINK_SHOW_NEW
+XLINK_SHOW_NONE
+XLINK_SHOW_REPLACE
+XLINK_TYPE_EXTENDED
+XLINK_TYPE_EXTENDED_SET
+XLINK_TYPE_NONE
+XLINK_TYPE_SIMPLE
+_xlinkHandler
+xlinkActuate
+xlinkExtendedLinkFunk
+xlinkExtendedLinkSetFunk
+xlinkGetDefaultDetect
+xlinkGetDefaultHandler
+xlinkHRef
+xlinkHandler
+xlinkHandlerPtr
+xlinkIsLink
+xlinkNodeDetectFunc
+xlinkRole
+xlinkSetDefaultDetect
+xlinkSetDefaultHandler
+xlinkShow
+xlinkSimpleLinkFunk
+xlinkTitle
+xlinkType
+

Module xmlIO:

_xmlOutputBuffer
+_xmlParserInputBuffer
xmlAllocOutputBuffer
-xmlNoNetExternalEntityLoader
-xmlOutputCloseCallback
+xmlAllocParserInputBuffer
+xmlCheckFilename
+xmlCheckHTTPInput
+xmlCleanupInputCallbacks
+xmlCleanupOutputCallbacks
+xmlFileClose
+xmlFileMatch
+xmlFileOpen
+xmlFileRead
+xmlFreeParserInputBuffer
+xmlIOFTPClose
+xmlIOFTPMatch
+xmlIOFTPOpen
+xmlIOFTPRead
+xmlIOHTTPClose
xmlIOHTTPMatch
xmlIOHTTPOpen
-xmlParserInputBufferCreateIO
-xmlOutputBufferCreateFd
-xmlNormalizeWindowsPath
-xmlInputReadCallback
-_xmlParserInputBuffer
-xmlIOHTTPClose
-xmlParserInputBufferPush
-xmlOutputBufferCreateFilename
-xmlCleanupOutputCallbacks
-xmlInputOpenCallback
-xmlParserInputBufferRead
-xmlOutputBufferWriteString
-xmlFileMatch
-xmlFileRead
-xmlParserInputBufferCreateFile
-xmlParserInputBufferCreateStatic
-xmlParserGetDirectory
-xmlOutputBufferWrite
-xmlCleanupInputCallbacks
-xmlInputCloseCallback
xmlIOHTTPOpenW
-xmlAllocParserInputBuffer
-

Module xmlautomata:

xmlFreeAutomata
-xmlAutomataNewCounter
-xmlAutomataGetInitState
-xmlAutomataNewTransition2
-xmlAutomataState
-xmlAutomataNewState
-xmlAutomataPtr
-xmlAutomataNewCountTrans
-xmlAutomataNewAllTrans
-xmlAutomataNewOnceTrans
-xmlAutomataNewCounterTrans
+xmlIOHTTPRead
+xmlInputCloseCallback
+xmlInputMatchCallback
+xmlInputOpenCallback
+xmlInputReadCallback
+xmlNoNetExternalEntityLoader
+xmlNormalizeWindowsPath
+xmlOutputBufferClose
+xmlOutputBufferCreateFd
+xmlOutputBufferCreateFile
+xmlOutputBufferCreateFilename
+xmlOutputBufferCreateIO
+xmlOutputBufferFlush
+xmlOutputBufferWrite
+xmlOutputBufferWriteString
+xmlOutputCloseCallback
+xmlOutputMatchCallback
+xmlOutputOpenCallback
+xmlOutputWriteCallback
+xmlParserGetDirectory
+xmlParserInputBufferCreateFd
+xmlParserInputBufferCreateFile
+xmlParserInputBufferCreateFilename
+xmlParserInputBufferCreateIO
+xmlParserInputBufferCreateMem
+xmlParserInputBufferCreateStatic
+xmlParserInputBufferGrow
+xmlParserInputBufferPush
+xmlParserInputBufferRead
+xmlRegisterDefaultInputCallbacks
+xmlRegisterDefaultOutputCallbacks
+xmlRegisterHTTPPostCallbacks
+xmlRegisterInputCallbacks
+xmlRegisterOutputCallbacks
+

Module xmlautomata:

xmlAutomata
xmlAutomataCompile
-xmlNewAutomata
-xmlAutomataNewEpsilon
-xmlAutomataStatePtr
-xmlAutomataSetFinalState
-xmlAutomata
-xmlAutomataNewCountedTrans
-xmlAutomataNewTransition
+xmlAutomataGetInitState
xmlAutomataIsDeterminist
-

Module xmlerror:

XML_DTD_CONTENT_ERROR
-XML_SCHEMAV_NOROOT
-XML_DTD_ATTRIBUTE_VALUE
-XML_ERR_INVALID_DEC_CHARREF
-XML_RNGP_PARENTREF_NO_PARENT
-XML_ERR_CDATA_NOT_FINISHED
-XML_XINCLUDE_INCLUDE_IN_INCLUDE
-xmlParserWarning
-xmlErrorDomain
-XML_ERR_DOCUMENT_END
-xmlStructuredErrorFunc
-XML_ERR_ENTITY_NOT_STARTED
-XML_ERR_CHARREF_IN_PROLOG
-XML_RNGP_INVALID_DEFINE_NAME
-XML_SAVE_UNKNOWN_ENCODING
-XML_ERR_CONDSEC_INVALID_KEYWORD
-XML_CATALOG_MISSING_ATTR
-XML_ERR_NO_MEMORY
-XML_ERR_PEREF_SEMICOL_MISSING
-XML_ERR_DOCUMENT_START
-XML_RNGP_PAT_DATA_EXCEPT_TEXT
-XML_FROM_IO
-XML_HTML_UNKNOWN_TAG
-XML_DTD_NOT_STANDALONE
-XML_RNGP_PAT_START_ATTR
-XML_SCHEMAV_NOTEMPTY
-XML_RNGP_NEED_COMBINE
-XML_IO_EROFS
-XML_ERR_DOCTYPE_NOT_FINISHED
-XML_ERR_XMLDECL_NOT_STARTED
-XML_IO_EXDEV
-xmlParserValidityError
-XML_XINCLUDE_NO_FALLBACK
-XML_RNGP_URI_FRAGMENT
-XML_FROM_MEMORY
-XML_SCHEMAP_INVALID_MAXOCCURS
-XML_ERR_MISSING_ENCODING
-XML_SCHEMAP_UNKNOWN_ATTR_CHILD
-XML_RNGP_ELEMENT_CONTENT
-XML_ERR_LT_IN_ATTRIBUTE
-XML_XINCLUDE_ENTITY_DEF_MISMATCH
-XML_XPTR_RESOURCE_ERROR
-XML_IO_EISCONN
-XML_ERR_GT_REQUIRED
-XML_SCHEMAP_FACET_NO_VALUE
-XML_HTTP_UNKNOWN_HOST
-XML_XPTR_EXTRA_OBJECTS
-XML_ERR_ENTITY_NOT_FINISHED
-XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD
-XML_IO_UNKNOWN
-XML_RNGP_PAT_ONEMORE_GROUP_ATTR
-XML_ERR_VALUE_REQUIRED
-XML_RNGP_INTERLEAVE_EMPTY
-XML_IO_ECHILD
-XML_RNGP_URI_NOT_ABSOLUTE
-XML_RNGP_NAME_MISSING
-XML_ERR_CONDSEC_NOT_STARTED
-XML_RNGP_START_MISSING
-XML_ERR_PEREF_IN_EPILOG
-XML_IO_EINTR
-XML_FROM_VALID
-XML_FTP_PASV_ANSWER
-XML_RNGP_ATTRIBUTE_NOOP
-XML_SCHEMAP_UNKNOWN_ELEM_CHILD
-XML_CATALOG_RECURSION
-XML_SCHEMAP_REDEFINED_GROUP
-XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI
-XML_ERR_CHARREF_IN_EPILOG
-XML_DTD_ELEM_DEFAULT_NAMESPACE
-XML_SCHEMAP_FAILED_BUILD_IMPORT
-XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD
-XML_SCHEMAP_REGEXP_INVALID
-XML_XPTR_CHILDSEQ_START
+xmlAutomataNewAllTrans
+xmlAutomataNewCountTrans
+xmlAutomataNewCountedTrans
+xmlAutomataNewCounter
+xmlAutomataNewCounterTrans
+xmlAutomataNewEpsilon
+xmlAutomataNewOnceTrans
+xmlAutomataNewState
+xmlAutomataNewTransition
+xmlAutomataNewTransition2
+xmlAutomataPtr
+xmlAutomataSetFinalState
+xmlAutomataState
+xmlAutomataStatePtr
+xmlFreeAutomata
+xmlNewAutomata
+

Module xmlerror:

XML_C14N_CREATE_CTXT
XML_C14N_CREATE_STACK
-XML_XINCLUDE_TEXT_FRAGMENT
-XML_ERR_EXT_SUBSET_NOT_FINISHED
-XML_RNGP_PARENTREF_NAME_INVALID
-XML_FROM_DTD
-XML_SCHEMAV_CONSTRUCT
-XML_RNGP_EXTERNALREF_RECURSE
-xmlParserValidityWarning
-XML_DTD_ATTRIBUTE_DEFAULT
-XML_RNGP_UNKNOWN_COMBINE
-XML_RNGP_START_EMPTY
-XML_RNGP_ELEM_CONTENT_EMPTY
-XML_XPATH_EXPRESSION_OK
-xmlSetGenericErrorFunc
-XML_IO_EMLINK
-XML_ERR_NMTOKEN_REQUIRED
-XML_RNGP_ANYNAME_ATTR_ANCESTOR
-XML_ERR_ENTITY_IS_EXTERNAL
-XML_WAR_UNDECLARED_ENTITY
-XML_ERR_PI_NOT_STARTED
-XML_RNGP_START_CONTENT
-XML_RNGP_GROUP_ATTR_CONFLICT
-XML_RNGP_EMPTY
-XML_SCHEMAV_ATTRUNKNOWN
-XML_IO_ENODEV
-XML_RNGP_PAT_DATA_EXCEPT_REF
-XML_FROM_PARSER
-XML_XINCLUDE_RECURSION
-XML_C14N_CREATE_CTXT
-XML_SCHEMAP_ATTRGRP_NONAME_NOREF
-XML_SCHEMAP_RESTRICTION_NONAME_NOREF
-XML_XINCLUDE_TEXT_DOCUMENT
-XML_SCHEMAP_UNKNOWN_PREFIX
-XML_XINCLUDE_FALLBACKS_IN_INCLUDE
-XML_ERR_STANDALONE_VALUE
-XML_SCHEMAP_REDEFINED_ATTR
-XML_ERR_ENTITY_LOOP
-XML_XPATH_INVALID_TYPE
-XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD
-XML_IO_EINPROGRESS
-XML_IO_FLUSH
-XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD
XML_C14N_INVALID_NODE
-XML_IO_EFAULT
-XML_XPATH_INVALID_CTXT_POSITION
-XML_ERR_NOTATION_NOT_FINISHED
-xmlError
-XML_DTD_STANDALONE_DEFAULTED
-XML_DTD_INVALID_DEFAULT
-XML_DTD_UNKNOWN_ELEM
-XML_SCHEMAP_REDEFINED_TYPE
-xmlParserPrintFileContext
-XML_SCHEMAV_NOTYPE
-XML_SCHEMAP_UNKNOWN_FACET_CHILD
-XML_SCHEMAP_NOTATION_NO_NAME
-XML_DTD_EMPTY_NOTATION
-XML_RNGP_ELEMENT_EMPTY
-XML_RNGP_PAT_LIST_TEXT
-XML_XPATH_START_LITERAL_ERROR
-XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI
-XML_ERR_ELEMCONTENT_NOT_STARTED
-XML_RNGP_INCLUDE_FAILURE
-XML_RNGP_INVALID_VALUE
-XML_ERR_COMMENT_NOT_FINISHED
-XML_SCHEMAP_REDEFINED_ATTRGROUP
-initGenericErrorDefaultFunc
-XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD
-XML_IO_EMSGSIZE
-XML_FROM_CATALOG
-XML_SCHEMAV_ATTRINVALID
-XML_SCHEMAV_VALUE
-XML_IO_LOAD_ERROR
-XML_FROM_HTML
-XML_RNGP_PAT_START_LIST
-XML_ERR_LT_REQUIRED
-XML_ERR_ATTLIST_NOT_STARTED
-XML_RNGP_ELEMENT_NAME
-XML_ERR_PCDATA_REQUIRED
-XML_SCHEMAV_INTERNAL
-XML_RNGP_PAT_START_VALUE
-XML_ERR_STRING_NOT_CLOSED
-XML_ERR_ENTITYREF_IN_DTD
-XML_SCHEMAV_HAVEDEFAULT
-XML_SCHEMAP_REDEFINED_NOTATION
-XML_RNGP_ERROR_TYPE_LIB
-XML_XPTR_EVAL_FAILED
-XML_DTD_NO_ROOT
-XML_SCHEMAP_IMPORT_REDEFINE_NSNAME
-XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME
-XML_IO_ECANCELED
-XML_ERR_UNKNOWN_ENCODING
-XML_HTTP_URL_SYNTAX
-XML_SCHEMAP_INVALID_FACET
-XML_DTD_CONTENT_MODEL
-XML_XPATH_UNDEF_PREFIX_ERROR
-XML_SCHEMAP_REF_AND_SUBTYPE
-XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR
-XML_IO_EADDRINUSE
-XML_SCHEMAP_UNKNOWN_LIST_CHILD
-XML_CATALOG_ENTRY_BROKEN
-XML_WAR_NS_URI_RELATIVE
-XML_DTD_UNKNOWN_ID
-XML_RNGP_TEXT_EXPECTED
-XML_WAR_NS_URI
-XML_XPATH_UNDEF_VARIABLE_ERROR
-XML_SCHEMAV_ELEMCONT
-XML_IO_EDOM
-XML_SCHEMAV_FACET
-XML_RNGP_PARAM_NAME_MISSING
-xmlErrorLevel
-XML_SCHEMAP_UNKNOWN_BASE_TYPE
-XML_RNGP_INVALID_URI
-XML_RNGP_PAT_LIST_LIST
-XML_RNGP_PAT_DATA_EXCEPT_LIST
-XML_RNGP_EXCEPT_NO_CONTENT
-XML_RNGP_EXCEPT_EMPTY
-XML_XPATH_UNFINISHED_LITERAL_ERROR
-XML_RNGP_EXTERNALREF_EMTPY
-XML_ERR_SPACE_REQUIRED
-XML_SCHEMAV_EXTRACONTENT
-XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD
-XML_DTD_DIFFERENT_PREFIX
-XML_RNGP_INTERLEAVE_NO_CONTENT
-XML_SCHEMAV_NOTDETERMINIST
-XML_ERR_INVALID_HEX_CHARREF
-XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF
-XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD
-XML_RNGP_PAT_START_INTERLEAVE
-XML_HTML_STRUCURE_ERROR
-XML_SCHEMAV_MISSING
-XML_RNGP_GRAMMAR_CONTENT
-XML_XINCLUDE_XPTR_FAILED
-XML_IO_ENFILE
-XML_RNGP_PARENTREF_CREATE_FAILED
-XML_ERR_ENTITY_IS_PARAMETER
-XML_ERR_RESERVED_XML_NAME
-XML_SCHEMAV_NOTSIMPLE
-XML_RNGP_PARENTREF_NO_NAME
-XML_IO_EPERM
-XML_IO_ENETUNREACH
-XML_ERR_CHARREF_AT_EOF
-XML_IO_ENOMEM
-XML_IO_ENOSPC
-XML_RNGP_ATTR_CONFLICT
-XML_RNGP_TYPE_VALUE
-XML_FROM_REGEXP
-XML_XINCLUDE_UNKNOWN_ENCODING
-XML_RNGP_DEF_CHOICE_AND_INTERLEAVE
-XML_TREE_UNTERMINATED_ENTITY
-XML_ERR_URI_REQUIRED
-XML_FROM_TREE
-XML_CATALOG_PREFER_VALUE
-XML_ERR_HYPHEN_IN_COMMENT
-XML_TREE_INVALID_HEX
XML_C14N_REQUIRES_UTF8
-XML_FROM_XINCLUDE
-XML_SCHEMAP_TYPE_AND_SUBTYPE
-xmlParserPrintFileInfo
-xmlParserErrors
-XML_RNGP_GRAMMAR_EMPTY
-XML_IO_ENOTDIR
-XML_SAVE_CHAR_INVALID
-XML_RNGP_ELEMENT_NO_CONTENT
-XML_ERR_ENTITYREF_NO_NAME
+XML_CATALOG_ENTRY_BROKEN
+XML_CATALOG_MISSING_ATTR
+XML_CATALOG_NOT_CATALOG
+XML_CATALOG_PREFER_VALUE
+XML_CATALOG_RECURSION
+XML_DTD_ATTRIBUTE_DEFAULT
+XML_DTD_ATTRIBUTE_REDEFINED
+XML_DTD_ATTRIBUTE_VALUE
+XML_DTD_CONTENT_ERROR
+XML_DTD_CONTENT_MODEL
+XML_DTD_CONTENT_NOT_DETERMINIST
+XML_DTD_DIFFERENT_PREFIX
+XML_DTD_ELEM_DEFAULT_NAMESPACE
+XML_DTD_ELEM_NAMESPACE
+XML_DTD_ELEM_REDEFINED
+XML_DTD_EMPTY_NOTATION
+XML_DTD_ENTITY_TYPE
XML_DTD_ID_FIXED
-XML_XINCLUDE_NO_HREF
-XML_XPATH_INVALID_OPERAND
-XML_IO_ENOEXEC
-XML_RNGP_PAT_LIST_REF
-XML_XINCLUDE_HREF_URI
+XML_DTD_ID_REDEFINED
+XML_DTD_ID_SUBSET
+XML_DTD_INVALID_CHILD
+XML_DTD_INVALID_DEFAULT
+XML_DTD_LOAD_ERROR
+XML_DTD_MISSING_ATTRIBUTE
+XML_DTD_MIXED_CORRUPT
+XML_DTD_MULTIPLE_ID
+XML_DTD_NOTATION_REDEFINED
+XML_DTD_NOTATION_VALUE
+XML_DTD_NOT_EMPTY
+XML_DTD_NOT_PCDATA
+XML_DTD_NOT_STANDALONE
+XML_DTD_NO_DOC
+XML_DTD_NO_DTD
+XML_DTD_NO_ELEM_NAME
+XML_DTD_NO_PREFIX
+XML_DTD_NO_ROOT
+XML_DTD_ROOT_NAME
+XML_DTD_STANDALONE_DEFAULTED
+XML_DTD_STANDALONE_WHITE_SPACE
+XML_DTD_UNKNOWN_ATTRIBUTE
+XML_DTD_UNKNOWN_ELEM
+XML_DTD_UNKNOWN_ENTITY
+XML_DTD_UNKNOWN_ID
+XML_DTD_UNKNOWN_NOTATION
+XML_ERR_ATTLIST_NOT_FINISHED
+XML_ERR_ATTLIST_NOT_STARTED
+XML_ERR_ATTRIBUTE_NOT_FINISHED
+XML_ERR_ATTRIBUTE_NOT_STARTED
+XML_ERR_ATTRIBUTE_REDEFINED
+XML_ERR_ATTRIBUTE_WITHOUT_VALUE
+XML_ERR_CDATA_NOT_FINISHED
+XML_ERR_CHARREF_AT_EOF
+XML_ERR_CHARREF_IN_DTD
+XML_ERR_CHARREF_IN_EPILOG
+XML_ERR_CHARREF_IN_PROLOG
+XML_ERR_COMMENT_NOT_FINISHED
+XML_ERR_CONDSEC_INVALID
+XML_ERR_CONDSEC_INVALID_KEYWORD
+XML_ERR_CONDSEC_NOT_FINISHED
+XML_ERR_CONDSEC_NOT_STARTED
+XML_ERR_DOCTYPE_NOT_FINISHED
+XML_ERR_DOCUMENT_EMPTY
+XML_ERR_DOCUMENT_END
+XML_ERR_DOCUMENT_START
+XML_ERR_ELEMCONTENT_NOT_FINISHED
+XML_ERR_ELEMCONTENT_NOT_STARTED
+XML_ERR_ENCODING_NAME
+XML_ERR_ENTITYREF_AT_EOF
+XML_ERR_ENTITYREF_IN_DTD
+XML_ERR_ENTITYREF_IN_EPILOG
+XML_ERR_ENTITYREF_IN_PROLOG
+XML_ERR_ENTITYREF_NO_NAME
+XML_ERR_ENTITYREF_SEMICOL_MISSING
+XML_ERR_ENTITY_BOUNDARY
+XML_ERR_ENTITY_CHAR_ERROR
+XML_ERR_ENTITY_IS_EXTERNAL
+XML_ERR_ENTITY_IS_PARAMETER
+XML_ERR_ENTITY_LOOP
+XML_ERR_ENTITY_NOT_FINISHED
+XML_ERR_ENTITY_NOT_STARTED
+XML_ERR_ENTITY_PE_INTERNAL
+XML_ERR_EQUAL_REQUIRED
+XML_ERR_ERROR
XML_ERR_EXTRA_CONTENT
XML_ERR_EXT_ENTITY_STANDALONE
-XML_SCHEMAP_FAILED_PARSE
-XML_RNGP_REF_CYCLE
-XML_RNGP_HREF_ERROR
-XML_FROM_NONE
-XML_RNGP_PAT_DATA_EXCEPT_GROUP
-XML_ERR_LITERAL_NOT_STARTED
-XML_SCHEMAP_INVALID_REF_AND_SUBTYPE
-XML_RNGP_ELEM_TEXT_CONFLICT
-XML_SCHEMAP_ATTR_NONAME_NOREF
-XML_SCHEMAP_ELEM_NONAME_NOREF
-XML_DTD_ID_SUBSET
-XML_ERR_ENTITY_CHAR_ERROR
-XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD
-XML_RNGP_PAT_START_EMPTY
-XML_DTD_UNKNOWN_ENTITY
-XML_RNGP_PARSE_ERROR
-XML_RNGP_XML_NS
-XML_ERR_MISPLACED_CDATA_END
-XML_FROM_HTTP
-XML_RNGP_PAT_DATA_EXCEPT_ONEMORE
-XML_WAR_LANG_VALUE
-XML_RNGP_REF_CREATE_FAILED
-XML_ERR_SEPARATOR_REQUIRED
-XML_DTD_ROOT_NAME
-XML_RNGP_UNKNOWN_TYPE_LIB
-XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE
-XML_RNGP_ATTRIBUTE_CONTENT
-XML_RNGP_REF_NOT_EMPTY
-xmlGetLastError
-XML_XPATH_VARIABLE_REF_ERROR
-XML_RNGP_INTERLEAVE_ADD
-XML_SCHEMAP_UNKNOWN_CHOICE_CHILD
-XML_DTD_NOTATION_REDEFINED
-XML_RNGP_ELEM_CONTENT_ERROR
-xmlParserError
-XML_DTD_ATTRIBUTE_REDEFINED
-XML_RNGP_UNKNOWN_ATTRIBUTE
-XML_ERR_UNDECLARED_ENTITY
-XML_ERR_PUBID_REQUIRED
-XML_IO_ENOTSOCK
-XML_RNGP_PAT_START_GROUP
-XML_RNGP_NOTALLOWED_NOT_EMPTY
-XML_RNGP_MISSING_HREF
-XML_ERR_PI_NOT_FINISHED
-XML_FROM_RELAXNGP
-XML_RNGP_PAT_DATA_EXCEPT_ATTR
-XML_FTP_ACCNT
-XML_FROM_RELAXNGV
-XML_RNGP_REF_NAME_INVALID
-XML_SCHEMAV_NOTTOPLEVEL
-XML_IO_ENOENT
-XML_ERR_NO_DTD
-XML_FROM_C14N
-XML_FROM_XSLT
-XML_RNGP_PAT_LIST_ATTR
-XML_IO_EIO
-XML_IO_EACCES
-XML_DTD_NOT_PCDATA
-XML_SCHEMAP_PREFIX_UNDEFINED
-XML_WAR_UNKNOWN_VERSION
-XML_RNGP_PARAM_FORBIDDEN
-XML_ERR_OK
-XML_SCHEMAP_NOTHING_TO_PARSE
-XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD
-XML_ERR_UNSUPPORTED_ENCODING
-XML_SCHEMAP_GROUP_NONAME_NOREF
-XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME
-XML_ERR_ENTITYREF_IN_PROLOG
-XML_ERR_CHARREF_IN_DTD
-XML_DTD_LOAD_ERROR
-XML_SCHEMAP_UNKNOWN_NOTATION_CHILD
-XML_IO_ENOTTY
-XML_RNGP_EMPTY_CONTENT
-XML_IO_EALREADY
-XML_DTD_NO_DTD
-XML_IO_ERANGE
-XML_DTD_UNKNOWN_NOTATION
-XML_IO_ENOSYS
-XML_FROM_DATATYPE
-XML_ERR_WARNING
-XML_SCHEMAP_ATTRFORMDEFAULT_VALUE
-XML_IO_EISDIR
-XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE
-XML_ERR_VERSION_MISSING
-XML_XINCLUDE_MULTIPLE_ROOT
-XML_XPATH_INVALID_CTXT_SIZE
-XML_SCHEMAP_UNKNOWN_UNION_CHILD
-XML_ERR_PEREF_AT_EOF
-XML_XPATH_MEMORY_ERROR
-XML_SCHEMAP_NOROOT
-XML_XPATH_EXPR_ERROR
-XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI
-XML_RNGP_DEFINE_EMPTY
-XML_ERR_ATTRIBUTE_NOT_STARTED
-XML_XPATH_UNCLOSED_ERROR
-XML_WAR_CATALOG_PI
-XML_SCHEMAP_INVALID_MINOCCURS
-XML_IO_ENOLCK
-XML_XINCLUDE_DEPRECATED_NS
-XML_RNGP_CHOICE_EMPTY
-XML_ERR_LITERAL_NOT_FINISHED
-xmlSetStructuredErrorFunc
-XML_ERR_ENTITYREF_SEMICOL_MISSING
-XML_DTD_MULTIPLE_ID
-XML_FROM_XPATH
-XML_IO_EPIPE
-XML_TREE_INVALID_DEC
-XML_SCHEMAP_EXTENSION_NO_BASE
-XML_SCHEMAP_NOTYPE_NOREF
-xmlResetError
-XML_RNGP_ATTRIBUTE_EMPTY
-XML_SCHEMAV_ISABSTRACT
-XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP
-XML_DTD_NOT_EMPTY
-XML_RNGP_PAT_LIST_ELEM
-XML_SCHEMAV_UNDECLAREDELEM
-XML_RNGP_CREATE_FAILURE
-XML_IO_EBADF
-XML_ERR_CONDSEC_NOT_FINISHED
-XML_RNGP_PREFIX_UNDEFINED
-XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI
-XML_ERR_EQUAL_REQUIRED
-XML_XPATH_UNKNOWN_FUNC_ERROR
-XML_SCHEMAP_INVALID_WHITE_SPACE
-XML_RNGP_INCLUDE_EMPTY
-XML_IO_ENOTSUP
-XML_DTD_UNKNOWN_ATTRIBUTE
-XML_XPTR_SUB_RESOURCE_ERROR
-XML_RNGP_VALUE_EMPTY
-XML_RNGP_INTERLEAVE_CREATE_FAILED
-XML_DTD_NO_PREFIX
-XML_IO_EAGAIN
-XML_RNGP_UNKNOWN_CONSTRUCT
-XML_ERR_UNPARSED_ENTITY
-XML_SCHEMAP_UNKNOWN_IMPORT_CHILD
-XML_FTP_EPSV_ANSWER
-XML_DTD_ENTITY_TYPE
+XML_ERR_EXT_SUBSET_NOT_FINISHED
XML_ERR_FATAL
-_xmlError
-XML_DTD_ID_REDEFINED
-XML_XPATH_ENCODING_ERROR
-XML_RNGP_REF_NO_NAME
+XML_ERR_GT_REQUIRED
+XML_ERR_HYPHEN_IN_COMMENT
+XML_ERR_INTERNAL_ERROR
+XML_ERR_INVALID_CHAR
+XML_ERR_INVALID_CHARREF
+XML_ERR_INVALID_DEC_CHARREF
+XML_ERR_INVALID_ENCODING
+XML_ERR_INVALID_HEX_CHARREF
+XML_ERR_INVALID_URI
+XML_ERR_LITERAL_NOT_FINISHED
+XML_ERR_LITERAL_NOT_STARTED
+XML_ERR_LTSLASH_REQUIRED
+XML_ERR_LT_IN_ATTRIBUTE
+XML_ERR_LT_REQUIRED
+XML_ERR_MISPLACED_CDATA_END
+XML_ERR_MISSING_ENCODING
+XML_ERR_MIXED_NOT_FINISHED
+XML_ERR_MIXED_NOT_STARTED
+XML_ERR_NAME_REQUIRED
+XML_ERR_NMTOKEN_REQUIRED
XML_ERR_NONE
-XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD
-XML_RNGP_NSNAME_ATTR_ANCESTOR
-XML_SCHEMAP_UNKNOWN_FACET_TYPE
-XML_RNGP_PAT_START_ONEMORE
-XML_ERR_CONDSEC_INVALID
-XML_RNGP_PAT_ATTR_ATTR
-XML_XPTR_UNKNOWN_SCHEME
-XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD
-XML_SCHEMAP_INVALID_FACET_VALUE
-xmlErrorPtr
-XML_SCHEMAP_INVALID_BOOLEAN
-XML_ERR_ENTITYREF_IN_EPILOG
-XML_SCHEMAP_NOATTR_NOREF
-XML_RNGP_GRAMMAR_MISSING
-XML_DTD_CONTENT_NOT_DETERMINIST
-XML_DTD_NO_ELEM_NAME
-XML_RNGP_GRAMMAR_NO_START
-XML_RNGP_VALUE_NO_CONTENT
-XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD
-XML_IO_EAFNOSUPPORT
-xmlResetLastError
-XML_XPTR_SYNTAX_ERROR
-XML_CATALOG_NOT_CATALOG
-XML_SCHEMAP_UNKNOWN_REF
-XML_RNGP_PAT_DATA_EXCEPT_EMPTY
-xmlCtxtResetLastError
-XML_IO_EFBIG
+XML_ERR_NOTATION_NOT_FINISHED
+XML_ERR_NOTATION_NOT_STARTED
+XML_ERR_NOT_WELL_BALANCED
+XML_ERR_NO_DTD
+XML_ERR_NO_MEMORY
XML_ERR_NS_DECL_ERROR
-XML_RNGP_PAT_START_DATA
-XML_ERR_ERROR
-XML_DTD_MISSING_ATTRIBUTE
+XML_ERR_OK
+XML_ERR_PCDATA_REQUIRED
+XML_ERR_PEREF_AT_EOF
+XML_ERR_PEREF_IN_EPILOG
+XML_ERR_PEREF_IN_INT_SUBSET
+XML_ERR_PEREF_IN_PROLOG
+XML_ERR_PEREF_NO_NAME
+XML_ERR_PEREF_SEMICOL_MISSING
+XML_ERR_PI_NOT_FINISHED
+XML_ERR_PI_NOT_STARTED
+XML_ERR_PUBID_REQUIRED
+XML_ERR_RESERVED_XML_NAME
+XML_ERR_SEPARATOR_REQUIRED
+XML_ERR_SPACE_REQUIRED
+XML_ERR_STANDALONE_VALUE
+XML_ERR_STRING_NOT_CLOSED
+XML_ERR_STRING_NOT_STARTED
+XML_ERR_TAG_NAME_MISMATCH
+XML_ERR_TAG_NOT_FINISHED
+XML_ERR_UNDECLARED_ENTITY
+XML_ERR_UNKNOWN_ENCODING
+XML_ERR_UNPARSED_ENTITY
+XML_ERR_UNSUPPORTED_ENCODING
+XML_ERR_URI_FRAGMENT
+XML_ERR_URI_REQUIRED
+XML_ERR_VALUE_REQUIRED
+XML_ERR_VERSION_MISSING
+XML_ERR_WARNING
+XML_ERR_XMLDECL_NOT_FINISHED
+XML_ERR_XMLDECL_NOT_STARTED
+XML_FROM_C14N
+XML_FROM_CATALOG
+XML_FROM_DATATYPE
+XML_FROM_DTD
+XML_FROM_FTP
+XML_FROM_HTML
+XML_FROM_HTTP
+XML_FROM_IO
+XML_FROM_MEMORY
+XML_FROM_NAMESPACE
+XML_FROM_NONE
+XML_FROM_OUTPUT
+XML_FROM_PARSER
+XML_FROM_REGEXP
+XML_FROM_RELAXNGP
+XML_FROM_RELAXNGV
+XML_FROM_SCHEMASP
+XML_FROM_SCHEMASV
+XML_FROM_TREE
+XML_FROM_VALID
+XML_FROM_XINCLUDE
+XML_FROM_XPATH
+XML_FROM_XPOINTER
+XML_FROM_XSLT
+XML_FTP_ACCNT
+XML_FTP_EPSV_ANSWER
+XML_FTP_PASV_ANSWER
+XML_HTML_STRUCURE_ERROR
+XML_HTML_UNKNOWN_TAG
+XML_HTTP_UNKNOWN_HOST
+XML_HTTP_URL_SYNTAX
+XML_HTTP_USE_IP
+XML_IO_BUFFER_FULL
+XML_IO_EACCES
+XML_IO_EADDRINUSE
+XML_IO_EAFNOSUPPORT
+XML_IO_EAGAIN
+XML_IO_EALREADY
+XML_IO_EBADF
+XML_IO_EBADMSG
+XML_IO_EBUSY
+XML_IO_ECANCELED
+XML_IO_ECHILD
+XML_IO_ECONNREFUSED
+XML_IO_EDEADLK
+XML_IO_EDOM
+XML_IO_EEXIST
+XML_IO_EFAULT
+XML_IO_EFBIG
+XML_IO_EINPROGRESS
+XML_IO_EINTR
+XML_IO_EINVAL
+XML_IO_EIO
+XML_IO_EISCONN
+XML_IO_EISDIR
XML_IO_EMFILE
-XML_RNGP_EMPTY_NOT_EMPTY
-XML_DTD_ELEM_NAMESPACE
-XML_RNGP_PAT_ATTR_ELEM
-XML_XINCLUDE_FRAGMENT_ID
+XML_IO_EMLINK
+XML_IO_EMSGSIZE
+XML_IO_ENAMETOOLONG
+XML_IO_ENCODER
+XML_IO_ENETUNREACH
+XML_IO_ENFILE
+XML_IO_ENODEV
+XML_IO_ENOENT
+XML_IO_ENOEXEC
+XML_IO_ENOLCK
+XML_IO_ENOMEM
+XML_IO_ENOSPC
+XML_IO_ENOSYS
+XML_IO_ENOTDIR
+XML_IO_ENOTEMPTY
+XML_IO_ENOTSOCK
+XML_IO_ENOTSUP
+XML_IO_ENOTTY
+XML_IO_ENXIO
+XML_IO_EPERM
+XML_IO_EPIPE
+XML_IO_ERANGE
+XML_IO_EROFS
+XML_IO_ESPIPE
+XML_IO_ESRCH
+XML_IO_ETIMEDOUT
+XML_IO_EXDEV
+XML_IO_FLUSH
+XML_IO_LOAD_ERROR
+XML_IO_NETWORK_ATTEMPT
XML_IO_NO_INPUT
+XML_IO_UNKNOWN
+XML_IO_WRITE
+XML_NS_ERR_ATTRIBUTE_REDEFINED
+XML_NS_ERR_QNAME
XML_NS_ERR_UNDEFINED_NAMESPACE
+XML_NS_ERR_XML_NAMESPACE
+XML_REGEXP_COMPILE_ERROR
+XML_RNGP_ANYNAME_ATTR_ANCESTOR
+XML_RNGP_ATTRIBUTE_CHILDREN
+XML_RNGP_ATTRIBUTE_CONTENT
+XML_RNGP_ATTRIBUTE_EMPTY
+XML_RNGP_ATTRIBUTE_NOOP
+XML_RNGP_ATTR_CONFLICT
+XML_RNGP_CHOICE_CONTENT
+XML_RNGP_CHOICE_EMPTY
+XML_RNGP_CREATE_FAILURE
+XML_RNGP_DATA_CONTENT
+XML_RNGP_DEFINE_CREATE_FAILED
+XML_RNGP_DEFINE_EMPTY
+XML_RNGP_DEFINE_MISSING
+XML_RNGP_DEFINE_NAME_MISSING
+XML_RNGP_DEF_CHOICE_AND_INTERLEAVE
+XML_RNGP_ELEMENT_CONTENT
+XML_RNGP_ELEMENT_EMPTY
+XML_RNGP_ELEMENT_NAME
+XML_RNGP_ELEMENT_NO_CONTENT
+XML_RNGP_ELEM_CONTENT_EMPTY
+XML_RNGP_ELEM_CONTENT_ERROR
+XML_RNGP_ELEM_TEXT_CONFLICT
+XML_RNGP_EMPTY
+XML_RNGP_EMPTY_CONSTRUCT
+XML_RNGP_EMPTY_CONTENT
+XML_RNGP_EMPTY_NOT_EMPTY
+XML_RNGP_ERROR_TYPE_LIB
+XML_RNGP_EXCEPT_EMPTY
+XML_RNGP_EXCEPT_MISSING
+XML_RNGP_EXCEPT_MULTIPLE
+XML_RNGP_EXCEPT_NO_CONTENT
+XML_RNGP_EXTERNALREF_EMTPY
+XML_RNGP_EXTERNALREF_RECURSE
+XML_RNGP_EXTERNAL_REF_FAILURE
+XML_RNGP_FORBIDDEN_ATTRIBUTE
+XML_RNGP_FOREIGN_ELEMENT
+XML_RNGP_GRAMMAR_CONTENT
+XML_RNGP_GRAMMAR_EMPTY
+XML_RNGP_GRAMMAR_MISSING
+XML_RNGP_GRAMMAR_NO_START
+XML_RNGP_GROUP_ATTR_CONFLICT
+XML_RNGP_HREF_ERROR
+XML_RNGP_INCLUDE_EMPTY
+XML_RNGP_INCLUDE_FAILURE
+XML_RNGP_INCLUDE_RECURSE
+XML_RNGP_INTERLEAVE_ADD
+XML_RNGP_INTERLEAVE_CREATE_FAILED
+XML_RNGP_INTERLEAVE_EMPTY
+XML_RNGP_INTERLEAVE_NO_CONTENT
+XML_RNGP_INVALID_DEFINE_NAME
+XML_RNGP_INVALID_URI
+XML_RNGP_INVALID_VALUE
+XML_RNGP_MISSING_HREF
+XML_RNGP_NAME_MISSING
+XML_RNGP_NEED_COMBINE
+XML_RNGP_NOTALLOWED_NOT_EMPTY
+XML_RNGP_NSNAME_ATTR_ANCESTOR
+XML_RNGP_NSNAME_NO_NS
+XML_RNGP_PARAM_FORBIDDEN
+XML_RNGP_PARAM_NAME_MISSING
+XML_RNGP_PARENTREF_CREATE_FAILED
+XML_RNGP_PARENTREF_NAME_INVALID
+XML_RNGP_PARENTREF_NOT_EMPTY
+XML_RNGP_PARENTREF_NO_NAME
+XML_RNGP_PARENTREF_NO_PARENT
+XML_RNGP_PARSE_ERROR
+XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME
+XML_RNGP_PAT_ATTR_ATTR
+XML_RNGP_PAT_ATTR_ELEM
+XML_RNGP_PAT_DATA_EXCEPT_ATTR
+XML_RNGP_PAT_DATA_EXCEPT_ELEM
+XML_RNGP_PAT_DATA_EXCEPT_EMPTY
+XML_RNGP_PAT_DATA_EXCEPT_GROUP
+XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE
+XML_RNGP_PAT_DATA_EXCEPT_LIST
+XML_RNGP_PAT_DATA_EXCEPT_ONEMORE
+XML_RNGP_PAT_DATA_EXCEPT_REF
+XML_RNGP_PAT_DATA_EXCEPT_TEXT
+XML_RNGP_PAT_LIST_ATTR
+XML_RNGP_PAT_LIST_ELEM
+XML_RNGP_PAT_LIST_INTERLEAVE
+XML_RNGP_PAT_LIST_LIST
+XML_RNGP_PAT_LIST_REF
+XML_RNGP_PAT_LIST_TEXT
+XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME
+XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME
+XML_RNGP_PAT_ONEMORE_GROUP_ATTR
+XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR
+XML_RNGP_PAT_START_ATTR
+XML_RNGP_PAT_START_DATA
+XML_RNGP_PAT_START_EMPTY
+XML_RNGP_PAT_START_GROUP
+XML_RNGP_PAT_START_INTERLEAVE
+XML_RNGP_PAT_START_LIST
+XML_RNGP_PAT_START_ONEMORE
+XML_RNGP_PAT_START_TEXT
+XML_RNGP_PAT_START_VALUE
+XML_RNGP_PREFIX_UNDEFINED
+XML_RNGP_REF_CREATE_FAILED
+XML_RNGP_REF_CYCLE
+XML_RNGP_REF_NAME_INVALID
+XML_RNGP_REF_NOT_EMPTY
+XML_RNGP_REF_NO_DEF
+XML_RNGP_REF_NO_NAME
+XML_RNGP_START_CHOICE_AND_INTERLEAVE
+XML_RNGP_START_CONTENT
+XML_RNGP_START_EMPTY
+XML_RNGP_START_MISSING
+XML_RNGP_TEXT_EXPECTED
+XML_RNGP_TEXT_HAS_CHILD
+XML_RNGP_TYPE_MISSING
+XML_RNGP_TYPE_NOT_FOUND
+XML_RNGP_TYPE_VALUE
+XML_RNGP_UNKNOWN_ATTRIBUTE
+XML_RNGP_UNKNOWN_COMBINE
+XML_RNGP_UNKNOWN_CONSTRUCT
+XML_RNGP_UNKNOWN_TYPE_LIB
+XML_RNGP_URI_FRAGMENT
+XML_RNGP_URI_NOT_ABSOLUTE
+XML_RNGP_VALUE_EMPTY
+XML_RNGP_VALUE_NO_CONTENT
+XML_RNGP_XMLNS_NAME
+XML_RNGP_XML_NS
+XML_SAVE_CHAR_INVALID
+XML_SAVE_NOT_UTF8
+XML_SAVE_NO_DOCTYPE
+XML_SAVE_UNKNOWN_ENCODING
+XML_SCHEMAP_ATTRFORMDEFAULT_VALUE
+XML_SCHEMAP_ATTRGRP_NONAME_NOREF
+XML_SCHEMAP_ATTR_NONAME_NOREF
+XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF
+XML_SCHEMAP_DEF_AND_PREFIX
+XML_SCHEMAP_ELEMFORMDEFAULT_VALUE
+XML_SCHEMAP_ELEM_DEFAULT_FIXED
+XML_SCHEMAP_ELEM_NONAME_NOREF
+XML_SCHEMAP_EXTENSION_NO_BASE
+XML_SCHEMAP_FACET_NO_VALUE
+XML_SCHEMAP_FAILED_BUILD_IMPORT
+XML_SCHEMAP_FAILED_LOAD
+XML_SCHEMAP_FAILED_PARSE
+XML_SCHEMAP_GROUP_NONAME_NOREF
+XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI
+XML_SCHEMAP_IMPORT_REDEFINE_NSNAME
+XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI
+XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI
+XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI
+XML_SCHEMAP_INVALID_BOOLEAN
+XML_SCHEMAP_INVALID_ENUM
+XML_SCHEMAP_INVALID_FACET
+XML_SCHEMAP_INVALID_FACET_VALUE
+XML_SCHEMAP_INVALID_MAXOCCURS
+XML_SCHEMAP_INVALID_MINOCCURS
+XML_SCHEMAP_INVALID_REF_AND_SUBTYPE
+XML_SCHEMAP_INVALID_WHITE_SPACE
+XML_SCHEMAP_NOATTR_NOREF
+XML_SCHEMAP_NOROOT
+XML_SCHEMAP_NOTATION_NO_NAME
+XML_SCHEMAP_NOTHING_TO_PARSE
+XML_SCHEMAP_NOTYPE_NOREF
+XML_SCHEMAP_NOT_SCHEMA
+XML_SCHEMAP_PREFIX_UNDEFINED
+XML_SCHEMAP_REDEFINED_ATTR
+XML_SCHEMAP_REDEFINED_ATTRGROUP
+XML_SCHEMAP_REDEFINED_ELEMENT
+XML_SCHEMAP_REDEFINED_GROUP
+XML_SCHEMAP_REDEFINED_NOTATION
+XML_SCHEMAP_REDEFINED_TYPE
+XML_SCHEMAP_REF_AND_SUBTYPE
+XML_SCHEMAP_REGEXP_INVALID
+XML_SCHEMAP_RESTRICTION_NONAME_NOREF
+XML_SCHEMAP_SIMPLETYPE_NONAME
+XML_SCHEMAP_TYPE_AND_SUBTYPE
+XML_SCHEMAP_UNKNOWN_ALL_CHILD
+XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD
+XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD
+XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP
+XML_SCHEMAP_UNKNOWN_ATTR_CHILD
+XML_SCHEMAP_UNKNOWN_BASE_TYPE
+XML_SCHEMAP_UNKNOWN_CHOICE_CHILD
+XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD
+XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD
+XML_SCHEMAP_UNKNOWN_ELEM_CHILD
+XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD
+XML_SCHEMAP_UNKNOWN_FACET_CHILD
+XML_SCHEMAP_UNKNOWN_FACET_TYPE
+XML_SCHEMAP_UNKNOWN_GROUP_CHILD
+XML_SCHEMAP_UNKNOWN_IMPORT_CHILD
+XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD
+XML_SCHEMAP_UNKNOWN_LIST_CHILD
+XML_SCHEMAP_UNKNOWN_NOTATION_CHILD
+XML_SCHEMAP_UNKNOWN_PREFIX
+XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD
+XML_SCHEMAP_UNKNOWN_REF
+XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD
+XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD
+XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD
+XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD
+XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD
+XML_SCHEMAP_UNKNOWN_TYPE
+XML_SCHEMAP_UNKNOWN_UNION_CHILD
+XML_SCHEMAV_ATTRINVALID
+XML_SCHEMAV_ATTRUNKNOWN
+XML_SCHEMAV_CONSTRUCT
+XML_SCHEMAV_ELEMCONT
+XML_SCHEMAV_EXTRACONTENT
+XML_SCHEMAV_FACET
+XML_SCHEMAV_HAVEDEFAULT
+XML_SCHEMAV_INTERNAL
+XML_SCHEMAV_INVALIDATTR
+XML_SCHEMAV_INVALIDELEM
+XML_SCHEMAV_ISABSTRACT
+XML_SCHEMAV_MISSING
+XML_SCHEMAV_NOROLLBACK
+XML_SCHEMAV_NOROOT
+XML_SCHEMAV_NOTDETERMINIST
+XML_SCHEMAV_NOTEMPTY
+XML_SCHEMAV_NOTNILLABLE
+XML_SCHEMAV_NOTSIMPLE
+XML_SCHEMAV_NOTTOPLEVEL
+XML_SCHEMAV_NOTYPE
+XML_SCHEMAV_UNDECLAREDELEM
+XML_SCHEMAV_VALUE
+XML_SCHEMAV_WRONGELEM
+XML_TREE_INVALID_DEC
+XML_TREE_INVALID_HEX
+XML_TREE_UNTERMINATED_ENTITY
+XML_WAR_CATALOG_PI
+XML_WAR_LANG_VALUE
+XML_WAR_NS_URI
+XML_WAR_NS_URI_RELATIVE
+XML_WAR_UNDECLARED_ENTITY
+XML_WAR_UNKNOWN_VERSION
+XML_XINCLUDE_BUILD_FAILED
+XML_XINCLUDE_DEPRECATED_NS
+XML_XINCLUDE_ENTITY_DEF_MISMATCH
+XML_XINCLUDE_FALLBACKS_IN_INCLUDE
+XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE
+XML_XINCLUDE_FRAGMENT_ID
+XML_XINCLUDE_HREF_URI
+XML_XINCLUDE_INCLUDE_IN_INCLUDE
+XML_XINCLUDE_INVALID_CHAR
+XML_XINCLUDE_MULTIPLE_ROOT
+XML_XINCLUDE_NO_FALLBACK
+XML_XINCLUDE_NO_HREF
+XML_XINCLUDE_PARSE_VALUE
+XML_XINCLUDE_RECURSION
+XML_XINCLUDE_TEXT_DOCUMENT
+XML_XINCLUDE_TEXT_FRAGMENT
+XML_XINCLUDE_UNKNOWN_ENCODING
+XML_XINCLUDE_XPTR_FAILED
+XML_XINCLUDE_XPTR_RESULT
+XML_XPATH_ENCODING_ERROR
+XML_XPATH_EXPRESSION_OK
+XML_XPATH_EXPR_ERROR
XML_XPATH_INVALID_ARITY
XML_XPATH_INVALID_CHAR_ERROR
-XML_REGEXP_COMPILE_ERROR
-XML_IO_WRITE
-XML_ERR_ENTITY_PE_INTERNAL
-XML_RNGP_DEFINE_MISSING
-XML_ERR_NOTATION_NOT_STARTED
-XML_ERR_INTERNAL_ERROR
-XML_IO_EBADMSG
-XML_RNGP_PAT_LIST_INTERLEAVE
-XML_ERR_DOCUMENT_EMPTY
-XML_RNGP_PAT_DATA_EXCEPT_ELEM
-XML_IO_NETWORK_ATTEMPT
-XML_FROM_OUTPUT
-XML_FROM_NAMESPACE
-XML_IO_EBUSY
-XML_ERR_ATTLIST_NOT_FINISHED
-XML_RNGP_INCLUDE_RECURSE
-XML_ERR_INVALID_URI
-XML_SCHEMAP_INVALID_ENUM
-XML_SCHEMAV_INVALIDATTR
-XML_SCHEMAP_FAILED_LOAD
-XML_IO_ESRCH
-XML_IO_ENXIO
-XML_FROM_XPOINTER
-XML_ERR_ATTRIBUTE_WITHOUT_VALUE
-XML_RNGP_TEXT_HAS_CHILD
-XML_DTD_ELEM_REDEFINED
-XML_SCHEMAV_NOTNILLABLE
-XML_SCHEMAP_ELEM_DEFAULT_FIXED
-XML_SCHEMAP_UNKNOWN_TYPE
-XML_RNGP_REF_NO_DEF
-XML_ERR_NOT_WELL_BALANCED
-XML_NS_ERR_XML_NAMESPACE
-XML_ERR_INVALID_CHARREF
-XML_ERR_INVALID_CHAR
-XML_RNGP_FOREIGN_ELEMENT
-XML_XINCLUDE_PARSE_VALUE
-XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME
-XML_RNGP_NSNAME_NO_NS
-XML_ERR_MIXED_NOT_STARTED
-XML_SCHEMAV_INVALIDELEM
-XML_NS_ERR_QNAME
-XML_DTD_NOTATION_VALUE
-XML_ERR_INVALID_ENCODING
-XML_RNGP_EXCEPT_MISSING
-XML_ERR_TAG_NOT_FINISHED
-XML_RNGP_XMLNS_NAME
-XML_ERR_LTSLASH_REQUIRED
-XML_SCHEMAP_UNKNOWN_ALL_CHILD
-XML_DTD_MIXED_CORRUPT
-XML_RNGP_DEFINE_CREATE_FAILED
-XML_ERR_ENTITY_BOUNDARY
-XML_SCHEMAP_ELEMFORMDEFAULT_VALUE
-XML_ERR_PEREF_IN_INT_SUBSET
-XML_RNGP_DATA_CONTENT
-XML_ERR_STRING_NOT_STARTED
-xmlCtxtGetLastError
-XML_RNGP_EXCEPT_MULTIPLE
-XML_IO_EDEADLK
-XML_ERR_ATTRIBUTE_NOT_FINISHED
-XML_IO_EINVAL
-XML_IO_ENAMETOOLONG
-XML_ERR_PEREF_IN_PROLOG
-XML_RNGP_EXTERNAL_REF_FAILURE
-XML_SCHEMAV_NOROLLBACK
-XML_FROM_FTP
-XML_RNGP_PAT_START_TEXT
-XML_SAVE_NOT_UTF8
-XML_DTD_INVALID_CHILD
-XML_RNGP_TYPE_MISSING
-XML_ERR_TAG_NAME_MISMATCH
-XML_ERR_ENCODING_NAME
-XML_ERR_ATTRIBUTE_REDEFINED
-XML_IO_ECONNREFUSED
-XML_ERR_XMLDECL_NOT_FINISHED
-XML_XINCLUDE_XPTR_RESULT
-XML_SCHEMAP_SIMPLETYPE_NONAME
-XML_SCHEMAP_UNKNOWN_GROUP_CHILD
-XML_XINCLUDE_BUILD_FAILED
-XML_RNGP_PARENTREF_NOT_EMPTY
-XML_ERR_PEREF_NO_NAME
-XML_ERR_ENTITYREF_AT_EOF
-XML_NS_ERR_ATTRIBUTE_REDEFINED
-XML_ERR_NAME_REQUIRED
-XML_IO_ETIMEDOUT
-XML_RNGP_ATTRIBUTE_CHILDREN
-xmlCopyError
-XML_RNGP_DEFINE_NAME_MISSING
-XML_XPATH_NUMBER_ERROR
-XML_SAVE_NO_DOCTYPE
-XML_RNGP_CHOICE_CONTENT
-XML_RNGP_EMPTY_CONSTRUCT
-XML_RNGP_FORBIDDEN_ATTRIBUTE
-XML_ERR_ELEMCONTENT_NOT_FINISHED
-xmlGenericErrorFunc
-XML_SCHEMAP_REDEFINED_ELEMENT
-XML_ERR_URI_FRAGMENT
-XML_IO_ESPIPE
-XML_DTD_NO_DOC
-XML_IO_EEXIST
-XML_SCHEMAP_NOT_SCHEMA
-XML_FROM_SCHEMASV
-XML_FROM_SCHEMASP
-XML_ERR_MIXED_NOT_FINISHED
-XML_SCHEMAP_DEF_AND_PREFIX
-XML_DTD_STANDALONE_WHITE_SPACE
-XML_HTTP_USE_IP
-XML_IO_ENCODER
-XML_IO_ENOTEMPTY
-XML_SCHEMAV_WRONGELEM
-XML_RNGP_START_CHOICE_AND_INTERLEAVE
+XML_XPATH_INVALID_CTXT_POSITION
+XML_XPATH_INVALID_CTXT_SIZE
+XML_XPATH_INVALID_OPERAND
XML_XPATH_INVALID_PREDICATE_ERROR
-XML_XINCLUDE_INVALID_CHAR
-XML_RNGP_TYPE_NOT_FOUND
-XML_IO_BUFFER_FULL
-

Module xmlexports:

XMLCALL
-_REENTRANT
+XML_XPATH_INVALID_TYPE
+XML_XPATH_MEMORY_ERROR
+XML_XPATH_NUMBER_ERROR
+XML_XPATH_START_LITERAL_ERROR
+XML_XPATH_UNCLOSED_ERROR
+XML_XPATH_UNDEF_PREFIX_ERROR
+XML_XPATH_UNDEF_VARIABLE_ERROR
+XML_XPATH_UNFINISHED_LITERAL_ERROR
+XML_XPATH_UNKNOWN_FUNC_ERROR
+XML_XPATH_VARIABLE_REF_ERROR
+XML_XPTR_CHILDSEQ_START
+XML_XPTR_EVAL_FAILED
+XML_XPTR_EXTRA_OBJECTS
+XML_XPTR_RESOURCE_ERROR
+XML_XPTR_SUB_RESOURCE_ERROR
+XML_XPTR_SYNTAX_ERROR
+XML_XPTR_UNKNOWN_SCHEME
+_xmlError
+initGenericErrorDefaultFunc
+xmlCopyError
+xmlCtxtGetLastError
+xmlCtxtResetLastError
+xmlError
+xmlErrorDomain
+xmlErrorLevel
+xmlErrorPtr
+xmlGenericErrorFunc
+xmlGetLastError
+xmlParserError
+xmlParserErrors
+xmlParserPrintFileContext
+xmlParserPrintFileInfo
+xmlParserValidityError
+xmlParserValidityWarning
+xmlParserWarning
+xmlResetError
+xmlResetLastError
+xmlSetGenericErrorFunc
+xmlSetStructuredErrorFunc
+xmlStructuredErrorFunc
+

Module xmlexports:

LIBXML_DLL_IMPORT
+XMLCALL
XMLPUBFUN
XMLPUBVAR
-LIBXML_DLL_IMPORT
-

Module xmlmemory:

xmlMemRealloc
-xmlReallocLoc
-xmlGcMemGet
-xmlStrdupFunc
+_REENTRANT
+

Module xmlmemory:

DEBUG_MEMORY
+xmlCleanupMemory
xmlFreeFunc
+xmlGcMemGet
+xmlGcMemSetup
xmlInitMemory
-xmlMemStrdup
-xmlRealloc
+xmlMalloc
+xmlMallocAtomic
+xmlMallocAtomicLoc
+xmlMallocFunc
+xmlMallocLoc
+xmlMemDisplay
xmlMemFree
xmlMemGet
-xmlMallocAtomicLoc
xmlMemMalloc
-xmlCleanupMemory
-xmlMemDisplay
-xmlMemUsed
+xmlMemRealloc
xmlMemSetup
-xmlMallocAtomic
-xmlMemoryDump
-xmlMallocLoc
xmlMemShow
-xmlReallocFunc
-xmlMalloc
-xmlMallocFunc
-DEBUG_MEMORY
-xmlGcMemSetup
-xmlMemoryStrdup
+xmlMemStrdup
xmlMemStrdupLoc
-

Module xmlreader:

XML_READER_TYPE_DOCUMENT_FRAGMENT
-xmlTextReaderBaseUri
-xmlNewTextReaderFilename
-XML_PARSER_SEVERITY_ERROR
+xmlMemUsed
+xmlMemoryDump
+xmlMemoryStrdup
+xmlRealloc
+xmlReallocFunc
+xmlReallocLoc
+xmlStrdupFunc
+

Module xmlreader:

XML_PARSER_DEFAULTATTRS
XML_PARSER_LOADDTD
-xmlTextReaderMoveToAttributeNo
-xmlTextReaderHasAttributes
-xmlTextReaderLocatorLineNumber
-xmlReaderNewIO
-xmlTextReaderMoveToAttributeNs
-xmlTextReaderNext
-xmlTextReaderCurrentDoc
-XML_READER_TYPE_NONE
-xmlReaderForFile
-xmlTextReaderConstNamespaceUri
-xmlTextReaderValue
-XML_READER_TYPE_PROCESSING_INSTRUCTION
+XML_PARSER_SEVERITY_ERROR
+XML_PARSER_SEVERITY_VALIDITY_ERROR
+XML_PARSER_SEVERITY_VALIDITY_WARNING
XML_PARSER_SEVERITY_WARNING
-xmlTextReaderExpand
-xmlTextReaderAttributeCount
-xmlTextReaderXmlLang
-xmlReaderForDoc
-xmlParserProperties
-xmlTextReaderLookupNamespace
-xmlTextReaderMoveToElement
-XML_READER_TYPE_ELEMENT
-xmlTextReaderClose
-XML_READER_TYPE_WHITESPACE
-xmlTextReaderReadInnerXml
-XML_READER_TYPE_END_ELEMENT
-xmlReaderForIO
-xmlReaderForFd
-xmlTextReaderReadOuterXml
-XML_READER_TYPE_COMMENT
-xmlTextReaderNormalization
-XML_PARSER_DEFAULTATTRS
-xmlTextReaderGetParserProp
-xmlTextReaderPrefix
-xmlTextReaderMoveToAttribute
-xmlTextReaderPtr
-XML_READER_TYPE_END_ENTITY
-xmlTextReaderNextSibling
-xmlTextReaderGetRemainder
-xmlTextReaderReadString
-xmlTextReaderIsValid
-xmlTextReaderMoveToFirstAttribute
-xmlTextReaderPreservePattern
-xmlTextReaderGetAttribute
-xmlTextReaderConstValue
-xmlTextReaderLocatorPtr
-xmlReaderNewMemory
-xmlTextReaderGetAttributeNo
-xmlTextReaderLocalName
-xmlTextReaderGetAttributeNs
-xmlTextReaderConstName
-xmlTextReaderPreserve
-xmlTextReaderReadState
-xmlTextReaderCurrentNode
-xmlTextReaderConstString
-xmlTextReaderSetParserProp
-xmlNewTextReader
+XML_PARSER_SUBST_ENTITIES
+XML_PARSER_VALIDATE
+XML_READER_TYPE_ATTRIBUTE
XML_READER_TYPE_CDATA
+XML_READER_TYPE_COMMENT
+XML_READER_TYPE_DOCUMENT
+XML_READER_TYPE_DOCUMENT_FRAGMENT
+XML_READER_TYPE_DOCUMENT_TYPE
+XML_READER_TYPE_ELEMENT
+XML_READER_TYPE_END_ELEMENT
+XML_READER_TYPE_END_ENTITY
+XML_READER_TYPE_ENTITY
+XML_READER_TYPE_ENTITY_REFERENCE
+XML_READER_TYPE_NONE
+XML_READER_TYPE_NOTATION
+XML_READER_TYPE_PROCESSING_INSTRUCTION
+XML_READER_TYPE_SIGNIFICANT_WHITESPACE
+XML_READER_TYPE_TEXT
+XML_READER_TYPE_WHITESPACE
+XML_READER_TYPE_XML_DECLARATION
+xmlFreeTextReader
+xmlNewTextReader
+xmlNewTextReaderFilename
+xmlParserProperties
+xmlParserSeverities
+xmlReaderForDoc
+xmlReaderForFd
+xmlReaderForFile
+xmlReaderForIO
+xmlReaderForMemory
+xmlReaderNewDoc
+xmlReaderNewFd
+xmlReaderNewFile
+xmlReaderNewIO
+xmlReaderNewMemory
+xmlReaderNewWalker
+xmlReaderTypes
+xmlReaderWalker
+xmlTextReader
+xmlTextReaderAttributeCount
+xmlTextReaderBaseUri
+xmlTextReaderClose
+xmlTextReaderConstBaseUri
+xmlTextReaderConstLocalName
+xmlTextReaderConstName
+xmlTextReaderConstNamespaceUri
+xmlTextReaderConstPrefix
+xmlTextReaderConstString
+xmlTextReaderConstValue
+xmlTextReaderConstXmlLang
+xmlTextReaderCurrentDoc
+xmlTextReaderCurrentNode
xmlTextReaderDepth
xmlTextReaderErrorFunc
-XML_READER_TYPE_TEXT
-xmlTextReaderSetErrorHandler
-XML_READER_TYPE_XML_DECLARATION
-xmlParserSeverities
-xmlTextReaderMoveToNextAttribute
-XML_PARSER_SEVERITY_VALIDITY_ERROR
-xmlTextReaderReadAttributeValue
-xmlReaderNewWalker
-xmlReaderNewDoc
-xmlTextReaderConstPrefix
-XML_READER_TYPE_ATTRIBUTE
-XML_READER_TYPE_DOCUMENT_TYPE
-xmlReaderWalker
-XML_READER_TYPE_NOTATION
-XML_PARSER_SUBST_ENTITIES
-XML_READER_TYPE_ENTITY
-xmlTextReaderConstXmlLang
-xmlTextReaderConstLocalName
-xmlTextReaderNodeType
+xmlTextReaderExpand
+xmlTextReaderGetAttribute
+xmlTextReaderGetAttributeNo
+xmlTextReaderGetAttributeNs
xmlTextReaderGetErrorHandler
-xmlReaderTypes
-XML_READER_TYPE_ENTITY_REFERENCE
-XML_READER_TYPE_SIGNIFICANT_WHITESPACE
-xmlReaderNewFile
-XML_READER_TYPE_DOCUMENT
-xmlFreeTextReader
-xmlTextReaderIsDefault
-xmlTextReaderName
-xmlReaderNewFd
-xmlTextReaderRead
-xmlTextReaderRelaxNGValidate
-xmlTextReaderIsEmptyElement
-xmlReaderForMemory
-xmlTextReader
-XML_PARSER_VALIDATE
-xmlTextReaderLocatorBaseURI
-xmlTextReaderNamespaceUri
-XML_PARSER_SEVERITY_VALIDITY_WARNING
-xmlTextReaderRelaxNGSetSchema
-xmlTextReaderQuoteChar
+xmlTextReaderGetParserProp
+xmlTextReaderGetRemainder
+xmlTextReaderHasAttributes
xmlTextReaderHasValue
-xmlTextReaderConstBaseUri
-

Module xmlregexp:

xmlRegFreeExecCtxt
-xmlRegexpExec
-xmlRegExecCallbacks
-xmlRegExecCtxtPtr
-xmlRegExecPushString2
-xmlRegFreeRegexp
+xmlTextReaderIsDefault
+xmlTextReaderIsEmptyElement
+xmlTextReaderIsValid
+xmlTextReaderLocalName
+xmlTextReaderLocatorBaseURI
+xmlTextReaderLocatorLineNumber
+xmlTextReaderLocatorPtr
+xmlTextReaderLookupNamespace
+xmlTextReaderMoveToAttribute
+xmlTextReaderMoveToAttributeNo
+xmlTextReaderMoveToAttributeNs
+xmlTextReaderMoveToElement
+xmlTextReaderMoveToFirstAttribute
+xmlTextReaderMoveToNextAttribute
+xmlTextReaderName
+xmlTextReaderNamespaceUri
+xmlTextReaderNext
+xmlTextReaderNextSibling
+xmlTextReaderNodeType
+xmlTextReaderNormalization
+xmlTextReaderPrefix
+xmlTextReaderPreserve
+xmlTextReaderPreservePattern
+xmlTextReaderPtr
+xmlTextReaderQuoteChar
+xmlTextReaderRead
+xmlTextReaderReadAttributeValue
+xmlTextReaderReadInnerXml
+xmlTextReaderReadOuterXml
+xmlTextReaderReadState
+xmlTextReaderReadString
+xmlTextReaderRelaxNGSetSchema
+xmlTextReaderRelaxNGValidate
+xmlTextReaderSetErrorHandler
+xmlTextReaderSetParserProp
+xmlTextReaderValue
+xmlTextReaderXmlLang
+

Module xmlregexp:

xmlRegExecCallbacks
xmlRegExecCtxt
-xmlRegexp
-xmlRegexpPtr
+xmlRegExecCtxtPtr
xmlRegExecPushString
-xmlRegexpIsDeterminist
+xmlRegExecPushString2
+xmlRegFreeExecCtxt
+xmlRegFreeRegexp
xmlRegNewExecCtxt
+xmlRegexp
xmlRegexpCompile
+xmlRegexpExec
+xmlRegexpIsDeterminist
xmlRegexpPrint
-

Module xmlschemas:

XML_SCHEMAS_ERR_NOTNILLABLE
-XML_SCHEMAS_ERR_OK
-XML_SCHEMAS_ERR_NOROOT
-XML_SCHEMAS_ERR_XXX
-xmlSchemaParserCtxt
-xmlSchemaNewDocParserCtxt
-xmlSchemaFree
-xmlSchemaFreeValidCtxt
-xmlSchemaValidError
-XML_SCHEMAS_ERR_ISABSTRACT
-xmlSchemaFreeParserCtxt
-XML_SCHEMAS_ERR_ATTRUNKNOWN
-XML_SCHEMAS_ERR_WRONGELEM
-XML_SCHEMAS_ERR_NOTDETERMINIST
-xmlSchemaNewParserCtxt
-XML_SCHEMAS_ERR_INTERNAL
-XML_SCHEMAS_ERR_MISSING
-xmlSchemaValidateStream
-XML_SCHEMAS_ERR_INVALIDATTR
-xmlSchemaParserCtxtPtr
-XML_SCHEMAS_ERR_NOTYPE
-XML_SCHEMAS_ERR_CONSTRUCT
-XML_SCHEMAS_ERR_FACET
-xmlSchemaDump
-xmlSchemaSetValidErrors
-xmlSchemaValidCtxt
-XML_SCHEMAS_ERR_VALUE
-XML_SCHEMAS_ERR_NOROLLBACK
-XML_SCHEMAS_ERR_NOTTOPLEVEL
-XML_SCHEMAS_ERR_NOTEMPTY
-xmlSchemaValidateDoc
-xmlSchemaValidityErrorFunc
-XML_SCHEMAS_ERR_INVALIDELEM
+xmlRegexpPtr
+

Module xmlschemas:

XML_SCHEMAS_ERR_
XML_SCHEMAS_ERR_ATTRINVALID
+XML_SCHEMAS_ERR_ATTRUNKNOWN
+XML_SCHEMAS_ERR_CONSTRUCT
+XML_SCHEMAS_ERR_ELEMCONT
XML_SCHEMAS_ERR_EXTRACONTENT
+XML_SCHEMAS_ERR_FACET
+XML_SCHEMAS_ERR_HAVEDEFAULT
+XML_SCHEMAS_ERR_INTERNAL
+XML_SCHEMAS_ERR_INVALIDATTR
+XML_SCHEMAS_ERR_INVALIDELEM
+XML_SCHEMAS_ERR_ISABSTRACT
+XML_SCHEMAS_ERR_MISSING
+XML_SCHEMAS_ERR_NOROLLBACK
+XML_SCHEMAS_ERR_NOROOT
+XML_SCHEMAS_ERR_NOTDETERMINIST
+XML_SCHEMAS_ERR_NOTEMPTY
+XML_SCHEMAS_ERR_NOTNILLABLE
XML_SCHEMAS_ERR_NOTSIMPLE
+XML_SCHEMAS_ERR_NOTTOPLEVEL
+XML_SCHEMAS_ERR_NOTYPE
+XML_SCHEMAS_ERR_OK
+XML_SCHEMAS_ERR_UNDECLAREDELEM
+XML_SCHEMAS_ERR_VALUE
+XML_SCHEMAS_ERR_WRONGELEM
+XML_SCHEMAS_ERR_XXX
+xmlSchema
+xmlSchemaDump
+xmlSchemaFree
+xmlSchemaFreeParserCtxt
+xmlSchemaFreeValidCtxt
+xmlSchemaNewDocParserCtxt
+xmlSchemaNewMemParserCtxt
+xmlSchemaNewParserCtxt
+xmlSchemaNewValidCtxt
+xmlSchemaParse
+xmlSchemaParserCtxt
+xmlSchemaParserCtxtPtr
xmlSchemaPtr
xmlSchemaSetParserErrors
-xmlSchemaParse
-xmlSchemaValidityWarningFunc
-xmlSchemaNewMemParserCtxt
-XML_SCHEMAS_ERR_UNDECLAREDELEM
+xmlSchemaSetValidErrors
+xmlSchemaValidCtxt
xmlSchemaValidCtxtPtr
-XML_SCHEMAS_ERR_HAVEDEFAULT
-xmlSchema
-xmlSchemaNewValidCtxt
-XML_SCHEMAS_ERR_ELEMCONT
-XML_SCHEMAS_ERR_
-

Module xmlschemastypes:

xmlSchemaNewFacet
-xmlSchemaValPredefTypeNode
-xmlSchemaFreeFacet
-xmlSchemaValidatePredefinedType
-xmlSchemaCompareValues
-xmlSchemaValidateFacet
+xmlSchemaValidError
+xmlSchemaValidateDoc
+xmlSchemaValidateStream
+xmlSchemaValidityErrorFunc
+xmlSchemaValidityWarningFunc
+

Module xmlschemastypes:

xmlSchemaCheckFacet
xmlSchemaCleanupTypes
-xmlSchemaInitTypes
+xmlSchemaCompareValues
+xmlSchemaFreeFacet
xmlSchemaFreeValue
xmlSchemaGetPredefinedType
-xmlSchemaCheckFacet
-

Module xmlunicode:

xmlUCSIsBlockElements
-xmlUCSIsVariationSelectorsSupplement
-xmlUCSIsTags
-xmlUCSIsEnclosedAlphanumerics
-xmlUCSIsBopomofo
-xmlUCSIsSinhala
-xmlUCSIsDingbats
-xmlUCSIsLatinExtendedB
-xmlUCSIsCombiningHalfMarks
-xmlUCSIsSupplementalArrowsA
-xmlUCSIsLatinExtendedA
-xmlUCSIsYiRadicals
-xmlUCSIsCombiningDiacriticalMarks
-xmlUCSIsCombiningMarksforSymbols
-xmlUCSIsHalfwidthandFullwidthForms
-xmlUCSIsBasicLatin
-xmlUCSIsOldItalic
-xmlUCSIsLimbu
-xmlUCSIsCat
-xmlUCSIsCatSo
-xmlUCSIsCatLu
-xmlUCSIsCatLt
-xmlUCSIsYiSyllables
-xmlUCSIsCatSk
-xmlUCSIsCatLo
-xmlUCSIsKhmerSymbols
-xmlUCSIsCatLm
+xmlSchemaInitTypes
+xmlSchemaNewFacet
+xmlSchemaValPredefTypeNode
+xmlSchemaValidateFacet
+xmlSchemaValidatePredefinedType
+

Module xmlstring:

BAD_CAST
+xmlChar
+xmlCharStrdup
+xmlCharStrndup
+xmlCheckUTF8
+xmlGetUTF8Char
+xmlStrEqual
+xmlStrPrintf
+xmlStrQEqual
+xmlStrVPrintf
+xmlStrcasecmp
+xmlStrcasestr
+xmlStrcat
+xmlStrchr
+xmlStrcmp
+xmlStrdup
+xmlStrlen
+xmlStrncasecmp
+xmlStrncat
+xmlStrncatNew
+xmlStrncmp
+xmlStrndup
+xmlStrstr
+xmlStrsub
+xmlUTF8Charcmp
+xmlUTF8Size
+xmlUTF8Strlen
+xmlUTF8Strloc
+xmlUTF8Strndup
+xmlUTF8Strpos
+xmlUTF8Strsize
+xmlUTF8Strsub
+

Module xmlunicode:

xmlUCSIsAegeanNumbers
xmlUCSIsAlphabeticPresentationForms
-xmlUCSIsMiscellaneousTechnical
-xmlUCSIsMongolian
-xmlUCSIsUgaritic
-xmlUCSIsCJKCompatibilityIdeographsSupplement
-xmlUCSIsKannada
-xmlUCSIsMalayalam
-xmlUCSIsCypriotSyllabary
-xmlUCSIsTamil
-xmlUCSIsCatC
-xmlUCSIsUnifiedCanadianAboriginalSyllabics
-xmlUCSIsCatN
-xmlUCSIsCatLl
-xmlUCSIsCatL
-xmlUCSIsCatM
-xmlUCSIsTelugu
-xmlUCSIsMathematicalAlphanumericSymbols
-xmlUCSIsLowSurrogates
-xmlUCSIsOsmanya
-xmlUCSIsGreek
-xmlUCSIsEthiopic
-xmlUCSIsCatP
-xmlUCSIsBoxDrawing
-xmlUCSIsGeorgian
-xmlUCSIsOgham
-xmlUCSIsCatZ
-xmlUCSIsGreekandCoptic
-xmlUCSIsIPAExtensions
-xmlUCSIsByzantineMusicalSymbols
-xmlUCSIsKangxiRadicals
-xmlUCSIsEnclosedCJKLettersandMonths
-xmlUCSIsCJKCompatibilityForms
-xmlUCSIsCatCs
-xmlUCSIsHanunoo
-xmlUCSIsGreekExtended
-xmlUCSIsCJKRadicalsSupplement
-xmlUCSIsArmenian
-xmlUCSIsCatCf
-xmlUCSIsSmallFormVariants
-xmlUCSIsHangulCompatibilityJamo
-xmlUCSIsSupplementaryPrivateUseAreaB
-xmlUCSIsCatCc
-xmlUCSIsSupplementaryPrivateUseAreaA
-xmlUCSIsCatCo
-xmlUCSIsCherokee
-xmlUCSIsCatPe
-xmlUCSIsKatakanaPhoneticExtensions
-xmlUCSIsLinearBSyllabary
-xmlUCSIsGothic
-xmlUCSIsLetterlikeSymbols
-xmlUCSIsKhmer
-xmlUCSIsCatNd
-xmlUCSIsPhoneticExtensions
-xmlUCSIsTaiLe
xmlUCSIsArabic
-xmlUCSIsHebrew
-xmlUCSIsMiscellaneousMathematicalSymbolsB
-xmlUCSIsCombiningDiacriticalMarksforSymbols
-xmlUCSIsVariationSelectors
xmlUCSIsArabicPresentationFormsA
-xmlUCSIsCatZp
-xmlUCSIsCatZs
xmlUCSIsArabicPresentationFormsB
-xmlUCSIsGeometricShapes
-xmlUCSIsCatZl
-xmlUCSIsTagalog
-xmlUCSIsSpecials
-xmlUCSIsGujarati
-xmlUCSIsLinearBIdeograms
-xmlUCSIsMiscellaneousMathematicalSymbolsA
-xmlUCSIsBlock
-xmlUCSIsBopomofoExtended
-xmlUCSIsThaana
-xmlUCSIsIdeographicDescriptionCharacters
-xmlUCSIsHangulJamo
-xmlUCSIsShavian
-xmlUCSIsTagbanwa
-xmlUCSIsGeneralPunctuation
-xmlUCSIsCyrillic
+xmlUCSIsArmenian
xmlUCSIsArrows
-xmlUCSIsControlPictures
-xmlUCSIsYijingHexagramSymbols
+xmlUCSIsBasicLatin
+xmlUCSIsBengali
+xmlUCSIsBlock
+xmlUCSIsBlockElements
+xmlUCSIsBopomofo
+xmlUCSIsBopomofoExtended
+xmlUCSIsBoxDrawing
+xmlUCSIsBraillePatterns
+xmlUCSIsBuhid
+xmlUCSIsByzantineMusicalSymbols
+xmlUCSIsCJKCompatibility
+xmlUCSIsCJKCompatibilityForms
+xmlUCSIsCJKCompatibilityIdeographs
+xmlUCSIsCJKCompatibilityIdeographsSupplement
+xmlUCSIsCJKRadicalsSupplement
+xmlUCSIsCJKSymbolsandPunctuation
xmlUCSIsCJKUnifiedIdeographs
+xmlUCSIsCJKUnifiedIdeographsExtensionA
+xmlUCSIsCJKUnifiedIdeographsExtensionB
+xmlUCSIsCat
+xmlUCSIsCatC
+xmlUCSIsCatCc
+xmlUCSIsCatCf
+xmlUCSIsCatCo
+xmlUCSIsCatCs
+xmlUCSIsCatL
+xmlUCSIsCatLl
+xmlUCSIsCatLm
+xmlUCSIsCatLo
+xmlUCSIsCatLt
+xmlUCSIsCatLu
+xmlUCSIsCatM
+xmlUCSIsCatMc
+xmlUCSIsCatMe
+xmlUCSIsCatMn
+xmlUCSIsCatN
+xmlUCSIsCatNd
xmlUCSIsCatNl
xmlUCSIsCatNo
-xmlUCSIsDeseret
-xmlUCSIsCatSm
-xmlUCSIsBengali
-xmlUCSIsPrivateUse
-xmlUCSIsMusicalSymbols
-xmlUCSIsBuhid
-xmlUCSIsHangulSyllables
-xmlUCSIsCJKCompatibility
-xmlUCSIsCJKCompatibilityIdeographs
-xmlUCSIsOpticalCharacterRecognition
-xmlUCSIsLatin1Supplement
-xmlUCSIsAegeanNumbers
-xmlUCSIsKatakana
-xmlUCSIsCJKSymbolsandPunctuation
-xmlUCSIsTaiXuanJingSymbols
-xmlUCSIsGurmukhi
-xmlUCSIsMiscellaneousSymbols
-xmlUCSIsDevanagari
-xmlUCSIsPrivateUseArea
-xmlUCSIsMathematicalOperators
-xmlUCSIsMiscellaneousSymbolsandArrows
-xmlUCSIsSupplementalArrowsB
-xmlUCSIsCurrencySymbols
-xmlUCSIsNumberForms
-xmlUCSIsTibetan
-xmlUCSIsSupplementalMathematicalOperators
-xmlUCSIsCJKUnifiedIdeographsExtensionA
-xmlUCSIsKanbun
-xmlUCSIsCJKUnifiedIdeographsExtensionB
-xmlUCSIsThai
-xmlUCSIsSpacingModifierLetters
-xmlUCSIsRunic
-xmlUCSIsCatSc
+xmlUCSIsCatP
xmlUCSIsCatPc
-xmlUCSIsCatMc
-xmlUCSIsCatPf
-xmlUCSIsCyrillicSupplement
xmlUCSIsCatPd
-xmlUCSIsMyanmar
+xmlUCSIsCatPe
+xmlUCSIsCatPf
xmlUCSIsCatPi
-xmlUCSIsHiragana
xmlUCSIsCatPo
-xmlUCSIsHighPrivateUseSurrogates
-xmlUCSIsLatinExtendedAdditional
xmlUCSIsCatPs
-xmlUCSIsSyriac
-xmlUCSIsSuperscriptsandSubscripts
-xmlUCSIsHighSurrogates
-xmlUCSIsCatMn
-xmlUCSIsLao
-xmlUCSIsOriya
-xmlUCSIsBraillePatterns
-xmlUCSIsCatMe
xmlUCSIsCatS
-

Module xmlversion:

LIBXML_VERSION_STRING
-LIBXML_DOCB_ENABLED
-LIBXML_CATALOG_ENABLED
-LIBXML_LEGACY_ENABLED
-xmlCheckVersion
-LIBXML_REGEXP_ENABLED
-LIBXML_XPTR_ENABLED
-LIBXML_READER_ENABLED
-LIBXML_ICONV_ENABLED
-LIBXML_HTML_ENABLED
-LIBXML_DOTTED_VERSION
-LIBXML_UNICODE_ENABLED
-LIBXML_ISO8859X_ENABLED
-LIBXML_DEBUG_ENABLED
-LIBXML_XINCLUDE_ENABLED
-LIBXML_FTP_ENABLED
-LIBXML_AUTOMATA_ENABLED
-ATTRIBUTE_UNUSED
-LIBXML_WRITER_ENABLED
-LIBXML_PUSH_ENABLED
-WITHOUT_TRIO
-LIBXML_C14N_ENABLED
-LIBXML_SCHEMAS_ENABLED
+xmlUCSIsCatSc
+xmlUCSIsCatSk
+xmlUCSIsCatSm
+xmlUCSIsCatSo
+xmlUCSIsCatZ
+xmlUCSIsCatZl
+xmlUCSIsCatZp
+xmlUCSIsCatZs
+xmlUCSIsCherokee
+xmlUCSIsCombiningDiacriticalMarks
+xmlUCSIsCombiningDiacriticalMarksforSymbols
+xmlUCSIsCombiningHalfMarks
+xmlUCSIsCombiningMarksforSymbols
+xmlUCSIsControlPictures
+xmlUCSIsCurrencySymbols
+xmlUCSIsCypriotSyllabary
+xmlUCSIsCyrillic
+xmlUCSIsCyrillicSupplement
+xmlUCSIsDeseret
+xmlUCSIsDevanagari
+xmlUCSIsDingbats
+xmlUCSIsEnclosedAlphanumerics
+xmlUCSIsEnclosedCJKLettersandMonths
+xmlUCSIsEthiopic
+xmlUCSIsGeneralPunctuation
+xmlUCSIsGeometricShapes
+xmlUCSIsGeorgian
+xmlUCSIsGothic
+xmlUCSIsGreek
+xmlUCSIsGreekExtended
+xmlUCSIsGreekandCoptic
+xmlUCSIsGujarati
+xmlUCSIsGurmukhi
+xmlUCSIsHalfwidthandFullwidthForms
+xmlUCSIsHangulCompatibilityJamo
+xmlUCSIsHangulJamo
+xmlUCSIsHangulSyllables
+xmlUCSIsHanunoo
+xmlUCSIsHebrew
+xmlUCSIsHighPrivateUseSurrogates
+xmlUCSIsHighSurrogates
+xmlUCSIsHiragana
+xmlUCSIsIPAExtensions
+xmlUCSIsIdeographicDescriptionCharacters
+xmlUCSIsKanbun
+xmlUCSIsKangxiRadicals
+xmlUCSIsKannada
+xmlUCSIsKatakana
+xmlUCSIsKatakanaPhoneticExtensions
+xmlUCSIsKhmer
+xmlUCSIsKhmerSymbols
+xmlUCSIsLao
+xmlUCSIsLatin1Supplement
+xmlUCSIsLatinExtendedA
+xmlUCSIsLatinExtendedAdditional
+xmlUCSIsLatinExtendedB
+xmlUCSIsLetterlikeSymbols
+xmlUCSIsLimbu
+xmlUCSIsLinearBIdeograms
+xmlUCSIsLinearBSyllabary
+xmlUCSIsLowSurrogates
+xmlUCSIsMalayalam
+xmlUCSIsMathematicalAlphanumericSymbols
+xmlUCSIsMathematicalOperators
+xmlUCSIsMiscellaneousMathematicalSymbolsA
+xmlUCSIsMiscellaneousMathematicalSymbolsB
+xmlUCSIsMiscellaneousSymbols
+xmlUCSIsMiscellaneousSymbolsandArrows
+xmlUCSIsMiscellaneousTechnical
+xmlUCSIsMongolian
+xmlUCSIsMusicalSymbols
+xmlUCSIsMyanmar
+xmlUCSIsNumberForms
+xmlUCSIsOgham
+xmlUCSIsOldItalic
+xmlUCSIsOpticalCharacterRecognition
+xmlUCSIsOriya
+xmlUCSIsOsmanya
+xmlUCSIsPhoneticExtensions
+xmlUCSIsPrivateUse
+xmlUCSIsPrivateUseArea
+xmlUCSIsRunic
+xmlUCSIsShavian
+xmlUCSIsSinhala
+xmlUCSIsSmallFormVariants
+xmlUCSIsSpacingModifierLetters
+xmlUCSIsSpecials
+xmlUCSIsSuperscriptsandSubscripts
+xmlUCSIsSupplementalArrowsA
+xmlUCSIsSupplementalArrowsB
+xmlUCSIsSupplementalMathematicalOperators
+xmlUCSIsSupplementaryPrivateUseAreaA
+xmlUCSIsSupplementaryPrivateUseAreaB
+xmlUCSIsSyriac
+xmlUCSIsTagalog
+xmlUCSIsTagbanwa
+xmlUCSIsTags
+xmlUCSIsTaiLe
+xmlUCSIsTaiXuanJingSymbols
+xmlUCSIsTamil
+xmlUCSIsTelugu
+xmlUCSIsThaana
+xmlUCSIsThai
+xmlUCSIsTibetan
+xmlUCSIsUgaritic
+xmlUCSIsUnifiedCanadianAboriginalSyllabics
+xmlUCSIsVariationSelectors
+xmlUCSIsVariationSelectorsSupplement
+xmlUCSIsYiRadicals
+xmlUCSIsYiSyllables
+xmlUCSIsYijingHexagramSymbols
+

Module xmlversion:

ATTRIBUTE_UNUSED
DEBUG_MEMORY_LOCATION
-LIBXML_SAX1_ENABLED
-LIBXML_TEST_VERSION
+LIBXML_AUTOMATA_ENABLED
+LIBXML_C14N_ENABLED
+LIBXML_CATALOG_ENABLED
+LIBXML_DEBUG_ENABLED
+LIBXML_DOCB_ENABLED
+LIBXML_DOTTED_VERSION
+LIBXML_FTP_ENABLED
+LIBXML_HTML_ENABLED
LIBXML_HTTP_ENABLED
+LIBXML_ICONV_ENABLED
+LIBXML_ISO8859X_ENABLED
+LIBXML_LEGACY_ENABLED
LIBXML_OUTPUT_ENABLED
-WITH_TRIO
-LIBXML_THREAD_ENABLED
-LIBXML_XPATH_ENABLED
-LIBXML_VERSION
-LIBXML_VALID_ENABLED
-LIBXML_TREE_ENABLED
LIBXML_PATTERN_ENABLED
-

Module xmlwriter:

xmlTextWriterStartDocument
-xmlTextWriterEndPI
-xmlTextWriterWriteBase64
-xmlTextWriterSetIndentString
-xmlFreeTextWriter
-xmlTextWriterWriteComment
-xmlTextWriterWriteRawLen
-xmlTextWriterWriteVFormatDTD
-xmlTextWriterWriteVFormatCDATA
-xmlTextWriterStartAttributeNS
-xmlNewTextWriterPushParser
-xmlTextWriterWriteFormatAttributeNS
-xmlTextWriterWriteDTDEntity
-xmlTextWriterWriteVFormatPI
-xmlTextWriterWriteBinHex
-xmlTextWriterEndAttribute
-xmlTextWriterWriteVFormatDTDAttlist
-xmlTextWriterSetIndent
-xmlTextWriterWriteFormatPI
-xmlTextWriterEndDocument
-xmlTextWriterWriteDTDAttlist
-xmlTextWriterWriteFormatString
-xmlTextWriterEndCDATA
-xmlTextWriterStartElementNS
-xmlTextWriter
+LIBXML_PUSH_ENABLED
+LIBXML_READER_ENABLED
+LIBXML_REGEXP_ENABLED
+LIBXML_SAX1_ENABLED
+LIBXML_SCHEMAS_ENABLED
+LIBXML_TEST_VERSION
+LIBXML_THREAD_ENABLED
+LIBXML_TREE_ENABLED
+LIBXML_UNICODE_ENABLED
+LIBXML_VALID_ENABLED
+LIBXML_VERSION
+LIBXML_VERSION_STRING
+LIBXML_WRITER_ENABLED
+LIBXML_XINCLUDE_ENABLED
+LIBXML_XPATH_ENABLED
+LIBXML_XPTR_ENABLED
+WITHOUT_TRIO
+WITH_TRIO
+xmlCheckVersion
+

Module xmlwriter:

xmlFreeTextWriter
xmlNewTextWriter
-xmlTextWriterStartAttribute
-xmlTextWriterWriteDocType
-xmlTextWriterStartPI
-xmlTextWriterWriteProcessingInstruction
-xmlTextWriterStartElement
-xmlTextWriterWriteDTDExternalEntity
-xmlTextWriterWriteFormatRaw
-xmlTextWriterWriteCDATA
-xmlTextWriterWriteVFormatDTDInternalEntity
-xmlTextWriterWriteVFormatAttribute
-xmlTextWriterEndDTDElement
-xmlTextWriterEndDTD
-xmlTextWriterWriteElement
-xmlTextWriterEndElement
-xmlTextWriterWriteVFormatComment
-xmlTextWriterStartCDATA
-xmlNewTextWriterFilename
-xmlTextWriterWriteVFormatElement
-xmlTextWriterWriteFormatComment
-xmlTextWriterWriteAttributeNS
-xmlTextWriterWritePI
-xmlTextWriterWriteFormatDTDInternalEntity
-xmlTextWriterEndDTDEntity
-xmlTextWriterWriteDTDInternalEntity
-xmlTextWriterWriteVFormatElementNS
-xmlTextWriterWriteDTDNotation
-xmlTextWriterWriteFormatElement
-xmlTextWriterWriteElementNS
-xmlTextWriterWriteString
-xmlTextWriterWriteRaw
-xmlTextWriterFullEndElement
-xmlTextWriterWriteVFormatString
-xmlTextWriterWriteVFormatAttributeNS
-xmlTextWriterFlush
-xmlTextWriterStartDTD
-xmlTextWriterWriteAttribute
xmlNewTextWriterDoc
-xmlTextWriterWriteFormatDTDElement
-xmlTextWriterEndDTDAttlist
-xmlNewTextWriterTree
+xmlNewTextWriterFilename
xmlNewTextWriterMemory
-xmlTextWriterWriteFormatCDATA
+xmlNewTextWriterPushParser
+xmlNewTextWriterTree
+xmlTextWriter
+xmlTextWriterEndAttribute
+xmlTextWriterEndCDATA
+xmlTextWriterEndDTD
+xmlTextWriterEndDTDAttlist
+xmlTextWriterEndDTDElement
+xmlTextWriterEndDTDEntity
+xmlTextWriterEndDocument
+xmlTextWriterEndElement
+xmlTextWriterEndPI
+xmlTextWriterFlush
+xmlTextWriterFullEndElement
+xmlTextWriterPtr
+xmlTextWriterSetIndent
+xmlTextWriterSetIndentString
+xmlTextWriterStartAttribute
+xmlTextWriterStartAttributeNS
+xmlTextWriterStartCDATA
+xmlTextWriterStartDTD
xmlTextWriterStartDTDAttlist
-xmlTextWriterWriteVFormatRaw
+xmlTextWriterStartDTDElement
+xmlTextWriterStartDTDEntity
+xmlTextWriterStartDocument
+xmlTextWriterStartElement
+xmlTextWriterStartElementNS
+xmlTextWriterStartPI
+xmlTextWriterWriteAttribute
+xmlTextWriterWriteAttributeNS
+xmlTextWriterWriteBase64
+xmlTextWriterWriteBinHex
+xmlTextWriterWriteCDATA
+xmlTextWriterWriteComment
+xmlTextWriterWriteDTD
+xmlTextWriterWriteDTDAttlist
+xmlTextWriterWriteDTDElement
+xmlTextWriterWriteDTDEntity
+xmlTextWriterWriteDTDExternalEntity
+xmlTextWriterWriteDTDInternalEntity
+xmlTextWriterWriteDTDNotation
+xmlTextWriterWriteDocType
+xmlTextWriterWriteElement
+xmlTextWriterWriteElementNS
+xmlTextWriterWriteFormatAttribute
+xmlTextWriterWriteFormatAttributeNS
+xmlTextWriterWriteFormatCDATA
+xmlTextWriterWriteFormatComment
xmlTextWriterWriteFormatDTD
xmlTextWriterWriteFormatDTDAttlist
-xmlTextWriterPtr
-xmlTextWriterWriteDTDElement
-xmlTextWriterWriteDTD
-xmlTextWriterWriteFormatAttribute
-xmlTextWriterStartDTDEntity
-xmlTextWriterWriteVFormatDTDElement
-xmlTextWriterStartDTDElement
+xmlTextWriterWriteFormatDTDElement
+xmlTextWriterWriteFormatDTDInternalEntity
+xmlTextWriterWriteFormatElement
xmlTextWriterWriteFormatElementNS
-

Module xpath:

xmlXPathCastNodeSetToBoolean
-_xmlXPathVariable
-xmlXPathObjectPtr
-xmlXPathIsNaN
-xmlXPathConvertString
-xmlXPathConvertBoolean
-XPATH_UNCLOSED_ERROR
-XPATH_INVALID_CHAR_ERROR
-xmlXPathNodeSetCreate
-xmlXPathCastBooleanToNumber
-xmlXPathPINF
-xmlXPathAxisFunc
-xmlXPathCastToNumber
-xmlXPathCastStringToBoolean
-XPATH_NODESET
-xmlXPathNodeSetItem
-xmlXPathFreeObject
-xmlNodeSetPtr
-XPTR_SYNTAX_ERROR
-xmlXPathEvalPredicate
-xmlXPathFreeContext
-XPATH_NUMBER
-xmlXPathFreeNodeSetList
-xmlXPathEval
-XPATH_USERS
-xmlXPathAxisPtr
-xmlXPathConvertNumber
-xmlXPathCastNodeSetToString
-_xmlXPathFunct
-_xmlXPathParserContext
-xmlXPathEvalExpression
-xmlXPathNINF
-XPATH_RANGE
-xmlXPathVariable
-xmlXPathCastToString
-xmlXPathObjectCopy
-XPATH_STRING
-xmlXPathCastBooleanToString
-xmlXPathCastNumberToBoolean
-XPATH_XSLT_TREE
-xmlXPathFreeNodeSet
-XPATH_EXPR_ERROR
-xmlXPathNewContext
-XPATH_INVALID_TYPE
-xmlXPathNodeSetIsEmpty
-XPATH_INVALID_CTXT_SIZE
-xmlXPathNAN
-xmlXPathError
-XPATH_INVALID_OPERAND
-xmlXPathCastToBoolean
-xmlXPathVariablePtr
-xmlXPathCastNodeToString
-XPATH_NUMBER_ERROR
-XPATH_BOOLEAN
-XPATH_START_LITERAL_ERROR
-xmlXPathFunct
-xmlXPathCompExprPtr
-xmlXPathObject
-_xmlXPathContext
-xmlXPathOrderDocElems
-XPATH_UNDEF_VARIABLE_ERROR
-xmlXPathNodeSetGetLength
-xmlXPathCastNodeToNumber
-xmlXPathCastStringToNumber
-_xmlXPathAxis
-XPATH_EXPRESSION_OK
-xmlXPathContext
-XPTR_SUB_RESOURCE_ERROR
-xmlXPathParserContext
-XPATH_VARIABLE_REF_ERROR
-_xmlXPathType
-xmlXPathTypePtr
-xmlXPathType
-XPATH_UNDEFINED
+xmlTextWriterWriteFormatPI
+xmlTextWriterWriteFormatRaw
+xmlTextWriterWriteFormatString
+xmlTextWriterWritePI
+xmlTextWriterWriteProcessingInstruction
+xmlTextWriterWriteRaw
+xmlTextWriterWriteRawLen
+xmlTextWriterWriteString
+xmlTextWriterWriteVFormatAttribute
+xmlTextWriterWriteVFormatAttributeNS
+xmlTextWriterWriteVFormatCDATA
+xmlTextWriterWriteVFormatComment
+xmlTextWriterWriteVFormatDTD
+xmlTextWriterWriteVFormatDTDAttlist
+xmlTextWriterWriteVFormatDTDElement
+xmlTextWriterWriteVFormatDTDInternalEntity
+xmlTextWriterWriteVFormatElement
+xmlTextWriterWriteVFormatElementNS
+xmlTextWriterWriteVFormatPI
+xmlTextWriterWriteVFormatRaw
+xmlTextWriterWriteVFormatString
+

Module xpath:

XPATH_BOOLEAN
XPATH_ENCODING_ERROR
-XPTR_RESOURCE_ERROR
-xmlXPathIsInf
-XPATH_POINT
-xmlXPathAxis
-_xmlXPathObject
-xmlXPathCompiledEval
-xmlNodeSet
-XPATH_UNDEF_PREFIX_ERROR
-XPATH_UNKNOWN_FUNC_ERROR
-xmlXPathFuncPtr
-XPATH_LOCATIONSET
-xmlXPathConvertFunc
-xmlXPathInit
-xmlXPathCmpNodes
+XPATH_EXPRESSION_OK
+XPATH_EXPR_ERROR
XPATH_INVALID_ARITY
-xmlXPathCastNumberToString
-xmlXPathEvalFunc
-xmlXPathFunction
-XPATH_INVALID_PREDICATE_ERROR
-xmlXPathFreeCompExpr
-XPATH_MEMORY_ERROR
-xmlXPathParserContextPtr
-xmlXPathCompExpr
+XPATH_INVALID_CHAR_ERROR
XPATH_INVALID_CTXT_POSITION
-xmlXPathContextPtr
-xmlXPathCompile
-_xmlNodeSet
-xmlXPathCastNodeSetToNumber
-xmlXPathObjectType
+XPATH_INVALID_CTXT_SIZE
+XPATH_INVALID_OPERAND
+XPATH_INVALID_PREDICATE_ERROR
+XPATH_INVALID_TYPE
+XPATH_LOCATIONSET
+XPATH_MEMORY_ERROR
+XPATH_NODESET
+XPATH_NUMBER
+XPATH_NUMBER_ERROR
+XPATH_POINT
+XPATH_RANGE
+XPATH_START_LITERAL_ERROR
+XPATH_STRING
+XPATH_UNCLOSED_ERROR
+XPATH_UNDEFINED
+XPATH_UNDEF_PREFIX_ERROR
+XPATH_UNDEF_VARIABLE_ERROR
XPATH_UNFINISHED_LITERAL_ERROR
-

Module xpathInternals:

xmlXPathNodeSetMerge
-xmlXPathRoundFunction
+XPATH_UNKNOWN_FUNC_ERROR
+XPATH_USERS
+XPATH_VARIABLE_REF_ERROR
+XPATH_XSLT_TREE
+XPTR_RESOURCE_ERROR
+XPTR_SUB_RESOURCE_ERROR
+XPTR_SYNTAX_ERROR
+_xmlNodeSet
+_xmlXPathAxis
+_xmlXPathContext
+_xmlXPathFunct
+_xmlXPathObject
+_xmlXPathParserContext
+_xmlXPathType
+_xmlXPathVariable
+xmlNodeSet
+xmlNodeSetPtr
+xmlXPathAxis
+xmlXPathAxisFunc
+xmlXPathAxisPtr
+xmlXPathCastBooleanToNumber
+xmlXPathCastBooleanToString
+xmlXPathCastNodeSetToBoolean
+xmlXPathCastNodeSetToNumber
+xmlXPathCastNodeSetToString
+xmlXPathCastNodeToNumber
+xmlXPathCastNodeToString
+xmlXPathCastNumberToBoolean
+xmlXPathCastNumberToString
+xmlXPathCastStringToBoolean
+xmlXPathCastStringToNumber
+xmlXPathCastToBoolean
+xmlXPathCastToNumber
+xmlXPathCastToString
+xmlXPathCmpNodes
+xmlXPathCompExpr
+xmlXPathCompExprPtr
+xmlXPathCompile
+xmlXPathCompiledEval
+xmlXPathContext
+xmlXPathContextPtr
+xmlXPathConvertBoolean
+xmlXPathConvertFunc
+xmlXPathConvertNumber
+xmlXPathConvertString
+xmlXPathError
+xmlXPathEval
+xmlXPathEvalExpression
+xmlXPathEvalFunc
+xmlXPathEvalPredicate
+xmlXPathFreeCompExpr
+xmlXPathFreeContext
+xmlXPathFreeNodeSet
+xmlXPathFreeNodeSetList
+xmlXPathFreeObject
+xmlXPathFuncPtr
+xmlXPathFunct
+xmlXPathFunction
+xmlXPathInit
+xmlXPathIsInf
+xmlXPathIsNaN
+xmlXPathNAN
+xmlXPathNINF
+xmlXPathNewContext
+xmlXPathNodeSetCreate
+xmlXPathNodeSetGetLength
+xmlXPathNodeSetIsEmpty
+xmlXPathNodeSetItem
+xmlXPathObject
+xmlXPathObjectCopy
+xmlXPathObjectPtr
+xmlXPathObjectType
+xmlXPathOrderDocElems
+xmlXPathPINF
+xmlXPathParserContext
+xmlXPathParserContextPtr
+xmlXPathType
+xmlXPathTypePtr
+xmlXPathVariable
+xmlXPathVariablePtr
+

Module xpathInternals:

CAST_TO_BOOLEAN
CAST_TO_NUMBER
-xmlXPathNumberFunction
-xmlXPathNotEqualValues
-xmlXPathStackIsNodeSet
-xmlXPathNsLookup
-xmlXPathCountFunction
-xmlXPathParseNCName
-xmlXPathNewNodeSet
-xmlXPathReturnNumber
-xmlXPathVariableLookupNS
-xmlXPathNextAncestorOrSelf
-xmlXPathNewBoolean
-xmlXPathNodeSetRemove
-xmlXPathSubValues
-xmlXPathNewNodeSetList
-xmlXPathPopBoolean
-xmlXPathNotFunction
-xmlXPathEqualValues
-xmlXPathGetContextNode
-xmlXPathNewString
-xmlXPathTrailingSorted
-xmlXPathMultValues
-xmlXPathModValues
-xmlXPathNodeLeadingSorted
-xmlXPathEvaluatePredicateResult
-CHECK_ARITY
-xmlXPathNextChild
CAST_TO_STRING
-xmlXPathReturnExternal
-xmlXPathNextFollowingSibling
-xmlXPathBooleanFunction
-xmlXPathNewParserContext
-xmlXPathNamespaceURIFunction
-xmlXPathSubstringAfterFunction
-xmlXPathRoot
-xmlXPathLangFunction
-CHECK_TYPE0
-xmlXPathCompareValues
-xmlXPathPopNodeSet
-xmlXPathCheckError
-xmlXPathConcatFunction
-xmlXPathNodeSetAddNs
-xmlXPathRegisterFunc
-xmlXPathNodeSetContains
-xmlXPathRegisterFuncNS
-xmlXPatherror
-xmlXPathNextAncestor
-xmlXPathNextFollowing
-xmlXPathRegisterVariableNS
-CAST_TO_BOOLEAN
-xmlXPathIsNodeType
-xmlXPathPopString
-xmlXPathLocalNameFunction
-xmlXPathAddValues
-xmlXPathDifference
-xmlXPathRegisterVariable
-valuePop
-CHECK_ERROR0
-xmlXPathCeilingFunction
-xmlXPathIntersection
-xmlXPathLeadingSorted
-xmlXPathReturnFalse
-xmlXPathContainsFunction
-xmlXPathNextPrecedingSibling
-xmlXPathNodeSetSort
-xmlXPathStartsWithFunction
-xmlXPathPopExternal
-xmlXPathNormalizeFunction
-xmlXPathNodeLeading
-xmlXPathSumFunction
-xmlXPathRegisterVariableLookup
-xmlXPathFuncLookupFunc
-xmlXPathNodeSetDel
-xmlXPathStackIsExternal
-xmlXPathReturnEmptyString
-XP_ERROR0
-xmlXPathNodeTrailingSorted
-xmlXPathErr
-xmlXPathNextPreceding
-xmlXPathFunctionLookupNS
-xmlXPathWrapNodeSet
-xmlXPathSetTypeError
-xmlXPathReturnTrue
-xmlXPathRegisteredFuncsCleanup
-xmlXPathRegisterAllFunctions
-xmlXPathReturnEmptyNodeSet
-xmlXPathFunctionLookup
-xmlXPathGetDocument
-xmlXPathReturnBoolean
-xmlXPathPositionFunction
-xmlXPathVariableLookupFunc
-xmlXPathSubstringBeforeFunction
-xmlXPathRegisteredVariablesCleanup
-xmlXPathNextDescendant
-xmlXPathNextNamespace
-xmlXPathWrapCString
-xmlXPathNewFloat
-xmlXPathRegisterNs
-xmlXPathWrapExternal
-xmlXPathTranslateFunction
-xmlXPathNextParent
-xmlXPathNodeSetFreeNs
-xmlXPathTrailing
-xmlXPathHasSameNodes
-xmlXPathDistinctSorted
-xmlXPathFreeParserContext
-xmlXPathNodeTrailing
-xmlXPathNewCString
-valuePush
-xmlXPathNodeSetAdd
-xmlXPathSubstringFunction
-xmlXPathStringFunction
-xmlXPathFloorFunction
-xmlXPathNodeSetAddUnique
-xmlXPathNewValueTree
-xmlXPathVariableLookup
-xmlXPathDistinct
-xmlXPathIdFunction
-xmlXPathSetError
+CHECK_ARITY
CHECK_ERROR
+CHECK_ERROR0
CHECK_TYPE
-xmlXPathNextDescendantOrSelf
-xmlXPathRegisterFuncLookup
-xmlXPathNextAttribute
-xmlXPathDivValues
-xmlXPathStringLengthFunction
-xmlXPathLastFunction
-xmlXPathSetArityError
-xmlXPathNextSelf
-xmlXPathDebugDumpCompExpr
-xmlXPathEvalExpr
-xmlXPathFalseFunction
-xmlXPathDebugDumpObject
-xmlXPathValueFlipSign
-xmlXPathStringEvalNumber
-xmlXPathWrapString
-xmlXPathEmptyNodeSet
-xmlXPathReturnString
-xmlXPathGetError
+CHECK_TYPE0
XP_ERROR
+XP_ERROR0
+valuePop
+valuePush
+xmlXPathAddValues
+xmlXPathBooleanFunction
+xmlXPathCeilingFunction
+xmlXPathCheckError
+xmlXPathCompareValues
+xmlXPathConcatFunction
+xmlXPathContainsFunction
+xmlXPathCountFunction
+xmlXPathDebugDumpCompExpr
+xmlXPathDebugDumpObject
+xmlXPathDifference
+xmlXPathDistinct
+xmlXPathDistinctSorted
+xmlXPathDivValues
+xmlXPathEmptyNodeSet
+xmlXPathEqualValues
+xmlXPathErr
+xmlXPathEvalExpr
+xmlXPathEvaluatePredicateResult
+xmlXPathFalseFunction
+xmlXPathFloorFunction
+xmlXPathFreeParserContext
+xmlXPathFuncLookupFunc
+xmlXPathFunctionLookup
+xmlXPathFunctionLookupNS
+xmlXPathGetContextNode
+xmlXPathGetDocument
+xmlXPathGetError
+xmlXPathHasSameNodes
+xmlXPathIdFunction
+xmlXPathIntersection
+xmlXPathIsNodeType
+xmlXPathLangFunction
+xmlXPathLastFunction
xmlXPathLeading
-xmlXPathRegisteredNsCleanup
+xmlXPathLeadingSorted
+xmlXPathLocalNameFunction
+xmlXPathModValues
+xmlXPathMultValues
+xmlXPathNamespaceURIFunction
+xmlXPathNewBoolean
+xmlXPathNewCString
+xmlXPathNewFloat
+xmlXPathNewNodeSet
+xmlXPathNewNodeSetList
+xmlXPathNewParserContext
+xmlXPathNewString
+xmlXPathNewValueTree
+xmlXPathNextAncestor
+xmlXPathNextAncestorOrSelf
+xmlXPathNextAttribute
+xmlXPathNextChild
+xmlXPathNextDescendant
+xmlXPathNextDescendantOrSelf
+xmlXPathNextFollowing
+xmlXPathNextFollowingSibling
+xmlXPathNextNamespace
+xmlXPathNextParent
+xmlXPathNextPreceding
+xmlXPathNextPrecedingSibling
+xmlXPathNextSelf
+xmlXPathNodeLeading
+xmlXPathNodeLeadingSorted
+xmlXPathNodeSetAdd
+xmlXPathNodeSetAddNs
+xmlXPathNodeSetAddUnique
+xmlXPathNodeSetContains
+xmlXPathNodeSetDel
+xmlXPathNodeSetFreeNs
+xmlXPathNodeSetMerge
+xmlXPathNodeSetRemove
+xmlXPathNodeSetSort
+xmlXPathNodeTrailing
+xmlXPathNodeTrailingSorted
+xmlXPathNormalizeFunction
+xmlXPathNotEqualValues
+xmlXPathNotFunction
+xmlXPathNsLookup
+xmlXPathNumberFunction
+xmlXPathParseNCName
xmlXPathParseName
-xmlXPathReturnNodeSet
-xmlXPathTrueFunction
+xmlXPathPopBoolean
+xmlXPathPopExternal
+xmlXPathPopNodeSet
xmlXPathPopNumber
-

Module xpointer:

xmlXPtrNewRangePoints
+xmlXPathPopString
+xmlXPathPositionFunction
+xmlXPathRegisterAllFunctions
+xmlXPathRegisterFunc
+xmlXPathRegisterFuncLookup
+xmlXPathRegisterFuncNS
+xmlXPathRegisterNs
+xmlXPathRegisterVariable
+xmlXPathRegisterVariableLookup
+xmlXPathRegisterVariableNS
+xmlXPathRegisteredFuncsCleanup
+xmlXPathRegisteredNsCleanup
+xmlXPathRegisteredVariablesCleanup
+xmlXPathReturnBoolean
+xmlXPathReturnEmptyNodeSet
+xmlXPathReturnEmptyString
+xmlXPathReturnExternal
+xmlXPathReturnFalse
+xmlXPathReturnNodeSet
+xmlXPathReturnNumber
+xmlXPathReturnString
+xmlXPathReturnTrue
+xmlXPathRoot
+xmlXPathRoundFunction
+xmlXPathSetArityError
+xmlXPathSetError
+xmlXPathSetTypeError
+xmlXPathStackIsExternal
+xmlXPathStackIsNodeSet
+xmlXPathStartsWithFunction
+xmlXPathStringEvalNumber
+xmlXPathStringFunction
+xmlXPathStringLengthFunction
+xmlXPathSubValues
+xmlXPathSubstringAfterFunction
+xmlXPathSubstringBeforeFunction
+xmlXPathSubstringFunction
+xmlXPathSumFunction
+xmlXPathTrailing
+xmlXPathTrailingSorted
+xmlXPathTranslateFunction
+xmlXPathTrueFunction
+xmlXPathValueFlipSign
+xmlXPathVariableLookup
+xmlXPathVariableLookupFunc
+xmlXPathVariableLookupNS
+xmlXPathWrapCString
+xmlXPathWrapExternal
+xmlXPathWrapNodeSet
+xmlXPathWrapString
+xmlXPatherror
+

Module xpointer:

_xmlLocationSet
+xmlLocationSet
xmlLocationSetPtr
xmlXPtrBuildNodeList
xmlXPtrEval
-xmlXPtrNewCollapsedRange
-xmlLocationSet
-xmlXPtrNewLocationSetNodeSet
-xmlXPtrNewRangePointNode
-xmlXPtrLocationSetMerge
xmlXPtrEvalRangePredicate
-xmlXPtrLocationSetDel
-xmlXPtrNewRange
xmlXPtrFreeLocationSet
-xmlXPtrWrapLocationSet
-xmlXPtrNewRangeNodes
-xmlXPtrLocationSetCreate
xmlXPtrLocationSetAdd
-xmlXPtrRangeToFunction
-_xmlLocationSet
-xmlXPtrNewLocationSetNodes
-xmlXPtrNewContext
-xmlXPtrNewRangeNodeObject
+xmlXPtrLocationSetCreate
+xmlXPtrLocationSetDel
+xmlXPtrLocationSetMerge
xmlXPtrLocationSetRemove
+xmlXPtrNewCollapsedRange
+xmlXPtrNewContext
+xmlXPtrNewLocationSetNodeSet
+xmlXPtrNewLocationSetNodes
+xmlXPtrNewRange
+xmlXPtrNewRangeNodeObject
xmlXPtrNewRangeNodePoint
+xmlXPtrNewRangeNodes
+xmlXPtrNewRangePointNode
+xmlXPtrNewRangePoints
+xmlXPtrRangeToFunction
+xmlXPtrWrapLocationSet

Daniel Veillard

diff --git a/doc/APIfunctions.html b/doc/APIfunctions.html index 55602736..da41766b 100644 --- a/doc/APIfunctions.html +++ b/doc/APIfunctions.html @@ -19,7 +19,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlRelaxNGValidityWarningFunc
xmlSchemaValidityErrorFunc
xmlSchemaValidityWarningFunc
-xmlStrPrintf
+xmlStrPrintf
xmlTextWriterWriteFormatAttribute
xmlTextWriterWriteFormatAttributeNS
xmlTextWriterWriteFormatCDATA
@@ -88,9 +88,9 @@ A:link, A:visited, A:active { text-decoration: underline } isolat1ToUTF8
xmlCharEncodingInputFunc
xmlCharEncodingOutputFunc
-xmlCheckUTF8
+xmlCheckUTF8
xmlDetectCharEncoding
-xmlGetUTF8Char
+xmlGetUTF8Char

Type const void *:

xmlListDataCompare
xmlListReverseWalk
xmlListWalk
@@ -336,29 +336,29 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSplitQName
xmlSplitQName2
xmlSplitQName3
-xmlStrEqual
-xmlStrPrintf
-xmlStrQEqual
-xmlStrVPrintf
-xmlStrcasecmp
-xmlStrcasestr
-xmlStrcat
-xmlStrchr
-xmlStrcmp
-xmlStrdup
+xmlStrEqual
+xmlStrPrintf
+xmlStrQEqual
+xmlStrVPrintf
+xmlStrcasecmp
+xmlStrcasestr
+xmlStrcat
+xmlStrchr
+xmlStrcmp
+xmlStrdup
xmlStringCurrentChar
xmlStringDecodeEntities
xmlStringGetNodeList
xmlStringLenDecodeEntities
xmlStringLenGetNodeList
-xmlStrlen
-xmlStrncasecmp
-xmlStrncat
-xmlStrncatNew
-xmlStrncmp
-xmlStrndup
-xmlStrstr
-xmlStrsub
+xmlStrlen
+xmlStrncasecmp
+xmlStrncat
+xmlStrncatNew
+xmlStrncmp
+xmlStrndup
+xmlStrstr
+xmlStrsub
xmlTextConcat
xmlTextReaderConstString
xmlTextReaderGetAttribute
@@ -413,14 +413,14 @@ A:link, A:visited, A:active { text-decoration: underline } xmlTextWriterWriteVFormatPI
xmlURIEscape
xmlURIEscapeStr
-xmlUTF8Charcmp
-xmlUTF8Size
-xmlUTF8Strlen
-xmlUTF8Strloc
-xmlUTF8Strndup
-xmlUTF8Strpos
-xmlUTF8Strsize
-xmlUTF8Strsub
+xmlUTF8Charcmp
+xmlUTF8Size
+xmlUTF8Strlen
+xmlUTF8Strloc
+xmlUTF8Strndup
+xmlUTF8Strpos
+xmlUTF8Strsize
+xmlUTF8Strsub
xmlUnsetNsProp
xmlUnsetProp
xmlValidCtxtNormalizeAttributeValue
@@ -533,7 +533,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlDocDumpMemory
xmlDocDumpMemoryEnc
xmlGetFeaturesList
-xmlGetUTF8Char
+xmlGetUTF8Char
xmlSplitQName3
xmlStringCurrentChar
xmlValidGetPotentialChildren
@@ -567,7 +567,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlIsIdeographic
xmlIsPubidChar

Type unsigned long:

ftpListCallback
-

Type va_list:

xmlStrVPrintf
+

Type va_list:

xmlStrVPrintf
xmlTextWriterWriteVFormatAttribute
xmlTextWriterWriteVFormatAttributeNS
xmlTextWriterWriteVFormatCDATA
@@ -916,7 +916,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlConvertSGMLCatalog
xmlFreeCatalog

Type xmlChar:

xmlDecodeEntities
-xmlStrchr
+xmlStrchr
xmlStringDecodeEntities
xmlStringLenDecodeEntities

Type xmlChar *:

checkNamespace
@@ -941,11 +941,11 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSAX2CheckNamespace
xmlSAX2EntityDecl
xmlSAXParseDoc
-xmlStrPrintf
-xmlStrVPrintf
-xmlStrcasestr
-xmlStrcat
-xmlStrncat
+xmlStrPrintf
+xmlStrVPrintf
+xmlStrcasestr
+xmlStrcat
+xmlStrncat
xmlTextWriterSetIndentString
xmlXPathWrapString

Type xmlChar **:

htmlDocDumpMemory
diff --git a/doc/APIsymbols.html b/doc/APIsymbols.html index 86feb45d..92110d86 100644 --- a/doc/APIsymbols.html +++ b/doc/APIsymbols.html @@ -8,7 +8,7 @@ H2 {font-family: Verdana,Arial,Helvetica} H3 {font-family: Verdana,Arial,Helvetica} A:link, A:visited, A:active { text-decoration: underline } Alphabetic List of Symbols in libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

The XML C parser and toolkit of Gnome

Alphabetic List of Symbols in libxml2

Developer Menu
API Indexes
Related links

Letter A:

ATTRIBUTE_UNUSED
-

Letter B:

BAD_CAST
+

Letter B:

BAD_CAST
BASE_BUFFER_SIZE

Letter C:

CAST_TO_BOOLEAN
CAST_TO_NUMBER
@@ -1310,7 +1310,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlChRangeGroupPtr
xmlChSRange
xmlChSRangePtr
-xmlChar
+xmlChar
xmlCharEncCloseFunc
xmlCharEncFirstLine
xmlCharEncInFunc
@@ -1321,12 +1321,12 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCharEncodingInputFunc
xmlCharEncodingOutputFunc
xmlCharInRange
-xmlCharStrdup
-xmlCharStrndup
+xmlCharStrdup
+xmlCharStrndup
xmlCheckFilename
xmlCheckHTTPInput
xmlCheckLanguageID
-xmlCheckUTF8
+xmlCheckUTF8
xmlCheckVersion
xmlChildrenNode
xmlCleanupCharEncodingHandlers
@@ -1531,7 +1531,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlGetProp
xmlGetRefs
xmlGetThreadId
-xmlGetUTF8Char
+xmlGetUTF8Char
xmlGetWarningsDefaultValue
xmlGlobalState
xmlGlobalStatePtr
@@ -2200,16 +2200,16 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSplitQName3
xmlSprintfElementContent
xmlStopParser
-xmlStrEqual
-xmlStrPrintf
-xmlStrQEqual
-xmlStrVPrintf
-xmlStrcasecmp
-xmlStrcasestr
-xmlStrcat
-xmlStrchr
-xmlStrcmp
-xmlStrdup
+xmlStrEqual
+xmlStrPrintf
+xmlStrQEqual
+xmlStrVPrintf
+xmlStrcasecmp
+xmlStrcasestr
+xmlStrcat
+xmlStrchr
+xmlStrcmp
+xmlStrdup
xmlStrdupFunc
xmlStringComment
xmlStringCurrentChar
@@ -2219,14 +2219,14 @@ A:link, A:visited, A:active { text-decoration: underline } xmlStringLenGetNodeList
xmlStringText
xmlStringTextNoenc
-xmlStrlen
-xmlStrncasecmp
-xmlStrncat
-xmlStrncatNew
-xmlStrncmp
-xmlStrndup
-xmlStrstr
-xmlStrsub
+xmlStrlen
+xmlStrncasecmp
+xmlStrncat
+xmlStrncatNew
+xmlStrncmp
+xmlStrndup
+xmlStrstr
+xmlStrsub
xmlStructuredError
xmlStructuredErrorFunc
xmlSubstituteEntitiesDefault
@@ -2560,14 +2560,14 @@ A:link, A:visited, A:active { text-decoration: underline } xmlURIEscapeStr
xmlURIPtr
xmlURIUnescapeString
-xmlUTF8Charcmp
-xmlUTF8Size
-xmlUTF8Strlen
-xmlUTF8Strloc
-xmlUTF8Strndup
-xmlUTF8Strpos
-xmlUTF8Strsize
-xmlUTF8Strsub
+xmlUTF8Charcmp
+xmlUTF8Size
+xmlUTF8Strlen
+xmlUTF8Strloc
+xmlUTF8Strndup
+xmlUTF8Strpos
+xmlUTF8Strsize
+xmlUTF8Strsub
xmlUnlinkNode
xmlUnlockLibrary
xmlUnsetNsProp
diff --git a/doc/apibuild.py b/doc/apibuild.py index 541e838e..a0b3f28d 100755 --- a/doc/apibuild.py +++ b/doc/apibuild.py @@ -1666,11 +1666,11 @@ class docBuilder: module = self.modulename_file(file) output.write(" \n" % (module)) dict = self.headers[file] - ids = dict.functions.keys() + dict.variables.keys() + \ + ids = uniq(dict.functions.keys() + dict.variables.keys() + \ dict.macros.keys() + dict.typedefs.keys() + \ - dict.structs.keys() + dict.enums.keys() + dict.structs.keys() + dict.enums.keys()) ids.sort() - for id in uniq(ids): + for id in ids: output.write(" \n" % (id)) output.write(" \n") pass @@ -1787,7 +1787,7 @@ class docBuilder: tokens = index[id]; tokens.sort() tok = None - for token in index[id]: + for token in tokens: if tok == token: continue tok = token diff --git a/doc/html/book1.html b/doc/html/book1.html index b9bb86e0..b17821c6 100644 --- a/doc/html/book1.html +++ b/doc/html/book1.html @@ -10,4 +10,4 @@ A:link, A:visited, A:active { text-decoration: underline } Reference Manual for libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Reference Manual for libxml2

API Menu
API Indexes
Related links

Table of Contents

  • DOCBparser: old DocBook SGML parser
  • HTMLparser: interface for an HTML 4.0 non-verifying parser
  • HTMLtree: specific APIs to process HTML tree, especially serialization
  • SAX: Old SAX version 1 handler, deprecated
  • SAX2: SAX2 parser interface used to build the DOM tree
  • c14n: Provide Canonical XML and Exclusive XML Canonicalization
  • catalog: interfaces to the Catalog handling system
  • chvalid: Unicode character range checking
  • debugXML: Tree debugging APIs
  • dict: string dictionnary
  • encoding: interface for the encoding conversion functions
  • entities: interface for the XML entities handling
  • globals: interface for all global variables of the library
  • hash: chained hash tables
  • list: lists interfaces
  • nanoftp: minimal FTP implementation
  • nanohttp: minimal HTTP implementation
  • parser: the core parser module
  • parserInternals: internals routines exported by the parser.
  • pattern: pattern expression handling
  • relaxng: implementation of the Relax-NG validation
  • schemasInternals: internal interfaces for XML Schemas
  • threads: interfaces for thread handling
  • tree: interfaces for tree manipulation
  • uri: library of generic URI related routines
  • valid: The DTD validation
  • xinclude: implementation of XInclude
  • xlink: unfinished XLink detection module
  • xmlIO: interface for the I/O interfaces used by the parser
  • xmlautomata: API to build regexp automata
  • xmlerror: error handling
  • xmlexports: macros for marking symbols as exportable/importable.
  • xmlmemory: interface for the memory allocator
  • xmlreader: the XMLReader implementation
  • xmlregexp: regular expressions handling
  • xmlschemas: incomplete XML Schemas structure implementation
  • xmlschemastypes: implementation of XML Schema Datatypes
  • xmlunicode: Unicode character APIs
  • xmlversion: compile-time version informations
  • xmlwriter: text writing API for XML
  • xpath: XML Path Language implementation
  • xpathInternals: internal interfaces for XML Path Language implementation
  • xpointer: API to handle XML Pointers

Daniel Veillard

+ Reference Manual for libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Reference Manual for libxml2

API Menu
API Indexes
Related links

Table of Contents

  • DOCBparser: old DocBook SGML parser
  • HTMLparser: interface for an HTML 4.0 non-verifying parser
  • HTMLtree: specific APIs to process HTML tree, especially serialization
  • SAX: Old SAX version 1 handler, deprecated
  • SAX2: SAX2 parser interface used to build the DOM tree
  • c14n: Provide Canonical XML and Exclusive XML Canonicalization
  • catalog: interfaces to the Catalog handling system
  • chvalid: Unicode character range checking
  • debugXML: Tree debugging APIs
  • dict: string dictionnary
  • encoding: interface for the encoding conversion functions
  • entities: interface for the XML entities handling
  • globals: interface for all global variables of the library
  • hash: chained hash tables
  • list: lists interfaces
  • nanoftp: minimal FTP implementation
  • nanohttp: minimal HTTP implementation
  • parser: the core parser module
  • parserInternals: internals routines exported by the parser.
  • pattern: pattern expression handling
  • relaxng: implementation of the Relax-NG validation
  • schemasInternals: internal interfaces for XML Schemas
  • threads: interfaces for thread handling
  • tree: interfaces for tree manipulation
  • uri: library of generic URI related routines
  • valid: The DTD validation
  • xinclude: implementation of XInclude
  • xlink: unfinished XLink detection module
  • xmlIO: interface for the I/O interfaces used by the parser
  • xmlautomata: API to build regexp automata
  • xmlerror: error handling
  • xmlexports: macros for marking symbols as exportable/importable.
  • xmlmemory: interface for the memory allocator
  • xmlreader: the XMLReader implementation
  • xmlregexp: regular expressions handling
  • xmlschemas: incomplete XML Schemas structure implementation
  • xmlschemastypes: implementation of XML Schema Datatypes
  • xmlstring: the core parser module
  • xmlunicode: Unicode character APIs
  • xmlversion: compile-time version informations
  • xmlwriter: text writing API for XML
  • xpath: XML Path Language implementation
  • xpathInternals: internal interfaces for XML Path Language implementation
  • xpointer: API to handle XML Pointers

Daniel Veillard

diff --git a/doc/html/index.html b/doc/html/index.html index b9bb86e0..b17821c6 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -10,4 +10,4 @@ A:link, A:visited, A:active { text-decoration: underline } Reference Manual for libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Reference Manual for libxml2

API Menu
API Indexes
Related links

Table of Contents

  • DOCBparser: old DocBook SGML parser
  • HTMLparser: interface for an HTML 4.0 non-verifying parser
  • HTMLtree: specific APIs to process HTML tree, especially serialization
  • SAX: Old SAX version 1 handler, deprecated
  • SAX2: SAX2 parser interface used to build the DOM tree
  • c14n: Provide Canonical XML and Exclusive XML Canonicalization
  • catalog: interfaces to the Catalog handling system
  • chvalid: Unicode character range checking
  • debugXML: Tree debugging APIs
  • dict: string dictionnary
  • encoding: interface for the encoding conversion functions
  • entities: interface for the XML entities handling
  • globals: interface for all global variables of the library
  • hash: chained hash tables
  • list: lists interfaces
  • nanoftp: minimal FTP implementation
  • nanohttp: minimal HTTP implementation
  • parser: the core parser module
  • parserInternals: internals routines exported by the parser.
  • pattern: pattern expression handling
  • relaxng: implementation of the Relax-NG validation
  • schemasInternals: internal interfaces for XML Schemas
  • threads: interfaces for thread handling
  • tree: interfaces for tree manipulation
  • uri: library of generic URI related routines
  • valid: The DTD validation
  • xinclude: implementation of XInclude
  • xlink: unfinished XLink detection module
  • xmlIO: interface for the I/O interfaces used by the parser
  • xmlautomata: API to build regexp automata
  • xmlerror: error handling
  • xmlexports: macros for marking symbols as exportable/importable.
  • xmlmemory: interface for the memory allocator
  • xmlreader: the XMLReader implementation
  • xmlregexp: regular expressions handling
  • xmlschemas: incomplete XML Schemas structure implementation
  • xmlschemastypes: implementation of XML Schema Datatypes
  • xmlunicode: Unicode character APIs
  • xmlversion: compile-time version informations
  • xmlwriter: text writing API for XML
  • xpath: XML Path Language implementation
  • xpathInternals: internal interfaces for XML Path Language implementation
  • xpointer: API to handle XML Pointers

Daniel Veillard

+ Reference Manual for libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Reference Manual for libxml2

API Menu
API Indexes
Related links

Table of Contents

  • DOCBparser: old DocBook SGML parser
  • HTMLparser: interface for an HTML 4.0 non-verifying parser
  • HTMLtree: specific APIs to process HTML tree, especially serialization
  • SAX: Old SAX version 1 handler, deprecated
  • SAX2: SAX2 parser interface used to build the DOM tree
  • c14n: Provide Canonical XML and Exclusive XML Canonicalization
  • catalog: interfaces to the Catalog handling system
  • chvalid: Unicode character range checking
  • debugXML: Tree debugging APIs
  • dict: string dictionnary
  • encoding: interface for the encoding conversion functions
  • entities: interface for the XML entities handling
  • globals: interface for all global variables of the library
  • hash: chained hash tables
  • list: lists interfaces
  • nanoftp: minimal FTP implementation
  • nanohttp: minimal HTTP implementation
  • parser: the core parser module
  • parserInternals: internals routines exported by the parser.
  • pattern: pattern expression handling
  • relaxng: implementation of the Relax-NG validation
  • schemasInternals: internal interfaces for XML Schemas
  • threads: interfaces for thread handling
  • tree: interfaces for tree manipulation
  • uri: library of generic URI related routines
  • valid: The DTD validation
  • xinclude: implementation of XInclude
  • xlink: unfinished XLink detection module
  • xmlIO: interface for the I/O interfaces used by the parser
  • xmlautomata: API to build regexp automata
  • xmlerror: error handling
  • xmlexports: macros for marking symbols as exportable/importable.
  • xmlmemory: interface for the memory allocator
  • xmlreader: the XMLReader implementation
  • xmlregexp: regular expressions handling
  • xmlschemas: incomplete XML Schemas structure implementation
  • xmlschemastypes: implementation of XML Schema Datatypes
  • xmlstring: the core parser module
  • xmlunicode: Unicode character APIs
  • xmlversion: compile-time version informations
  • xmlwriter: text writing API for XML
  • xpath: XML Path Language implementation
  • xpathInternals: internal interfaces for XML Path Language implementation
  • xpointer: API to handle XML Pointers

Daniel Veillard

diff --git a/doc/html/libxml-DOCBparser.html b/doc/html/libxml-DOCBparser.html index 8939f4ce..b54595c8 100644 --- a/doc/html/libxml-DOCBparser.html +++ b/doc/html/libxml-DOCBparser.html @@ -22,8 +22,8 @@ A:link, A:visited, A:active { text-decoration: underline }

docbDocPtr	docbParseFile		(const char * filename, 
const char * encoding)
int	docbParseDocument		(docbParserCtxtPtr ctxt)
docbParserCtxtPtr	docbCreateFileParserCtxt	(const char * filename, 
const char * encoding)
-
docbDocPtr	docbParseDoc		(xmlChar * cur, 
const char * encoding)
-
docbDocPtr	docbSAXParseDoc		(xmlChar * cur, 
const char * encoding,
docbSAXHandlerPtr sax,
void * userData)
+
docbDocPtr	docbParseDoc		(xmlChar * cur, 
const char * encoding)
+
docbDocPtr	docbSAXParseDoc		(xmlChar * cur, 
const char * encoding,
docbSAXHandlerPtr sax,
void * userData)
docbDocPtr	docbSAXParseFile	(const char * filename, 
const char * encoding,
docbSAXHandlerPtr sax,
void * userData)
int	docbParseChunk			(docbParserCtxtPtr ctxt, 
const char * chunk,
int size,
int terminate)
void	docbFreeParserCtxt		(docbParserCtxtPtr ctxt)
@@ -32,17 +32,17 @@ A:link, A:visited, A:active { text-decoration: underline }

Create a parser context for using the DocBook SGML parser in push mode To allow content encoding detection, @size should be >= 4 The value of @filename is used for fetching external entities and error/warning reports.

sax:a SAX handler
user_data:The user data returned on SAX callbacks
chunk:a pointer to an array of chars
size:number of chars in the array
filename:an optional file name or URI
enc:an optional encoding
Returns:the new parser context or NULL

Function: docbEncodeEntities

int	docbEncodeEntities		(unsigned char * out, 
int * outlen,
const unsigned char * in,
int * inlen,
int quoteChar)

Take a block of UTF-8 chars in and try to convert it to an ASCII plus SGML entities block of chars out.

-
out:a pointer to an array of bytes to store the result
outlen:the length of @out
in:a pointer to an array of UTF-8 chars
inlen:the length of @in
quoteChar:the quote character to escape (' or ") or zero.
Returns:0 if success, -2 if the transcoding fails, or -1 otherwise The value of @inlen after return is the number of octets consumed as the return value is positive, else unpredictable. The value of @outlen after return is the number of octets consumed.

Function: docbParseFile

docbDocPtr	docbParseFile		(const char * filename, 
const char * encoding)
+
out:a pointer to an array of bytes to store the result
outlen:the length of @out
in:a pointer to an array of UTF-8 chars
inlen:the length of @in
quoteChar:the quote character to escape (' or ") or zero.
Returns:0 if success, -2 if the transcoding fails, or -1 otherwise The value of @inlen after return is the number of octets consumed as the return value is positive, else unpredictable. The value of @outlen after return is the number of octets consumed.

Function: docbParseFile

docbDocPtr	docbParseFile		(const char * filename, 
const char * encoding)

parse a Docbook SGML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.

filename:the filename
encoding:a free form C string describing document encoding, or NULL
Returns:the resulting document tree

Function: docbParseDocument

int	docbParseDocument		(docbParserCtxtPtr ctxt)

parse an SGML document (and build a tree if using the standard SAX interface).

ctxt:an SGML parser context
Returns:0, -1 in case of error. the parser context is augmented as a result of the parsing.

Function: docbCreateFileParserCtxt

docbParserCtxtPtr	docbCreateFileParserCtxt	(const char * filename, 
const char * encoding)

Create a parser context for a file content. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.

-
filename:the filename
encoding:the SGML document encoding, or NULL
Returns:the new parser context or NULL

Function: docbParseDoc

docbDocPtr	docbParseDoc		(xmlChar * cur, 
const char * encoding)
+
filename:the filename
encoding:the SGML document encoding, or NULL
Returns:the new parser context or NULL

Function: docbParseDoc

docbDocPtr	docbParseDoc		(xmlChar * cur, 
const char * encoding)

parse an SGML in-memory document and build a tree.

-
cur:a pointer to an array of xmlChar
encoding:a free form C string describing the SGML document encoding, or NULL
Returns:the resulting document tree

Function: docbSAXParseDoc

docbDocPtr	docbSAXParseDoc		(xmlChar * cur, 
const char * encoding,
docbSAXHandlerPtr sax,
void * userData)
+
cur:a pointer to an array of xmlChar
encoding:a free form C string describing the SGML document encoding, or NULL
Returns:the resulting document tree

Function: docbSAXParseDoc

docbDocPtr	docbSAXParseDoc		(xmlChar * cur, 
const char * encoding,
docbSAXHandlerPtr sax,
void * userData)

parse an SGML in-memory document and build a tree. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.

-
cur:a pointer to an array of xmlChar
encoding:a free form C string describing the SGML document encoding, or NULL
sax:the SAX handler block
userData:if using SAX, this pointer will be provided on callbacks.
Returns:the resulting document tree

Function: docbSAXParseFile

docbDocPtr	docbSAXParseFile	(const char * filename, 
const char * encoding,
docbSAXHandlerPtr sax,
void * userData)
+
cur:a pointer to an array of xmlChar
encoding:a free form C string describing the SGML document encoding, or NULL
sax:the SAX handler block
userData:if using SAX, this pointer will be provided on callbacks.
Returns:the resulting document tree

Function: docbSAXParseFile

docbDocPtr	docbSAXParseFile	(const char * filename, 
const char * encoding,
docbSAXHandlerPtr sax,
void * userData)

parse an SGML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.

filename:the filename
encoding:a free form C string describing the SGML document encoding, or NULL
sax:the SAX handler block
userData:if using SAX, this pointer will be provided on callbacks.
Returns:the resulting document tree

Function: docbParseChunk

int	docbParseChunk			(docbParserCtxtPtr ctxt, 
const char * chunk,
int size,
int terminate)

Parse a Chunk of memory

diff --git a/doc/html/libxml-HTMLparser.html b/doc/html/libxml-HTMLparser.html index 76b01bad..81f65066 100644 --- a/doc/html/libxml-HTMLparser.html +++ b/doc/html/libxml-HTMLparser.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module HTMLparser from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module HTMLparser from libxml2

API Menu
API Indexes
Related links

this module implements an HTML 4.0 non-verifying parser with API compatible with the XML parser ones. It should be able to parse "real world" HTML, even if severely broken from a specification point of view.

Table of Contents

#define htmlDefaultSubelement
#define htmlElementAllowedHereDesc
#define htmlRequiredAttrs
Typedef xmlDocPtr htmlDocPtr
+    Module HTMLparser from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module HTMLparser from libxml2

API Menu
API Indexes
Related links

this module implements an HTML 4.0 non-verifying parser with API compatible with the XML parser ones. It should be able to parse "real world" HTML, even if severely broken from a specification point of view.

Table of Contents

#define htmlDefaultSubelement
#define htmlElementAllowedHereDesc
#define htmlRequiredAttrs
Typedef xmlDocPtr htmlDocPtr
 
Structure htmlElemDesc
struct _htmlElemDesc
Typedef htmlElemDesc * htmlElemDescPtr
 
Structure htmlEntityDesc
struct _htmlEntityDesc @@ -26,42 +26,42 @@ A:link, A:visited, A:active { text-decoration: underline }
Typedef xmlSAXHandlerPtr htmlSAXHandlerPtr
 
Enum htmlStatus
 
int	UTF8ToHtml			(unsigned char * out, 
int * outlen,
const unsigned char * in,
int * inlen)
-
htmlStatus	htmlAttrAllowed		(const htmlElemDesc * elt, 
const xmlChar * attr,
int legacy)
-
int	htmlAutoCloseTag		(htmlDocPtr doc, 
const xmlChar * name,
htmlNodePtr elem)
+
htmlStatus	htmlAttrAllowed		(const htmlElemDesc * elt, 
const xmlChar * attr,
int legacy)
+
int	htmlAutoCloseTag		(htmlDocPtr doc, 
const xmlChar * name,
htmlNodePtr elem)
htmlParserCtxtPtr	htmlCreateMemoryParserCtxt	(const char * buffer, 
int size)
htmlParserCtxtPtr	htmlCreatePushParserCtxt	(htmlSAXHandlerPtr sax, 
void * user_data,
const char * chunk,
int size,
const char * filename,
xmlCharEncoding enc)
-
htmlDocPtr	htmlCtxtReadDoc		(htmlParserCtxtPtr ctxt, 
const xmlChar * cur,
const char * URL,
const char * encoding,
int options)
+
htmlDocPtr	htmlCtxtReadDoc		(htmlParserCtxtPtr ctxt, 
const xmlChar * cur,
const char * URL,
const char * encoding,
int options)
htmlDocPtr	htmlCtxtReadFd		(htmlParserCtxtPtr ctxt, 
int fd,
const char * URL,
const char * encoding,
int options)
htmlDocPtr	htmlCtxtReadFile	(htmlParserCtxtPtr ctxt, 
const char * filename,
const char * encoding,
int options)
htmlDocPtr	htmlCtxtReadIO		(htmlParserCtxtPtr ctxt, 
xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void * ioctx,
const char * URL,
const char * encoding,
int options)
htmlDocPtr	htmlCtxtReadMemory	(htmlParserCtxtPtr ctxt, 
const char * buffer,
int size,
const char * URL,
const char * encoding,
int options)
void	htmlCtxtReset			(htmlParserCtxtPtr ctxt)
int	htmlCtxtUseOptions		(htmlParserCtxtPtr ctxt, 
int options)
-
int	htmlElementAllowedHere		(const htmlElemDesc * parent, 
const xmlChar * elt)
+
int	htmlElementAllowedHere		(const htmlElemDesc * parent, 
const xmlChar * elt)
htmlStatus	htmlElementStatusHere	(const htmlElemDesc * parent, 
const htmlElemDesc * elt)
int	htmlEncodeEntities		(unsigned char * out, 
int * outlen,
const unsigned char * in,
int * inlen,
int quoteChar)
-
const htmlEntityDesc *	htmlEntityLookup	(const xmlChar * name)
+
const htmlEntityDesc *	htmlEntityLookup	(const xmlChar * name)
const htmlEntityDesc *	htmlEntityValueLookup	(unsigned int value)
void	htmlFreeParserCtxt		(htmlParserCtxtPtr ctxt)
int	htmlHandleOmittedElem		(int val)
int	htmlIsAutoClosed		(htmlDocPtr doc, 
htmlNodePtr elem)
-
int	htmlIsScriptAttribute		(const xmlChar * name)
+
int	htmlIsScriptAttribute		(const xmlChar * name)
htmlStatus	htmlNodeStatus		(const htmlNodePtr node, 
int legacy)
int	htmlParseCharRef		(htmlParserCtxtPtr ctxt)
int	htmlParseChunk			(htmlParserCtxtPtr ctxt, 
const char * chunk,
int size,
int terminate)
-
htmlDocPtr	htmlParseDoc		(xmlChar * cur, 
const char * encoding)
+
htmlDocPtr	htmlParseDoc		(xmlChar * cur, 
const char * encoding)
int	htmlParseDocument		(htmlParserCtxtPtr ctxt)
void	htmlParseElement		(htmlParserCtxtPtr ctxt)
-
const htmlEntityDesc *	htmlParseEntityRef	(htmlParserCtxtPtr ctxt, 
const xmlChar ** str)
+
const htmlEntityDesc *	htmlParseEntityRef	(htmlParserCtxtPtr ctxt, 
const xmlChar ** str)
htmlDocPtr	htmlParseFile		(const char * filename, 
const char * encoding)
-
htmlDocPtr	htmlReadDoc		(const xmlChar * cur, 
const char * URL,
const char * encoding,
int options)
+
htmlDocPtr	htmlReadDoc		(const xmlChar * cur, 
const char * URL,
const char * encoding,
int options)
htmlDocPtr	htmlReadFd		(int fd, 
const char * URL,
const char * encoding,
int options)
htmlDocPtr	htmlReadFile		(const char * filename, 
const char * encoding,
int options)
htmlDocPtr	htmlReadIO		(xmlInputReadCallback ioread, 
xmlInputCloseCallback ioclose,
void * ioctx,
const char * URL,
const char * encoding,
int options)
htmlDocPtr	htmlReadMemory		(const char * buffer, 
int size,
const char * URL,
const char * encoding,
int options)
-
htmlDocPtr	htmlSAXParseDoc		(xmlChar * cur, 
const char * encoding,
htmlSAXHandlerPtr sax,
void * userData)
+
htmlDocPtr	htmlSAXParseDoc		(xmlChar * cur, 
const char * encoding,
htmlSAXHandlerPtr sax,
void * userData)
htmlDocPtr	htmlSAXParseFile	(const char * filename, 
const char * encoding,
htmlSAXHandlerPtr sax,
void * userData)
-
const htmlElemDesc *	htmlTagLookup	(const xmlChar * tag)
+
const htmlElemDesc *	htmlTagLookup	(const xmlChar * tag)

Description

Macro: htmlDefaultSubelement

#define htmlDefaultSubelement

Returns the default subelement for this element

Macro: htmlElementAllowedHereDesc

#define htmlElementAllowedHereDesc

Checks whether an HTML element description may be a direct child of the specified element. Returns 1 if allowed; 0 otherwise.

@@ -101,15 +101,15 @@ A:link, A:visited, A:active { text-decoration: underline } }

Function: UTF8ToHtml

int	UTF8ToHtml			(unsigned char * out, 
int * outlen,
const unsigned char * in,
int * inlen)

Take a block of UTF-8 chars in and try to convert it to an ASCII plus HTML entities block of chars out.

-
out:a pointer to an array of bytes to store the result
outlen:the length of @out
in:a pointer to an array of UTF-8 chars
inlen:the length of @in
Returns:0 if success, -2 if the transcoding fails, or -1 otherwise The value of @inlen after return is the number of octets consumed as the return value is positive, else unpredictable. The value of @outlen after return is the number of octets consumed.

Function: htmlAttrAllowed

htmlStatus	htmlAttrAllowed		(const htmlElemDesc * elt, 
const xmlChar * attr,
int legacy)
+
out:a pointer to an array of bytes to store the result
outlen:the length of @out
in:a pointer to an array of UTF-8 chars
inlen:the length of @in
Returns:0 if success, -2 if the transcoding fails, or -1 otherwise The value of @inlen after return is the number of octets consumed as the return value is positive, else unpredictable. The value of @outlen after return is the number of octets consumed.

Function: htmlAttrAllowed

htmlStatus	htmlAttrAllowed		(const htmlElemDesc * elt, 
const xmlChar * attr,
int legacy)

Checks whether an attribute is valid for an element Has full knowledge of Required and Deprecated attributes

-
elt:HTML element
attr:HTML attribute
legacy:whether to allow deprecated attributes
Returns:one of HTML_REQUIRED, HTML_VALID, HTML_DEPRECATED, HTML_INVALID

Function: htmlAutoCloseTag

int	htmlAutoCloseTag		(htmlDocPtr doc, 
const xmlChar * name,
htmlNodePtr elem)
+
elt:HTML element
attr:HTML attribute
legacy:whether to allow deprecated attributes
Returns:one of HTML_REQUIRED, HTML_VALID, HTML_DEPRECATED, HTML_INVALID

Function: htmlAutoCloseTag

int	htmlAutoCloseTag		(htmlDocPtr doc, 
const xmlChar * name,
htmlNodePtr elem)

The HTML DTD allows a tag to implicitly close other tags. The list is kept in htmlStartClose array. This function checks if the element or one of it's children would autoclose the given tag.

doc:the HTML document
name:The tag name
elem:the HTML element
Returns:1 if autoclose, 0 otherwise

Function: htmlCreateMemoryParserCtxt

htmlParserCtxtPtr	htmlCreateMemoryParserCtxt	(const char * buffer, 
int size)

Create a parser context for an HTML in-memory document.

buffer:a pointer to a char array
size:the size of the array
Returns:the new parser context or NULL

Function: htmlCreatePushParserCtxt

htmlParserCtxtPtr	htmlCreatePushParserCtxt	(htmlSAXHandlerPtr sax, 
void * user_data,
const char * chunk,
int size,
const char * filename,
xmlCharEncoding enc)

Create a parser context for using the HTML parser in push mode The value of @filename is used for fetching external entities and error/warning reports.

-
sax:a SAX handler
user_data:The user data returned on SAX callbacks
chunk:a pointer to an array of chars
size:number of chars in the array
filename:an optional file name or URI
enc:an optional encoding
Returns:the new parser context or NULL

Function: htmlCtxtReadDoc

htmlDocPtr	htmlCtxtReadDoc		(htmlParserCtxtPtr ctxt, 
const xmlChar * cur,
const char * URL,
const char * encoding,
int options)
+
sax:a SAX handler
user_data:The user data returned on SAX callbacks
chunk:a pointer to an array of chars
size:number of chars in the array
filename:an optional file name or URI
enc:an optional encoding
Returns:the new parser context or NULL

Function: htmlCtxtReadDoc

htmlDocPtr	htmlCtxtReadDoc		(htmlParserCtxtPtr ctxt, 
const xmlChar * cur,
const char * URL,
const char * encoding,
int options)

parse an XML in-memory document and build a tree. This reuses the existing @ctxt parser context

ctxt:an HTML parser context
cur:a pointer to a zero terminated string
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of htmlParserOption(s)
Returns:the resulting document tree

Function: htmlCtxtReadFd

htmlDocPtr	htmlCtxtReadFd		(htmlParserCtxtPtr ctxt, 
int fd,
const char * URL,
const char * encoding,
int options)

parse an XML from a file descriptor and build a tree. This reuses the existing @ctxt parser context

@@ -123,13 +123,13 @@ A:link, A:visited, A:active { text-decoration: underline }

Reset a parser context

ctxt:an HTML parser context

Function: htmlCtxtUseOptions

int	htmlCtxtUseOptions		(htmlParserCtxtPtr ctxt, 
int options)

Applies the options to the parser context

-
ctxt:an HTML parser context
options:a combination of htmlParserOption(s)
Returns:0 in case of success, the set of unknown or unimplemented options in case of error.

Function: htmlElementAllowedHere

int	htmlElementAllowedHere		(const htmlElemDesc * parent, 
const xmlChar * elt)
+
ctxt:an HTML parser context
options:a combination of htmlParserOption(s)
Returns:0 in case of success, the set of unknown or unimplemented options in case of error.

Function: htmlElementAllowedHere

int	htmlElementAllowedHere		(const htmlElemDesc * parent, 
const xmlChar * elt)

Checks whether an HTML element may be a direct child of a parent element. Note - doesn't check for deprecated elements

parent:HTML parent element
elt:HTML element
Returns:1 if allowed; 0 otherwise.

Function: htmlElementStatusHere

htmlStatus	htmlElementStatusHere	(const htmlElemDesc * parent, 
const htmlElemDesc * elt)

Checks whether an HTML element may be a direct child of a parent element. and if so whether it is valid or deprecated.

parent:HTML parent element
elt:HTML element
Returns:one of HTML_VALID, HTML_DEPRECATED, HTML_INVALID

Function: htmlEncodeEntities

int	htmlEncodeEntities		(unsigned char * out, 
int * outlen,
const unsigned char * in,
int * inlen,
int quoteChar)

Take a block of UTF-8 chars in and try to convert it to an ASCII plus HTML entities block of chars out.

-
out:a pointer to an array of bytes to store the result
outlen:the length of @out
in:a pointer to an array of UTF-8 chars
inlen:the length of @in
quoteChar:the quote character to escape (' or ") or zero.
Returns:0 if success, -2 if the transcoding fails, or -1 otherwise The value of @inlen after return is the number of octets consumed as the return value is positive, else unpredictable. The value of @outlen after return is the number of octets consumed.

Function: htmlEntityLookup

const htmlEntityDesc *	htmlEntityLookup	(const xmlChar * name)
+
out:a pointer to an array of bytes to store the result
outlen:the length of @out
in:a pointer to an array of UTF-8 chars
inlen:the length of @in
quoteChar:the quote character to escape (' or ") or zero.
Returns:0 if success, -2 if the transcoding fails, or -1 otherwise The value of @inlen after return is the number of octets consumed as the return value is positive, else unpredictable. The value of @outlen after return is the number of octets consumed.

Function: htmlEntityLookup

const htmlEntityDesc *	htmlEntityLookup	(const xmlChar * name)

Lookup the given entity in EntitiesTable TODO: the linear scan is really ugly, an hash table is really needed.

name:the entity name
Returns:the associated htmlEntityDescPtr if found, NULL otherwise.

Function: htmlEntityValueLookup

const htmlEntityDesc *	htmlEntityValueLookup	(unsigned int value)

Lookup the given entity in EntitiesTable TODO: the linear scan is really ugly, an hash table is really needed.

@@ -139,7 +139,7 @@ A:link, A:visited, A:active { text-decoration: underline }

Set and return the previous value for handling HTML omitted tags.

val:int 0 or 1
Returns:the last value for 0 for no handling, 1 for auto insertion.

Function: htmlIsAutoClosed

int	htmlIsAutoClosed		(htmlDocPtr doc, 
htmlNodePtr elem)

The HTML DTD allows a tag to implicitly close other tags. The list is kept in htmlStartClose array. This function checks if a tag is autoclosed by one of it's child

-
doc:the HTML document
elem:the HTML element
Returns:1 if autoclosed, 0 otherwise

Function: htmlIsScriptAttribute

int	htmlIsScriptAttribute		(const xmlChar * name)
+
doc:the HTML document
elem:the HTML element
Returns:1 if autoclosed, 0 otherwise

Function: htmlIsScriptAttribute

int	htmlIsScriptAttribute		(const xmlChar * name)

Check if an attribute is of content type Script

name:an attribute name
Returns:1 is the attribute is a script 0 otherwise

Function: htmlNodeStatus

htmlStatus	htmlNodeStatus		(const htmlNodePtr node, 
int legacy)

Checks whether the tree node is valid. Experimental (the author only uses the HTML enhancements in a SAX parser)

@@ -147,17 +147,17 @@ A:link, A:visited, A:active { text-decoration: underline }

parse Reference declarations [66] CharRef ::= '&#' [0-9]+ ';' | '&#x' [0-9a-fA-F]+ ';'

ctxt:an HTML parser context
Returns:the value parsed (as an int)

Function: htmlParseChunk

int	htmlParseChunk			(htmlParserCtxtPtr ctxt, 
const char * chunk,
int size,
int terminate)

Parse a Chunk of memory

-
ctxt:an HTML parser context
chunk:an char array
size:the size in byte of the chunk
terminate:last chunk indicator
Returns:zero if no error, the xmlParserErrors otherwise.

Function: htmlParseDoc

htmlDocPtr	htmlParseDoc		(xmlChar * cur, 
const char * encoding)
+
ctxt:an HTML parser context
chunk:an char array
size:the size in byte of the chunk
terminate:last chunk indicator
Returns:zero if no error, the xmlParserErrors otherwise.

Function: htmlParseDoc

htmlDocPtr	htmlParseDoc		(xmlChar * cur, 
const char * encoding)

parse an HTML in-memory document and build a tree.

-
cur:a pointer to an array of xmlChar
encoding:a free form C string describing the HTML document encoding, or NULL
Returns:the resulting document tree

Function: htmlParseDocument

int	htmlParseDocument		(htmlParserCtxtPtr ctxt)
+
cur:a pointer to an array of xmlChar
encoding:a free form C string describing the HTML document encoding, or NULL
Returns:the resulting document tree

Function: htmlParseDocument

int	htmlParseDocument		(htmlParserCtxtPtr ctxt)

parse an HTML document (and build a tree if using the standard SAX interface).

ctxt:an HTML parser context
Returns:0, -1 in case of error. the parser context is augmented as a result of the parsing.

Function: htmlParseElement

void	htmlParseElement		(htmlParserCtxtPtr ctxt)

parse an HTML element, this is highly recursive [39] element ::= EmptyElemTag | STag content ETag [41] Attribute ::= Name Eq AttValue

-
ctxt:an HTML parser context

Function: htmlParseEntityRef

const htmlEntityDesc *	htmlParseEntityRef	(htmlParserCtxtPtr ctxt, 
const xmlChar ** str)
+
ctxt:an HTML parser context

Function: htmlParseEntityRef

const htmlEntityDesc *	htmlParseEntityRef	(htmlParserCtxtPtr ctxt, 
const xmlChar ** str)

parse an HTML ENTITY references [68] EntityRef ::= '&' Name ';'

ctxt:an HTML parser context
str:location to store the entity name
Returns:the associated htmlEntityDescPtr if found, or NULL otherwise, if non-NULL *str will have to be freed by the caller.

Function: htmlParseFile

htmlDocPtr	htmlParseFile		(const char * filename, 
const char * encoding)

parse an HTML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.

-
filename:the filename
encoding:a free form C string describing the HTML document encoding, or NULL
Returns:the resulting document tree

Function: htmlReadDoc

htmlDocPtr	htmlReadDoc		(const xmlChar * cur, 
const char * URL,
const char * encoding,
int options)
+
filename:the filename
encoding:a free form C string describing the HTML document encoding, or NULL
Returns:the resulting document tree

Function: htmlReadDoc

htmlDocPtr	htmlReadDoc		(const xmlChar * cur, 
const char * URL,
const char * encoding,
int options)

parse an XML in-memory document and build a tree.

cur:a pointer to a zero terminated string
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of htmlParserOption(s)
Returns:the resulting document tree

Function: htmlReadFd

htmlDocPtr	htmlReadFd		(int fd, 
const char * URL,
const char * encoding,
int options)

parse an XML from a file descriptor and build a tree.

@@ -167,10 +167,10 @@ A:link, A:visited, A:active { text-decoration: underline }

parse an HTML document from I/O functions and source and build a tree.

ioread:an I/O read function
ioclose:an I/O close function
ioctx:an I/O handler
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of htmlParserOption(s)
Returns:the resulting document tree

Function: htmlReadMemory

htmlDocPtr	htmlReadMemory		(const char * buffer, 
int size,
const char * URL,
const char * encoding,
int options)

parse an XML in-memory document and build a tree.

-
buffer:a pointer to a char array
size:the size of the array
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of htmlParserOption(s)
Returns:the resulting document tree

Function: htmlSAXParseDoc

htmlDocPtr	htmlSAXParseDoc		(xmlChar * cur, 
const char * encoding,
htmlSAXHandlerPtr sax,
void * userData)
+
buffer:a pointer to a char array
size:the size of the array
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of htmlParserOption(s)
Returns:the resulting document tree

Function: htmlSAXParseDoc

htmlDocPtr	htmlSAXParseDoc		(xmlChar * cur, 
const char * encoding,
htmlSAXHandlerPtr sax,
void * userData)

Parse an HTML in-memory document. If sax is not NULL, use the SAX callbacks to handle parse events. If sax is NULL, fallback to the default DOM behavior and return a tree.

-
cur:a pointer to an array of xmlChar
encoding:a free form C string describing the HTML document encoding, or NULL
sax:the SAX handler block
userData:if using SAX, this pointer will be provided on callbacks.
Returns:the resulting document tree unless SAX is NULL or the document is not well formed.

Function: htmlSAXParseFile

htmlDocPtr	htmlSAXParseFile	(const char * filename, 
const char * encoding,
htmlSAXHandlerPtr sax,
void * userData)
+
cur:a pointer to an array of xmlChar
encoding:a free form C string describing the HTML document encoding, or NULL
sax:the SAX handler block
userData:if using SAX, this pointer will be provided on callbacks.
Returns:the resulting document tree unless SAX is NULL or the document is not well formed.

Function: htmlSAXParseFile

htmlDocPtr	htmlSAXParseFile	(const char * filename, 
const char * encoding,
htmlSAXHandlerPtr sax,
void * userData)

parse an HTML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.

-
filename:the filename
encoding:a free form C string describing the HTML document encoding, or NULL
sax:the SAX handler block
userData:if using SAX, this pointer will be provided on callbacks.
Returns:the resulting document tree unless SAX is NULL or the document is not well formed.

Function: htmlTagLookup

const htmlElemDesc *	htmlTagLookup	(const xmlChar * tag)
+
filename:the filename
encoding:a free form C string describing the HTML document encoding, or NULL
sax:the SAX handler block
userData:if using SAX, this pointer will be provided on callbacks.
Returns:the resulting document tree unless SAX is NULL or the document is not well formed.

Function: htmlTagLookup

const htmlElemDesc *	htmlTagLookup	(const xmlChar * tag)

Lookup the HTML tag in the ElementTable

tag:The tag name in lowercase
Returns:the related htmlElemDescPtr or NULL if not found.

Daniel Veillard

diff --git a/doc/html/libxml-HTMLtree.html b/doc/html/libxml-HTMLtree.html index ea209eca..36e2be6c 100644 --- a/doc/html/libxml-HTMLtree.html +++ b/doc/html/libxml-HTMLtree.html @@ -13,11 +13,11 @@ A:link, A:visited, A:active { text-decoration: underline } Module HTMLtree from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module HTMLtree from libxml2

API Menu
API Indexes
Related links

this module implements a few function needed to process tree in an HTML specific way.

Table of Contents

#define HTML_COMMENT_NODE
#define HTML_ENTITY_REF_NODE
#define HTML_PI_NODE
#define HTML_PRESERVE_NODE
#define HTML_TEXT_NODE
void	htmlDocContentDumpFormatOutput	(xmlOutputBufferPtr buf, 
xmlDocPtr cur,
const char * encoding,
int format)
void	htmlDocContentDumpOutput	(xmlOutputBufferPtr buf, 
xmlDocPtr cur,
const char * encoding)
int	htmlDocDump			(FILE * f, 
xmlDocPtr cur)
-
void	htmlDocDumpMemory		(xmlDocPtr cur, 
xmlChar ** mem,
int * size)
-
const xmlChar *	htmlGetMetaEncoding	(htmlDocPtr doc)
-
int	htmlIsBooleanAttr		(const xmlChar * name)
-
htmlDocPtr	htmlNewDoc		(const xmlChar * URI, 
const xmlChar * ExternalID)
-
htmlDocPtr	htmlNewDocNoDtD		(const xmlChar * URI, 
const xmlChar * ExternalID)
+
void	htmlDocDumpMemory		(xmlDocPtr cur, 
xmlChar ** mem,
int * size)
+
const xmlChar *	htmlGetMetaEncoding	(htmlDocPtr doc)
+
int	htmlIsBooleanAttr		(const xmlChar * name)
+
htmlDocPtr	htmlNewDoc		(const xmlChar * URI, 
const xmlChar * ExternalID)
+
htmlDocPtr	htmlNewDocNoDtD		(const xmlChar * URI, 
const xmlChar * ExternalID)
int	htmlNodeDump			(xmlBufferPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur)
void	htmlNodeDumpFile		(FILE * out, 
xmlDocPtr doc,
xmlNodePtr cur)
int	htmlNodeDumpFileFormat		(FILE * out, 
xmlDocPtr doc,
xmlNodePtr cur,
const char * encoding,
int format)
@@ -26,7 +26,7 @@ A:link, A:visited, A:active { text-decoration: underline }
int	htmlSaveFile			(const char * filename, 
xmlDocPtr cur)
int	htmlSaveFileEnc			(const char * filename, 
xmlDocPtr cur,
const char * encoding)
int	htmlSaveFileFormat		(const char * filename, 
xmlDocPtr cur,
const char * encoding,
int format)
-
int	htmlSetMetaEncoding		(htmlDocPtr doc, 
const xmlChar * encoding)
+
int	htmlSetMetaEncoding		(htmlDocPtr doc, 
const xmlChar * encoding)

Description

Macro: HTML_COMMENT_NODE

#define HTML_COMMENT_NODE

Macro. A comment in a HTML document is really implemented the same way as a comment in an XML document.

Macro: HTML_ENTITY_REF_NODE

#define HTML_ENTITY_REF_NODE

Macro. An entity reference in a HTML document is really implemented the same way as an entity reference in an XML document.

@@ -39,15 +39,15 @@ A:link, A:visited, A:active { text-decoration: underline }

Dump an HTML document. Formating return/spaces are added.

buf:the HTML buffer output
cur:the document
encoding:the encoding string

Function: htmlDocDump

int	htmlDocDump			(FILE * f, 
xmlDocPtr cur)

Dump an HTML document to an open FILE.

-
f:the FILE*
cur:the document
Returns:the number of byte written or -1 in case of failure.

Function: htmlDocDumpMemory

void	htmlDocDumpMemory		(xmlDocPtr cur, 
xmlChar ** mem,
int * size)
-

Dump an HTML document in memory and return the xmlChar * and it's size. It's up to the caller to free the memory.

-
cur:the document
mem:OUT: the memory pointer
size:OUT: the memory length

Function: htmlGetMetaEncoding

const xmlChar *	htmlGetMetaEncoding	(htmlDocPtr doc)
+
f:the FILE*
cur:the document
Returns:the number of byte written or -1 in case of failure.

Function: htmlDocDumpMemory

void	htmlDocDumpMemory		(xmlDocPtr cur, 
xmlChar ** mem,
int * size)
+

Dump an HTML document in memory and return the xmlChar * and it's size. It's up to the caller to free the memory.

+
cur:the document
mem:OUT: the memory pointer
size:OUT: the memory length

Function: htmlGetMetaEncoding

const xmlChar *	htmlGetMetaEncoding	(htmlDocPtr doc)

Encoding definition lookup in the Meta tags

-
doc:the document
Returns:the current encoding as flagged in the HTML source

Function: htmlIsBooleanAttr

int	htmlIsBooleanAttr		(const xmlChar * name)
+
doc:the document
Returns:the current encoding as flagged in the HTML source

Function: htmlIsBooleanAttr

int	htmlIsBooleanAttr		(const xmlChar * name)

Determine if a given attribute is a boolean attribute.

-
name:the name of the attribute to check
Returns:false if the attribute is not boolean, true otherwise.

Function: htmlNewDoc

htmlDocPtr	htmlNewDoc		(const xmlChar * URI, 
const xmlChar * ExternalID)
+
name:the name of the attribute to check
Returns:false if the attribute is not boolean, true otherwise.

Function: htmlNewDoc

htmlDocPtr	htmlNewDoc		(const xmlChar * URI, 
const xmlChar * ExternalID)

Creates a new HTML document

-
URI:URI for the dtd, or NULL
ExternalID:the external ID of the DTD, or NULL
Returns:a new document

Function: htmlNewDocNoDtD

htmlDocPtr	htmlNewDocNoDtD		(const xmlChar * URI, 
const xmlChar * ExternalID)
+
URI:URI for the dtd, or NULL
ExternalID:the external ID of the DTD, or NULL
Returns:a new document

Function: htmlNewDocNoDtD

htmlDocPtr	htmlNewDocNoDtD		(const xmlChar * URI, 
const xmlChar * ExternalID)

Creates a new HTML document without a DTD node if @URI and @ExternalID are NULL

URI:URI for the dtd, or NULL
ExternalID:the external ID of the DTD, or NULL
Returns:a new document, do not initialize the DTD if not provided

Function: htmlNodeDump

int	htmlNodeDump			(xmlBufferPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur)

Dump an HTML node, recursive behaviour,children are printed too, and formatting returns are added.

@@ -60,11 +60,11 @@ A:link, A:visited, A:active { text-decoration: underline }
buf:the HTML buffer output
doc:the document
cur:the current node
encoding:the encoding string
format:should formatting spaces been added

Function: htmlNodeDumpOutput

void	htmlNodeDumpOutput		(xmlOutputBufferPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur,
const char * encoding)

Dump an HTML node, recursive behaviour,children are printed too, and formatting returns/spaces are added.

buf:the HTML buffer output
doc:the document
cur:the current node
encoding:the encoding string

Function: htmlSaveFile

int	htmlSaveFile			(const char * filename, 
xmlDocPtr cur)
-

Dump an HTML document to a file. If @filename is "-" the stdout file is used.

+

Dump an HTML document to a file. If @filename is "-" the stdout file is used.

filename:the filename (or URL)
cur:the document
Returns:the number of byte written or -1 in case of failure.

Function: htmlSaveFileEnc

int	htmlSaveFileEnc			(const char * filename, 
xmlDocPtr cur,
const char * encoding)

Dump an HTML document to a file using a given encoding and formatting returns/spaces are added.

filename:the filename
cur:the document
encoding:the document encoding
Returns:the number of byte written or -1 in case of failure.

Function: htmlSaveFileFormat

int	htmlSaveFileFormat		(const char * filename, 
xmlDocPtr cur,
const char * encoding,
int format)

Dump an HTML document to a file using a given encoding.

-
filename:the filename
cur:the document
encoding:the document encoding
format:should formatting spaces been added
Returns:the number of byte written or -1 in case of failure.

Function: htmlSetMetaEncoding

int	htmlSetMetaEncoding		(htmlDocPtr doc, 
const xmlChar * encoding)
+
filename:the filename
cur:the document
encoding:the document encoding
format:should formatting spaces been added
Returns:the number of byte written or -1 in case of failure.

Function: htmlSetMetaEncoding

int	htmlSetMetaEncoding		(htmlDocPtr doc, 
const xmlChar * encoding)

Sets the current encoding in the Meta tags NOTE: this will not change the document content encoding, just the META flag associated.

doc:the document
encoding:the encoding string
Returns:0 in case of success and -1 in case of error

Daniel Veillard

diff --git a/doc/html/libxml-SAX.html b/doc/html/libxml-SAX.html index 6e912aa8..43fcd8dd 100644 --- a/doc/html/libxml-SAX.html +++ b/doc/html/libxml-SAX.html @@ -10,61 +10,61 @@ A:link, A:visited, A:active { text-decoration: underline } Module SAX from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module SAX from libxml2

API Menu
API Indexes
Related links

This module is deprecated

DEPRECATED set of SAX version 1 interfaces used to build the DOM tree.

Table of Contents

void	cdataBlock			(void * ctx, 
const xmlChar * value,
int len)
-
void	comment			(void * ctx, 
const xmlChar * value)
-
int	checkNamespace			(void * ctx, 
xmlChar * namespace)
-
void	startElement			(void * ctx, 
const xmlChar * fullname,
const xmlChar ** atts)
+ Module SAX from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module SAX from libxml2

API Menu
API Indexes
Related links

This module is deprecated

DEPRECATED set of SAX version 1 interfaces used to build the DOM tree.

Table of Contents

void	cdataBlock			(void * ctx, 
const xmlChar * value,
int len)
+
void	comment			(void * ctx, 
const xmlChar * value)
+
int	checkNamespace			(void * ctx, 
xmlChar * namespace)
+
void	startElement			(void * ctx, 
const xmlChar * fullname,
const xmlChar ** atts)
void	inithtmlDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr)
int	getColumnNumber			(void * ctx)
-
void	endElement			(void * ctx, 
const xmlChar * name)
-
void	attribute			(void * ctx, 
const xmlChar * fullname,
const xmlChar * value)
-
void	namespaceDecl			(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
+
void	endElement			(void * ctx, 
const xmlChar * name)
+
void	attribute			(void * ctx, 
const xmlChar * fullname,
const xmlChar * value)
+
void	namespaceDecl			(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
xmlNsPtr	getNamespace		(void * ctx)
void	initdocbDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr)
void	setDocumentLocator		(void * ctx, 
xmlSAXLocatorPtr loc)
-
const xmlChar *	getPublicId		(void * ctx)
-
xmlEntityPtr	getEntity		(void * ctx, 
const xmlChar * name)
-
void	characters			(void * ctx, 
const xmlChar * ch,
int len)
-
void	elementDecl			(void * ctx, 
const xmlChar * name,
int type,
xmlElementContentPtr content)
-
void	ignorableWhitespace		(void * ctx, 
const xmlChar * ch,
int len)
+
const xmlChar *	getPublicId		(void * ctx)
+
xmlEntityPtr	getEntity		(void * ctx, 
const xmlChar * name)
+
void	characters			(void * ctx, 
const xmlChar * ch,
int len)
+
void	elementDecl			(void * ctx, 
const xmlChar * name,
int type,
xmlElementContentPtr content)
+
void	ignorableWhitespace		(void * ctx, 
const xmlChar * ch,
int len)
int	hasExternalSubset		(void * ctx)
int	isStandalone			(void * ctx)
-
void	unparsedEntityDecl		(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName)
-
void	reference			(void * ctx, 
const xmlChar * name)
-
void	globalNamespace			(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
+
void	unparsedEntityDecl		(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName)
+
void	reference			(void * ctx, 
const xmlChar * name)
+
void	globalNamespace			(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
void	initxmlDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr, 
int warning)
int	hasInternalSubset		(void * ctx)
-
void	processingInstruction		(void * ctx, 
const xmlChar * target,
const xmlChar * data)
-
xmlEntityPtr	getParameterEntity	(void * ctx, 
const xmlChar * name)
-
void	attributeDecl			(void * ctx, 
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)
-
void	notationDecl			(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId)
-
void	entityDecl			(void * ctx, 
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content)
-
void	setNamespace			(void * ctx, 
const xmlChar * name)
-
void	externalSubset			(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
-
xmlParserInputPtr	resolveEntity	(void * ctx, 
const xmlChar * publicId,
const xmlChar * systemId)
-
const xmlChar *	getSystemId		(void * ctx)
+
void	processingInstruction		(void * ctx, 
const xmlChar * target,
const xmlChar * data)
+
xmlEntityPtr	getParameterEntity	(void * ctx, 
const xmlChar * name)
+
void	attributeDecl			(void * ctx, 
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)
+
void	notationDecl			(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId)
+
void	entityDecl			(void * ctx, 
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content)
+
void	setNamespace			(void * ctx, 
const xmlChar * name)
+
void	externalSubset			(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
xmlParserInputPtr	resolveEntity	(void * ctx, 
const xmlChar * publicId,
const xmlChar * systemId)
+
const xmlChar *	getSystemId		(void * ctx)
void	startDocument			(void * ctx)
-
void	internalSubset			(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
void	internalSubset			(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
void	endDocument			(void * ctx)
int	getLineNumber			(void * ctx)

Description

-

Function: cdataBlock

void	cdataBlock			(void * ctx, 
const xmlChar * value,
int len)
+

Function: cdataBlock

void	cdataBlock			(void * ctx, 
const xmlChar * value,
int len)

called when a pcdata block has been parsed DEPRECATED: use xmlSAX2CDataBlock()

-
ctx:the user data (XML parser context)
value:The pcdata content
len:the block length

Function: comment

void	comment			(void * ctx, 
const xmlChar * value)
+
ctx:the user data (XML parser context)
value:The pcdata content
len:the block length

Function: comment

void	comment			(void * ctx, 
const xmlChar * value)

A comment has been parsed. DEPRECATED: use xmlSAX2Comment()

-
ctx:the user data (XML parser context)
value:the comment content

Function: checkNamespace

int	checkNamespace			(void * ctx, 
xmlChar * namespace)
+
ctx:the user data (XML parser context)
value:the comment content

Function: checkNamespace

int	checkNamespace			(void * ctx, 
xmlChar * namespace)

Check that the current element namespace is the same as the one read upon parsing. DEPRECATED

-
ctx:the user data (XML parser context)
namespace:the namespace to check against
Returns:1 if true 0 otherwise

Function: startElement

void	startElement			(void * ctx, 
const xmlChar * fullname,
const xmlChar ** atts)
+
ctx:the user data (XML parser context)
namespace:the namespace to check against
Returns:1 if true 0 otherwise

Function: startElement

void	startElement			(void * ctx, 
const xmlChar * fullname,
const xmlChar ** atts)

called when an opening tag has been processed. DEPRECATED: use xmlSAX2StartElement()

ctx:the user data (XML parser context)
fullname:The element name, including namespace prefix
atts:An array of name/value attributes pairs, NULL terminated

Function: inithtmlDefaultSAXHandler

void	inithtmlDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr)

Initialize the default HTML SAX version 1 handler DEPRECATED: use xmlSAX2InitHtmlDefaultSAXHandler() for the new SAX2 blocks

hdlr:the SAX handler

Function: getColumnNumber

int	getColumnNumber			(void * ctx)

Provide the column number of the current parsing point. DEPRECATED: use xmlSAX2GetColumnNumber()

-
ctx:the user data (XML parser context)
Returns:an int

Function: endElement

void	endElement			(void * ctx, 
const xmlChar * name)
+
ctx:the user data (XML parser context)
Returns:an int

Function: endElement

void	endElement			(void * ctx, 
const xmlChar * name)

called when the end of an element has been detected. DEPRECATED: use xmlSAX2EndElement()

-
ctx:the user data (XML parser context)
name:The element name

Function: attribute

void	attribute			(void * ctx, 
const xmlChar * fullname,
const xmlChar * value)
+
ctx:the user data (XML parser context)
name:The element name

Function: attribute

void	attribute			(void * ctx, 
const xmlChar * fullname,
const xmlChar * value)

Handle an attribute that has been read by the parser. The default handling is to convert the attribute into an DOM subtree and past it in a new xmlAttr element added to the element. DEPRECATED: use xmlSAX2Attribute()

-
ctx:the user data (XML parser context)
fullname:The attribute name, including namespace prefix
value:The attribute value

Function: namespaceDecl

void	namespaceDecl			(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
+
ctx:the user data (XML parser context)
fullname:The attribute name, including namespace prefix
value:The attribute value

Function: namespaceDecl

void	namespaceDecl			(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)

A namespace has been parsed. DEPRECATED

ctx:the user data (XML parser context)
href:the namespace associated URN
prefix:the namespace prefix

Function: getNamespace

xmlNsPtr	getNamespace		(void * ctx)

Get the current element namespace. DEPRECATED

@@ -72,51 +72,51 @@ A:link, A:visited, A:active { text-decoration: underline }

Initialize the default DocBook SAX version 1 handler DEPRECATED: use xmlSAX2InitDocbDefaultSAXHandler() for the new SAX2 blocks

hdlr:the SAX handler

Function: setDocumentLocator

void	setDocumentLocator		(void * ctx, 
xmlSAXLocatorPtr loc)

Receive the document locator at startup, actually xmlDefaultSAXLocator Everything is available on the context, so this is useless in our case. DEPRECATED

-
ctx:the user data (XML parser context)
loc:A SAX Locator

Function: getPublicId

const xmlChar *	getPublicId		(void * ctx)
-

Provides the public ID e.g. "-//SGMLSOURCE//DTD DEMO//EN" DEPRECATED: use xmlSAX2GetPublicId()

-
ctx:the user data (XML parser context)
Returns:a xmlChar *

Function: getEntity

xmlEntityPtr	getEntity		(void * ctx, 
const xmlChar * name)
+
ctx:the user data (XML parser context)
loc:A SAX Locator

Function: getPublicId

const xmlChar *	getPublicId		(void * ctx)
+

Provides the public ID e.g. "-//SGMLSOURCE//DTD DEMO//EN" DEPRECATED: use xmlSAX2GetPublicId()

+
ctx:the user data (XML parser context)
Returns:a xmlChar *

Function: getEntity

xmlEntityPtr	getEntity		(void * ctx, 
const xmlChar * name)

Get an entity by name DEPRECATED: use xmlSAX2GetEntity()

-
ctx:the user data (XML parser context)
name:The entity name
Returns:the xmlEntityPtr if found.

Function: characters

void	characters			(void * ctx, 
const xmlChar * ch,
int len)
+
ctx:the user data (XML parser context)
name:The entity name
Returns:the xmlEntityPtr if found.

Function: characters

void	characters			(void * ctx, 
const xmlChar * ch,
int len)

receiving some chars from the parser. DEPRECATED: use xmlSAX2Characters()

-
ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar

Function: elementDecl

void	elementDecl			(void * ctx, 
const xmlChar * name,
int type,
xmlElementContentPtr content)
+
ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar

Function: elementDecl

void	elementDecl			(void * ctx, 
const xmlChar * name,
int type,
xmlElementContentPtr content)

An element definition has been parsed DEPRECATED: use xmlSAX2ElementDecl()

-
ctx:the user data (XML parser context)
name:the element name
type:the element type
content:the element value tree

Function: ignorableWhitespace

void	ignorableWhitespace		(void * ctx, 
const xmlChar * ch,
int len)
+
ctx:the user data (XML parser context)
name:the element name
type:the element type
content:the element value tree

Function: ignorableWhitespace

void	ignorableWhitespace		(void * ctx, 
const xmlChar * ch,
int len)

receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use characters DEPRECATED: use xmlSAX2IgnorableWhitespace()

-
ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar

Function: hasExternalSubset

int	hasExternalSubset		(void * ctx)
+
ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar

Function: hasExternalSubset

int	hasExternalSubset		(void * ctx)

Does this document has an external subset DEPRECATED: use xmlSAX2HasExternalSubset()

ctx:the user data (XML parser context)
Returns:1 if true

Function: isStandalone

int	isStandalone			(void * ctx)

Is this document tagged standalone ? DEPRECATED: use xmlSAX2IsStandalone()

-
ctx:the user data (XML parser context)
Returns:1 if true

Function: unparsedEntityDecl

void	unparsedEntityDecl		(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName)
+
ctx:the user data (XML parser context)
Returns:1 if true

Function: unparsedEntityDecl

void	unparsedEntityDecl		(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName)

What to do when an unparsed entity declaration is parsed DEPRECATED: use xmlSAX2UnparsedEntityDecl()

-
ctx:the user data (XML parser context)
name:The name of the entity
publicId:The public ID of the entity
systemId:The system ID of the entity
notationName:the name of the notation

Function: reference

void	reference			(void * ctx, 
const xmlChar * name)
+
ctx:the user data (XML parser context)
name:The name of the entity
publicId:The public ID of the entity
systemId:The system ID of the entity
notationName:the name of the notation

Function: reference

void	reference			(void * ctx, 
const xmlChar * name)

called when an entity reference is detected. DEPRECATED: use xmlSAX2Reference()

-
ctx:the user data (XML parser context)
name:The entity name

Function: globalNamespace

void	globalNamespace			(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
+
ctx:the user data (XML parser context)
name:The entity name

Function: globalNamespace

void	globalNamespace			(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)

An old global namespace has been parsed. DEPRECATED

ctx:the user data (XML parser context)
href:the namespace associated URN
prefix:the namespace prefix

Function: initxmlDefaultSAXHandler

void	initxmlDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr, 
int warning)

Initialize the default XML SAX version 1 handler DEPRECATED: use xmlSAX2InitDefaultSAXHandler() for the new SAX2 blocks

hdlr:the SAX handler
warning:flag if non-zero sets the handler warning procedure

Function: hasInternalSubset

int	hasInternalSubset		(void * ctx)

Does this document has an internal subset DEPRECATED: use xmlSAX2HasInternalSubset()

-
ctx:the user data (XML parser context)
Returns:1 if true

Function: processingInstruction

void	processingInstruction		(void * ctx, 
const xmlChar * target,
const xmlChar * data)
+
ctx:the user data (XML parser context)
Returns:1 if true

Function: processingInstruction

void	processingInstruction		(void * ctx, 
const xmlChar * target,
const xmlChar * data)

A processing instruction has been parsed. DEPRECATED: use xmlSAX2ProcessingInstruction()

-
ctx:the user data (XML parser context)
target:the target name
data:the PI data's

Function: getParameterEntity

xmlEntityPtr	getParameterEntity	(void * ctx, 
const xmlChar * name)
+
ctx:the user data (XML parser context)
target:the target name
data:the PI data's

Function: getParameterEntity

xmlEntityPtr	getParameterEntity	(void * ctx, 
const xmlChar * name)

Get a parameter entity by name DEPRECATED: use xmlSAX2GetParameterEntity()

-
ctx:the user data (XML parser context)
name:The entity name
Returns:the xmlEntityPtr if found.

Function: attributeDecl

void	attributeDecl			(void * ctx, 
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)
+
ctx:the user data (XML parser context)
name:The entity name
Returns:the xmlEntityPtr if found.

Function: attributeDecl

void	attributeDecl			(void * ctx, 
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)

An attribute definition has been parsed DEPRECATED: use xmlSAX2AttributeDecl()

-
ctx:the user data (XML parser context)
elem:the name of the element
fullname:the attribute name
type:the attribute type
def:the type of default value
defaultValue:the attribute default value
tree:the tree of enumerated value set

Function: notationDecl

void	notationDecl			(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId)
+
ctx:the user data (XML parser context)
elem:the name of the element
fullname:the attribute name
type:the attribute type
def:the type of default value
defaultValue:the attribute default value
tree:the tree of enumerated value set

Function: notationDecl

void	notationDecl			(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId)

What to do when a notation declaration has been parsed. DEPRECATED: use xmlSAX2NotationDecl()

-
ctx:the user data (XML parser context)
name:The name of the notation
publicId:The public ID of the entity
systemId:The system ID of the entity

Function: entityDecl

void	entityDecl			(void * ctx, 
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content)
+
ctx:the user data (XML parser context)
name:The name of the notation
publicId:The public ID of the entity
systemId:The system ID of the entity

Function: entityDecl

void	entityDecl			(void * ctx, 
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content)

An entity definition has been parsed DEPRECATED: use xmlSAX2EntityDecl()

-
ctx:the user data (XML parser context)
name:the entity name
type:the entity type
publicId:The public ID of the entity
systemId:The system ID of the entity
content:the entity value (without processing).

Function: setNamespace

void	setNamespace			(void * ctx, 
const xmlChar * name)
+
ctx:the user data (XML parser context)
name:the entity name
type:the entity type
publicId:The public ID of the entity
systemId:The system ID of the entity
content:the entity value (without processing).

Function: setNamespace

void	setNamespace			(void * ctx, 
const xmlChar * name)

Set the current element namespace. DEPRECATED

-
ctx:the user data (XML parser context)
name:the namespace prefix

Function: externalSubset

void	externalSubset			(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
ctx:the user data (XML parser context)
name:the namespace prefix

Function: externalSubset

void	externalSubset			(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)

Callback on external subset declaration. DEPRECATED: use xmlSAX2ExternalSubset()

-
ctx:the user data (XML parser context)
name:the root element name
ExternalID:the external ID
SystemID:the SYSTEM ID (e.g. filename or URL)

Function: resolveEntity

xmlParserInputPtr	resolveEntity	(void * ctx, 
const xmlChar * publicId,
const xmlChar * systemId)
+
ctx:the user data (XML parser context)
name:the root element name
ExternalID:the external ID
SystemID:the SYSTEM ID (e.g. filename or URL)

Function: resolveEntity

xmlParserInputPtr	resolveEntity	(void * ctx, 
const xmlChar * publicId,
const xmlChar * systemId)

The entity loader, to control the loading of external entities, the application can either: - override this resolveEntity() callback in the SAX block - or better use the xmlSetExternalEntityLoader() function to set up it's own entity resolution routine DEPRECATED: use xmlSAX2ResolveEntity()

-
ctx:the user data (XML parser context)
publicId:The public ID of the entity
systemId:The system ID of the entity
Returns:the xmlParserInputPtr if inlined or NULL for DOM behaviour.

Function: getSystemId

const xmlChar *	getSystemId		(void * ctx)
+
ctx:the user data (XML parser context)
publicId:The public ID of the entity
systemId:The system ID of the entity
Returns:the xmlParserInputPtr if inlined or NULL for DOM behaviour.

Function: getSystemId

const xmlChar *	getSystemId		(void * ctx)

Provides the system ID, basically URL or filename e.g. http://www.sgmlsource.com/dtds/memo.dtd DEPRECATED: use xmlSAX2GetSystemId()

-
ctx:the user data (XML parser context)
Returns:a xmlChar *

Function: startDocument

void	startDocument			(void * ctx)
+
ctx:the user data (XML parser context)
Returns:a xmlChar *

Function: startDocument

void	startDocument			(void * ctx)

called when the document start being processed. DEPRECATED: use xmlSAX2StartDocument()

-
ctx:the user data (XML parser context)

Function: internalSubset

void	internalSubset			(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
ctx:the user data (XML parser context)

Function: internalSubset

void	internalSubset			(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)

Callback on internal subset declaration. DEPRECATED: use xmlSAX2InternalSubset()

ctx:the user data (XML parser context)
name:the root element name
ExternalID:the external ID
SystemID:the SYSTEM ID (e.g. filename or URL)

Function: endDocument

void	endDocument			(void * ctx)

called when the document end has been detected. DEPRECATED: use xmlSAX2EndDocument()

diff --git a/doc/html/libxml-SAX2.html b/doc/html/libxml-SAX2.html index 12b9f99a..79e240b3 100644 --- a/doc/html/libxml-SAX2.html +++ b/doc/html/libxml-SAX2.html @@ -13,44 +13,44 @@ A:link, A:visited, A:active { text-decoration: underline } Module SAX2 from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module SAX2 from libxml2

API Menu
API Indexes
Related links

those are the default SAX2 interfaces used by the library when building DOM tree.

Table of Contents

void	docbDefaultSAXHandlerInit	(void)
void	htmlDefaultSAXHandlerInit	(void)
void	xmlDefaultSAXHandlerInit	(void)
-
void	xmlSAX2AttributeDecl		(void * ctx, 
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)
-
void	xmlSAX2CDataBlock		(void * ctx, 
const xmlChar * value,
int len)
-
void	xmlSAX2Characters		(void * ctx, 
const xmlChar * ch,
int len)
-
int	xmlSAX2CheckNamespace		(void * ctx, 
xmlChar * nameSpace)
-
void	xmlSAX2Comment			(void * ctx, 
const xmlChar * value)
-
void	xmlSAX2ElementDecl		(void * ctx, 
const xmlChar * name,
int type,
xmlElementContentPtr content)
+
void	xmlSAX2AttributeDecl		(void * ctx, 
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)
+
void	xmlSAX2CDataBlock		(void * ctx, 
const xmlChar * value,
int len)
+
void	xmlSAX2Characters		(void * ctx, 
const xmlChar * ch,
int len)
+
int	xmlSAX2CheckNamespace		(void * ctx, 
xmlChar * nameSpace)
+
void	xmlSAX2Comment			(void * ctx, 
const xmlChar * value)
+
void	xmlSAX2ElementDecl		(void * ctx, 
const xmlChar * name,
int type,
xmlElementContentPtr content)
void	xmlSAX2EndDocument		(void * ctx)
-
void	xmlSAX2EndElement		(void * ctx, 
const xmlChar * name)
-
void	xmlSAX2EndElementNs		(void * ctx, 
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI)
-
void	xmlSAX2EntityDecl		(void * ctx, 
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content)
-
void	xmlSAX2ExternalSubset		(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
void	xmlSAX2EndElement		(void * ctx, 
const xmlChar * name)
+
void	xmlSAX2EndElementNs		(void * ctx, 
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI)
+
void	xmlSAX2EntityDecl		(void * ctx, 
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content)
+
void	xmlSAX2ExternalSubset		(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
int	xmlSAX2GetColumnNumber		(void * ctx)
-
xmlEntityPtr	xmlSAX2GetEntity	(void * ctx, 
const xmlChar * name)
+
xmlEntityPtr	xmlSAX2GetEntity	(void * ctx, 
const xmlChar * name)
int	xmlSAX2GetLineNumber		(void * ctx)
xmlNsPtr	xmlSAX2GetNamespace	(void * ctx)
-
xmlEntityPtr	xmlSAX2GetParameterEntity	(void * ctx, 
const xmlChar * name)
-
const xmlChar *	xmlSAX2GetPublicId	(void * ctx)
-
const xmlChar *	xmlSAX2GetSystemId	(void * ctx)
-
void	xmlSAX2GlobalNamespace		(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
+
xmlEntityPtr	xmlSAX2GetParameterEntity	(void * ctx, 
const xmlChar * name)
+
const xmlChar *	xmlSAX2GetPublicId	(void * ctx)
+
const xmlChar *	xmlSAX2GetSystemId	(void * ctx)
+
void	xmlSAX2GlobalNamespace		(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
int	xmlSAX2HasExternalSubset	(void * ctx)
int	xmlSAX2HasInternalSubset	(void * ctx)
-
void	xmlSAX2IgnorableWhitespace	(void * ctx, 
const xmlChar * ch,
int len)
+
void	xmlSAX2IgnorableWhitespace	(void * ctx, 
const xmlChar * ch,
int len)
void	xmlSAX2InitDefaultSAXHandler	(xmlSAXHandler * hdlr, 
int warning)
void	xmlSAX2InitDocbDefaultSAXHandler	(xmlSAXHandler * hdlr)
void	xmlSAX2InitHtmlDefaultSAXHandler	(xmlSAXHandler * hdlr)
-
void	xmlSAX2InternalSubset		(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
void	xmlSAX2InternalSubset		(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
int	xmlSAX2IsStandalone		(void * ctx)
-
void	xmlSAX2NamespaceDecl		(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
-
void	xmlSAX2NotationDecl		(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId)
-
void	xmlSAX2ProcessingInstruction	(void * ctx, 
const xmlChar * target,
const xmlChar * data)
-
void	xmlSAX2Reference		(void * ctx, 
const xmlChar * name)
-
xmlParserInputPtr	xmlSAX2ResolveEntity	(void * ctx, 
const xmlChar * publicId,
const xmlChar * systemId)
+
void	xmlSAX2NamespaceDecl		(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
+
void	xmlSAX2NotationDecl		(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId)
+
void	xmlSAX2ProcessingInstruction	(void * ctx, 
const xmlChar * target,
const xmlChar * data)
+
void	xmlSAX2Reference		(void * ctx, 
const xmlChar * name)
+
xmlParserInputPtr	xmlSAX2ResolveEntity	(void * ctx, 
const xmlChar * publicId,
const xmlChar * systemId)
void	xmlSAX2SetDocumentLocator	(void * ctx, 
xmlSAXLocatorPtr loc)
-
void	xmlSAX2SetNamespace		(void * ctx, 
const xmlChar * name)
+
void	xmlSAX2SetNamespace		(void * ctx, 
const xmlChar * name)
void	xmlSAX2StartDocument		(void * ctx)
-
void	xmlSAX2StartElement		(void * ctx, 
const xmlChar * fullname,
const xmlChar ** atts)
-
void	xmlSAX2StartElementNs		(void * ctx, 
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI,
int nb_namespaces,
const xmlChar ** namespaces,
int nb_attributes,
int nb_defaulted,
const xmlChar ** attributes)
-
void	xmlSAX2UnparsedEntityDecl	(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName)
+
void	xmlSAX2StartElement		(void * ctx, 
const xmlChar * fullname,
const xmlChar ** atts)
+
void	xmlSAX2StartElementNs		(void * ctx, 
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI,
int nb_namespaces,
const xmlChar ** namespaces,
int nb_attributes,
int nb_defaulted,
const xmlChar ** attributes)
+
void	xmlSAX2UnparsedEntityDecl	(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName)
int	xmlSAXDefaultVersion		(int version)
int	xmlSAXVersion			(xmlSAXHandler * hdlr, 
int version)

Description

@@ -60,81 +60,81 @@ A:link, A:visited, A:active { text-decoration: underline }

Initialize the default SAX handler

Function: xmlDefaultSAXHandlerInit

void	xmlDefaultSAXHandlerInit	(void)

Initialize the default SAX2 handler

-

Function: xmlSAX2AttributeDecl

void	xmlSAX2AttributeDecl		(void * ctx, 
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)
+

Function: xmlSAX2AttributeDecl

void	xmlSAX2AttributeDecl		(void * ctx, 
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)

An attribute definition has been parsed

-
ctx:the user data (XML parser context)
elem:the name of the element
fullname:the attribute name
type:the attribute type
def:the type of default value
defaultValue:the attribute default value
tree:the tree of enumerated value set

Function: xmlSAX2CDataBlock

void	xmlSAX2CDataBlock		(void * ctx, 
const xmlChar * value,
int len)
+
ctx:the user data (XML parser context)
elem:the name of the element
fullname:the attribute name
type:the attribute type
def:the type of default value
defaultValue:the attribute default value
tree:the tree of enumerated value set

Function: xmlSAX2CDataBlock

void	xmlSAX2CDataBlock		(void * ctx, 
const xmlChar * value,
int len)

called when a pcdata block has been parsed

-
ctx:the user data (XML parser context)
value:The pcdata content
len:the block length

Function: xmlSAX2Characters

void	xmlSAX2Characters		(void * ctx, 
const xmlChar * ch,
int len)
+
ctx:the user data (XML parser context)
value:The pcdata content
len:the block length

Function: xmlSAX2Characters

void	xmlSAX2Characters		(void * ctx, 
const xmlChar * ch,
int len)

receiving some chars from the parser.

-
ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar

Function: xmlSAX2CheckNamespace

int	xmlSAX2CheckNamespace		(void * ctx, 
xmlChar * nameSpace)
+
ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar

Function: xmlSAX2CheckNamespace

int	xmlSAX2CheckNamespace		(void * ctx, 
xmlChar * nameSpace)

-
ctx:
nameSpace:
Returns:

Function: xmlSAX2Comment

void	xmlSAX2Comment			(void * ctx, 
const xmlChar * value)
+
ctx:
nameSpace:
Returns:

Function: xmlSAX2Comment

void	xmlSAX2Comment			(void * ctx, 
const xmlChar * value)

A xmlSAX2Comment has been parsed.

-
ctx:the user data (XML parser context)
value:the xmlSAX2Comment content

Function: xmlSAX2ElementDecl

void	xmlSAX2ElementDecl		(void * ctx, 
const xmlChar * name,
int type,
xmlElementContentPtr content)
+
ctx:the user data (XML parser context)
value:the xmlSAX2Comment content

Function: xmlSAX2ElementDecl

void	xmlSAX2ElementDecl		(void * ctx, 
const xmlChar * name,
int type,
xmlElementContentPtr content)

An element definition has been parsed

ctx:the user data (XML parser context)
name:the element name
type:the element type
content:the element value tree

Function: xmlSAX2EndDocument

void	xmlSAX2EndDocument		(void * ctx)

called when the document end has been detected.

-
ctx:the user data (XML parser context)

Function: xmlSAX2EndElement

void	xmlSAX2EndElement		(void * ctx, 
const xmlChar * name)
+
ctx:the user data (XML parser context)

Function: xmlSAX2EndElement

void	xmlSAX2EndElement		(void * ctx, 
const xmlChar * name)

called when the end of an element has been detected.

-
ctx:the user data (XML parser context)
name:The element name

Function: xmlSAX2EndElementNs

void	xmlSAX2EndElementNs		(void * ctx, 
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI)
+
ctx:the user data (XML parser context)
name:The element name

Function: xmlSAX2EndElementNs

void	xmlSAX2EndElementNs		(void * ctx, 
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI)

SAX2 callback when an element end has been detected by the parser. It provides the namespace informations for the element.

-
ctx:the user data (XML parser context)
localname:the local name of the element
prefix:the element namespace prefix if available
URI:the element namespace name if available

Function: xmlSAX2EntityDecl

void	xmlSAX2EntityDecl		(void * ctx, 
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content)
+
ctx:the user data (XML parser context)
localname:the local name of the element
prefix:the element namespace prefix if available
URI:the element namespace name if available

Function: xmlSAX2EntityDecl

void	xmlSAX2EntityDecl		(void * ctx, 
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content)

An entity definition has been parsed

-
ctx:the user data (XML parser context)
name:the entity name
type:the entity type
publicId:The public ID of the entity
systemId:The system ID of the entity
content:the entity value (without processing).

Function: xmlSAX2ExternalSubset

void	xmlSAX2ExternalSubset		(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
ctx:the user data (XML parser context)
name:the entity name
type:the entity type
publicId:The public ID of the entity
systemId:The system ID of the entity
content:the entity value (without processing).

Function: xmlSAX2ExternalSubset

void	xmlSAX2ExternalSubset		(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)

Callback on external subset declaration.

ctx:the user data (XML parser context)
name:the root element name
ExternalID:the external ID
SystemID:the SYSTEM ID (e.g. filename or URL)

Function: xmlSAX2GetColumnNumber

int	xmlSAX2GetColumnNumber		(void * ctx)

Provide the column number of the current parsing point.

-
ctx:the user data (XML parser context)
Returns:an int

Function: xmlSAX2GetEntity

xmlEntityPtr	xmlSAX2GetEntity	(void * ctx, 
const xmlChar * name)
+
ctx:the user data (XML parser context)
Returns:an int

Function: xmlSAX2GetEntity

xmlEntityPtr	xmlSAX2GetEntity	(void * ctx, 
const xmlChar * name)

Get an entity by name

ctx:the user data (XML parser context)
name:The entity name
Returns:the xmlEntityPtr if found.

Function: xmlSAX2GetLineNumber

int	xmlSAX2GetLineNumber		(void * ctx)

Provide the line number of the current parsing point.

ctx:the user data (XML parser context)
Returns:an int

Function: xmlSAX2GetNamespace

xmlNsPtr	xmlSAX2GetNamespace	(void * ctx)

-
ctx:
Returns:

Function: xmlSAX2GetParameterEntity

xmlEntityPtr	xmlSAX2GetParameterEntity	(void * ctx, 
const xmlChar * name)
+
ctx:
Returns:

Function: xmlSAX2GetParameterEntity

xmlEntityPtr	xmlSAX2GetParameterEntity	(void * ctx, 
const xmlChar * name)

Get a parameter entity by name

-
ctx:the user data (XML parser context)
name:The entity name
Returns:the xmlEntityPtr if found.

Function: xmlSAX2GetPublicId

const xmlChar *	xmlSAX2GetPublicId	(void * ctx)
-

Provides the public ID e.g. "-//SGMLSOURCE//DTD DEMO//EN"

-
ctx:the user data (XML parser context)
Returns:a xmlChar *

Function: xmlSAX2GetSystemId

const xmlChar *	xmlSAX2GetSystemId	(void * ctx)
+
ctx:the user data (XML parser context)
name:The entity name
Returns:the xmlEntityPtr if found.

Function: xmlSAX2GetPublicId

const xmlChar *	xmlSAX2GetPublicId	(void * ctx)
+

Provides the public ID e.g. "-//SGMLSOURCE//DTD DEMO//EN"

+
ctx:the user data (XML parser context)
Returns:a xmlChar *

Function: xmlSAX2GetSystemId

const xmlChar *	xmlSAX2GetSystemId	(void * ctx)

Provides the system ID, basically URL or filename e.g. http://www.sgmlsource.com/dtds/memo.dtd

-
ctx:the user data (XML parser context)
Returns:a xmlChar *

Function: xmlSAX2GlobalNamespace

void	xmlSAX2GlobalNamespace		(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
+
ctx:the user data (XML parser context)
Returns:a xmlChar *

Function: xmlSAX2GlobalNamespace

void	xmlSAX2GlobalNamespace		(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)

ctx:
href:
prefix:

Function: xmlSAX2HasExternalSubset

int	xmlSAX2HasExternalSubset	(void * ctx)

Does this document has an external subset

ctx:the user data (XML parser context)
Returns:1 if true

Function: xmlSAX2HasInternalSubset

int	xmlSAX2HasInternalSubset	(void * ctx)

Does this document has an internal subset

-
ctx:the user data (XML parser context)
Returns:1 if true

Function: xmlSAX2IgnorableWhitespace

void	xmlSAX2IgnorableWhitespace	(void * ctx, 
const xmlChar * ch,
int len)
+
ctx:the user data (XML parser context)
Returns:1 if true

Function: xmlSAX2IgnorableWhitespace

void	xmlSAX2IgnorableWhitespace	(void * ctx, 
const xmlChar * ch,
int len)

receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use xmlSAX2Characters

-
ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar

Function: xmlSAX2InitDefaultSAXHandler

void	xmlSAX2InitDefaultSAXHandler	(xmlSAXHandler * hdlr, 
int warning)
+
ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar

Function: xmlSAX2InitDefaultSAXHandler

void	xmlSAX2InitDefaultSAXHandler	(xmlSAXHandler * hdlr, 
int warning)

Initialize the default XML SAX2 handler

hdlr:the SAX handler
warning:flag if non-zero sets the handler warning procedure

Function: xmlSAX2InitDocbDefaultSAXHandler

void	xmlSAX2InitDocbDefaultSAXHandler	(xmlSAXHandler * hdlr)

Initialize the default DocBook SAX2 handler

hdlr:the SAX handler

Function: xmlSAX2InitHtmlDefaultSAXHandler

void	xmlSAX2InitHtmlDefaultSAXHandler	(xmlSAXHandler * hdlr)

Initialize the default HTML SAX2 handler

-
hdlr:the SAX handler

Function: xmlSAX2InternalSubset

void	xmlSAX2InternalSubset		(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
hdlr:the SAX handler

Function: xmlSAX2InternalSubset

void	xmlSAX2InternalSubset		(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)

Callback on internal subset declaration.

ctx:the user data (XML parser context)
name:the root element name
ExternalID:the external ID
SystemID:the SYSTEM ID (e.g. filename or URL)

Function: xmlSAX2IsStandalone

int	xmlSAX2IsStandalone		(void * ctx)

Is this document tagged standalone ?

-
ctx:the user data (XML parser context)
Returns:1 if true

Function: xmlSAX2NamespaceDecl

void	xmlSAX2NamespaceDecl		(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
+
ctx:the user data (XML parser context)
Returns:1 if true

Function: xmlSAX2NamespaceDecl

void	xmlSAX2NamespaceDecl		(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)

-
ctx:
href:
prefix:

Function: xmlSAX2NotationDecl

void	xmlSAX2NotationDecl		(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId)
+
ctx:
href:
prefix:

Function: xmlSAX2NotationDecl

void	xmlSAX2NotationDecl		(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId)

What to do when a notation declaration has been parsed.

-
ctx:the user data (XML parser context)
name:The name of the notation
publicId:The public ID of the entity
systemId:The system ID of the entity

Function: xmlSAX2ProcessingInstruction

void	xmlSAX2ProcessingInstruction	(void * ctx, 
const xmlChar * target,
const xmlChar * data)
+
ctx:the user data (XML parser context)
name:The name of the notation
publicId:The public ID of the entity
systemId:The system ID of the entity

Function: xmlSAX2ProcessingInstruction

void	xmlSAX2ProcessingInstruction	(void * ctx, 
const xmlChar * target,
const xmlChar * data)

A processing instruction has been parsed.

-
ctx:the user data (XML parser context)
target:the target name
data:the PI data's

Function: xmlSAX2Reference

void	xmlSAX2Reference		(void * ctx, 
const xmlChar * name)
+
ctx:the user data (XML parser context)
target:the target name
data:the PI data's

Function: xmlSAX2Reference

void	xmlSAX2Reference		(void * ctx, 
const xmlChar * name)

called when an entity xmlSAX2Reference is detected.

-
ctx:the user data (XML parser context)
name:The entity name

Function: xmlSAX2ResolveEntity

xmlParserInputPtr	xmlSAX2ResolveEntity	(void * ctx, 
const xmlChar * publicId,
const xmlChar * systemId)
+
ctx:the user data (XML parser context)
name:The entity name

Function: xmlSAX2ResolveEntity

xmlParserInputPtr	xmlSAX2ResolveEntity	(void * ctx, 
const xmlChar * publicId,
const xmlChar * systemId)

The entity loader, to control the loading of external entities, the application can either: - override this xmlSAX2ResolveEntity() callback in the SAX block - or better use the xmlSetExternalEntityLoader() function to set up it's own entity resolution routine

ctx:the user data (XML parser context)
publicId:The public ID of the entity
systemId:The system ID of the entity
Returns:the xmlParserInputPtr if inlined or NULL for DOM behaviour.

Function: xmlSAX2SetDocumentLocator

void	xmlSAX2SetDocumentLocator	(void * ctx, 
xmlSAXLocatorPtr loc)

Receive the document locator at startup, actually xmlDefaultSAXLocator Everything is available on the context, so this is useless in our case.

-
ctx:the user data (XML parser context)
loc:A SAX Locator

Function: xmlSAX2SetNamespace

void	xmlSAX2SetNamespace		(void * ctx, 
const xmlChar * name)
+
ctx:the user data (XML parser context)
loc:A SAX Locator

Function: xmlSAX2SetNamespace

void	xmlSAX2SetNamespace		(void * ctx, 
const xmlChar * name)

ctx:
name:

Function: xmlSAX2StartDocument

void	xmlSAX2StartDocument		(void * ctx)

called when the document start being processed.

-
ctx:the user data (XML parser context)

Function: xmlSAX2StartElement

void	xmlSAX2StartElement		(void * ctx, 
const xmlChar * fullname,
const xmlChar ** atts)
+
ctx:the user data (XML parser context)

Function: xmlSAX2StartElement

void	xmlSAX2StartElement		(void * ctx, 
const xmlChar * fullname,
const xmlChar ** atts)

called when an opening tag has been processed.

-
ctx:the user data (XML parser context)
fullname:The element name, including namespace prefix
atts:An array of name/value attributes pairs, NULL terminated

Function: xmlSAX2StartElementNs

void	xmlSAX2StartElementNs		(void * ctx, 
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI,
int nb_namespaces,
const xmlChar ** namespaces,
int nb_attributes,
int nb_defaulted,
const xmlChar ** attributes)
+
ctx:the user data (XML parser context)
fullname:The element name, including namespace prefix
atts:An array of name/value attributes pairs, NULL terminated

Function: xmlSAX2StartElementNs

void	xmlSAX2StartElementNs		(void * ctx, 
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI,
int nb_namespaces,
const xmlChar ** namespaces,
int nb_attributes,
int nb_defaulted,
const xmlChar ** attributes)

SAX2 callback when an element start has been detected by the parser. It provides the namespace informations for the element, as well as the new namespace declarations on the element.

-
ctx:the user data (XML parser context)
localname:the local name of the element
prefix:the element namespace prefix if available
URI:the element namespace name if available
nb_namespaces:number of namespace definitions on that node
namespaces:pointer to the array of prefix/URI pairs namespace definitions
nb_attributes:the number of attributes on that node
nb_defaulted:the number of defaulted attributes.
attributes:pointer to the array of (localname/prefix/URI/value/end) attribute values.

Function: xmlSAX2UnparsedEntityDecl

void	xmlSAX2UnparsedEntityDecl	(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName)
+
ctx:the user data (XML parser context)
localname:the local name of the element
prefix:the element namespace prefix if available
URI:the element namespace name if available
nb_namespaces:number of namespace definitions on that node
namespaces:pointer to the array of prefix/URI pairs namespace definitions
nb_attributes:the number of attributes on that node
nb_defaulted:the number of defaulted attributes.
attributes:pointer to the array of (localname/prefix/URI/value/end) attribute values.

Function: xmlSAX2UnparsedEntityDecl

void	xmlSAX2UnparsedEntityDecl	(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName)

What to do when an unparsed entity declaration is parsed

ctx:the user data (XML parser context)
name:The name of the entity
publicId:The public ID of the entity
systemId:The system ID of the entity
notationName:the name of the notation

Function: xmlSAXDefaultVersion

int	xmlSAXDefaultVersion		(int version)

Set the default version of SAX used globally by the library. Note that this may not be a good thing to do from a library it is better to use xmlSAXVersion() to set up specifically the version for a given parsing context.

diff --git a/doc/html/libxml-c14n.html b/doc/html/libxml-c14n.html index ecc1f296..6008763c 100644 --- a/doc/html/libxml-c14n.html +++ b/doc/html/libxml-c14n.html @@ -10,22 +10,22 @@ A:link, A:visited, A:active { text-decoration: underline } Module c14n from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module c14n from libxml2

API Menu
API Indexes
Related links

the c14n modules provides a "Canonical XML" implementation

Table of Contents

int	xmlC14NDocDumpMemory		(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlChar ** doc_txt_ptr)
-
int	xmlC14NDocSave			(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
const char * filename,
int compression)
-
int	xmlC14NDocSaveTo		(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlOutputBufferPtr buf)
-
int	xmlC14NExecute			(xmlDocPtr doc, 
xmlC14NIsVisibleCallback is_visible_callback,
void * user_data,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlOutputBufferPtr buf)
+ Module c14n from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module c14n from libxml2

API Menu
API Indexes
Related links

the c14n modules provides a "Canonical XML" implementation

Table of Contents

int	xmlC14NDocDumpMemory		(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlChar ** doc_txt_ptr)
+
int	xmlC14NDocSave			(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
const char * filename,
int compression)
+
int	xmlC14NDocSaveTo		(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlOutputBufferPtr buf)
+
int	xmlC14NExecute			(xmlDocPtr doc, 
xmlC14NIsVisibleCallback is_visible_callback,
void * user_data,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlOutputBufferPtr buf)
Function type: xmlC14NIsVisibleCallback
 int	xmlC14NIsVisibleCallback	(void * user_data, 
xmlNodePtr node,
xmlNodePtr parent)

Description

-

Function: xmlC14NDocDumpMemory

int	xmlC14NDocDumpMemory		(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlChar ** doc_txt_ptr)
-

Dumps the canonized image of given XML document into memory. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)

-
doc:the XML document for canonization
nodes:the nodes set to be included in the canonized image or NULL if all document nodes should be included
exclusive:the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization)
inclusive_ns_prefixes:the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)
with_comments:include comments in the result (!=0) or not (==0)
doc_txt_ptr:the memory pointer for allocated canonical XML text; the caller of this functions is responsible for calling xmlFree() to free allocated memory
Returns:the number of bytes written on success or a negative value on fail

Function: xmlC14NDocSave

int	xmlC14NDocSave			(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
const char * filename,
int compression)
-

Dumps the canonized image of given XML document into the file. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)

-
doc:the XML document for canonization
nodes:the nodes set to be included in the canonized image or NULL if all document nodes should be included
exclusive:the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization)
inclusive_ns_prefixes:the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)
with_comments:include comments in the result (!=0) or not (==0)
filename:the filename to store canonical XML image
compression:the compression level (zlib requred): -1 - libxml default, 0 - uncompressed, >0 - compression level
Returns:the number of bytes written success or a negative value on fail

Function: xmlC14NDocSaveTo

int	xmlC14NDocSaveTo		(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlOutputBufferPtr buf)
-

Dumps the canonized image of given XML document into the provided buffer. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)

-
doc:the XML document for canonization
nodes:the nodes set to be included in the canonized image or NULL if all document nodes should be included
exclusive:the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization)
inclusive_ns_prefixes:the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)
with_comments:include comments in the result (!=0) or not (==0)
buf:the output buffer to store canonical XML; this buffer MUST have encoder==NULL because C14N requires UTF-8 output
Returns:non-negative value on success or a negative value on fail

Function: xmlC14NExecute

int	xmlC14NExecute			(xmlDocPtr doc, 
xmlC14NIsVisibleCallback is_visible_callback,
void * user_data,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlOutputBufferPtr buf)
-

Dumps the canonized image of given XML document into the provided buffer. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)

+

Function: xmlC14NDocDumpMemory

int	xmlC14NDocDumpMemory		(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlChar ** doc_txt_ptr)
+

Dumps the canonized image of given XML document into memory. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)

+
doc:the XML document for canonization
nodes:the nodes set to be included in the canonized image or NULL if all document nodes should be included
exclusive:the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization)
inclusive_ns_prefixes:the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)
with_comments:include comments in the result (!=0) or not (==0)
doc_txt_ptr:the memory pointer for allocated canonical XML text; the caller of this functions is responsible for calling xmlFree() to free allocated memory
Returns:the number of bytes written on success or a negative value on fail

Function: xmlC14NDocSave

int	xmlC14NDocSave			(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
const char * filename,
int compression)
+

Dumps the canonized image of given XML document into the file. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)

+
doc:the XML document for canonization
nodes:the nodes set to be included in the canonized image or NULL if all document nodes should be included
exclusive:the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization)
inclusive_ns_prefixes:the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)
with_comments:include comments in the result (!=0) or not (==0)
filename:the filename to store canonical XML image
compression:the compression level (zlib requred): -1 - libxml default, 0 - uncompressed, >0 - compression level
Returns:the number of bytes written success or a negative value on fail

Function: xmlC14NDocSaveTo

int	xmlC14NDocSaveTo		(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlOutputBufferPtr buf)
+

Dumps the canonized image of given XML document into the provided buffer. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)

+
doc:the XML document for canonization
nodes:the nodes set to be included in the canonized image or NULL if all document nodes should be included
exclusive:the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization)
inclusive_ns_prefixes:the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)
with_comments:include comments in the result (!=0) or not (==0)
buf:the output buffer to store canonical XML; this buffer MUST have encoder==NULL because C14N requires UTF-8 output
Returns:non-negative value on success or a negative value on fail

Function: xmlC14NExecute

int	xmlC14NExecute			(xmlDocPtr doc, 
xmlC14NIsVisibleCallback is_visible_callback,
void * user_data,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlOutputBufferPtr buf)
+

Dumps the canonized image of given XML document into the provided buffer. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)

doc:the XML document for canonization
is_visible_callback:the function to use to determine is node visible or not
user_data:the first parameter for @is_visible_callback function (in most cases, it is nodes set)
exclusive:the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization)
inclusive_ns_prefixes:the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)
with_comments:include comments in the result (!=0) or not (==0)
buf:the output buffer to store canonical XML; this buffer MUST have encoder==NULL because C14N requires UTF-8 output
Returns:non-negative value on success or a negative value on fail

Function type: xmlC14NIsVisibleCallback

Function type: xmlC14NIsVisibleCallback
 int	xmlC14NIsVisibleCallback	(void * user_data, 
xmlNodePtr node,
xmlNodePtr parent)

user_data:
node:
parent:
Returns:

diff --git a/doc/html/libxml-catalog.html b/doc/html/libxml-catalog.html index 7f7f3cfe..413601d0 100644 --- a/doc/html/libxml-catalog.html +++ b/doc/html/libxml-catalog.html @@ -15,30 +15,30 @@ The content of this structure is not made public by the API.
Enum xmlCatalogAllow
 
Enum xmlCatalogPrefer
 
Typedef xmlCatalog * xmlCatalogPtr
-
int	xmlACatalogAdd			(xmlCatalogPtr catal, 
const xmlChar * type,
const xmlChar * orig,
const xmlChar * replace)
+
int	xmlACatalogAdd			(xmlCatalogPtr catal, 
const xmlChar * type,
const xmlChar * orig,
const xmlChar * replace)
void	xmlACatalogDump			(xmlCatalogPtr catal, 
FILE * out)
-
int	xmlACatalogRemove		(xmlCatalogPtr catal, 
const xmlChar * value)
-
xmlChar *	xmlACatalogResolve	(xmlCatalogPtr catal, 
const xmlChar * pubID,
const xmlChar * sysID)
-
xmlChar *	xmlACatalogResolvePublic	(xmlCatalogPtr catal, 
const xmlChar * pubID)
-
xmlChar *	xmlACatalogResolveSystem	(xmlCatalogPtr catal, 
const xmlChar * sysID)
-
xmlChar *	xmlACatalogResolveURI	(xmlCatalogPtr catal, 
const xmlChar * URI)
-
int	xmlCatalogAdd			(const xmlChar * type, 
const xmlChar * orig,
const xmlChar * replace)
-
void *	xmlCatalogAddLocal		(void * catalogs, 
const xmlChar * URL)
+
int	xmlACatalogRemove		(xmlCatalogPtr catal, 
const xmlChar * value)
+
xmlChar *	xmlACatalogResolve	(xmlCatalogPtr catal, 
const xmlChar * pubID,
const xmlChar * sysID)
+
xmlChar *	xmlACatalogResolvePublic	(xmlCatalogPtr catal, 
const xmlChar * pubID)
+
xmlChar *	xmlACatalogResolveSystem	(xmlCatalogPtr catal, 
const xmlChar * sysID)
+
xmlChar *	xmlACatalogResolveURI	(xmlCatalogPtr catal, 
const xmlChar * URI)
+
int	xmlCatalogAdd			(const xmlChar * type, 
const xmlChar * orig,
const xmlChar * replace)
+
void *	xmlCatalogAddLocal		(void * catalogs, 
const xmlChar * URL)
void	xmlCatalogCleanup		(void)
int	xmlCatalogConvert		(void)
void	xmlCatalogDump			(FILE * out)
void	xmlCatalogFreeLocal		(void * catalogs)
xmlCatalogAllow	xmlCatalogGetDefaults	(void)
-
const xmlChar *	xmlCatalogGetPublic	(const xmlChar * pubID)
-
const xmlChar *	xmlCatalogGetSystem	(const xmlChar * sysID)
+
const xmlChar *	xmlCatalogGetPublic	(const xmlChar * pubID)
+
const xmlChar *	xmlCatalogGetSystem	(const xmlChar * sysID)
int	xmlCatalogIsEmpty		(xmlCatalogPtr catal)
-
xmlChar *	xmlCatalogLocalResolve	(void * catalogs, 
const xmlChar * pubID,
const xmlChar * sysID)
-
xmlChar *	xmlCatalogLocalResolveURI	(void * catalogs, 
const xmlChar * URI)
-
int	xmlCatalogRemove		(const xmlChar * value)
-
xmlChar *	xmlCatalogResolve	(const xmlChar * pubID, 
const xmlChar * sysID)
-
xmlChar *	xmlCatalogResolvePublic	(const xmlChar * pubID)
-
xmlChar *	xmlCatalogResolveSystem	(const xmlChar * sysID)
-
xmlChar *	xmlCatalogResolveURI	(const xmlChar * URI)
+
xmlChar *	xmlCatalogLocalResolve	(void * catalogs, 
const xmlChar * pubID,
const xmlChar * sysID)
+
xmlChar *	xmlCatalogLocalResolveURI	(void * catalogs, 
const xmlChar * URI)
+
int	xmlCatalogRemove		(const xmlChar * value)
+
xmlChar *	xmlCatalogResolve	(const xmlChar * pubID, 
const xmlChar * sysID)
+
xmlChar *	xmlCatalogResolvePublic	(const xmlChar * pubID)
+
xmlChar *	xmlCatalogResolveSystem	(const xmlChar * sysID)
+
xmlChar *	xmlCatalogResolveURI	(const xmlChar * URI)
int	xmlCatalogSetDebug		(int level)
xmlCatalogPrefer	xmlCatalogSetDefaultPrefer	(xmlCatalogPrefer prefer)
void	xmlCatalogSetDefaults		(xmlCatalogAllow allow)
@@ -67,23 +67,23 @@ The content of this structure is not made public by the API. XML_CATA_PREFER_PUBLIC = 1 XML_CATA_PREFER_SYSTEM = 2 } -

Function: xmlACatalogAdd

int	xmlACatalogAdd			(xmlCatalogPtr catal, 
const xmlChar * type,
const xmlChar * orig,
const xmlChar * replace)
+

Function: xmlACatalogAdd

int	xmlACatalogAdd			(xmlCatalogPtr catal, 
const xmlChar * type,
const xmlChar * orig,
const xmlChar * replace)

Add an entry in the catalog, it may overwrite existing but different entries.

catal:a Catalog
type:the type of record to add to the catalog
orig:the system, public or prefix to match
replace:the replacement value for the match
Returns:0 if successful, -1 otherwise

Function: xmlACatalogDump

void	xmlACatalogDump			(xmlCatalogPtr catal, 
FILE * out)

Free up all the memory associated with catalogs

-
catal:a Catalog
out:the file.

Function: xmlACatalogRemove

int	xmlACatalogRemove		(xmlCatalogPtr catal, 
const xmlChar * value)
+
catal:a Catalog
out:the file.

Function: xmlACatalogRemove

int	xmlACatalogRemove		(xmlCatalogPtr catal, 
const xmlChar * value)

Remove an entry from the catalog

-
catal:a Catalog
value:the value to remove
Returns:the number of entries removed if successful, -1 otherwise

Function: xmlACatalogResolve

xmlChar *	xmlACatalogResolve	(xmlCatalogPtr catal, 
const xmlChar * pubID,
const xmlChar * sysID)
+
catal:a Catalog
value:the value to remove
Returns:the number of entries removed if successful, -1 otherwise

Function: xmlACatalogResolve

xmlChar *	xmlACatalogResolve	(xmlCatalogPtr catal, 
const xmlChar * pubID,
const xmlChar * sysID)

Do a complete resolution lookup of an External Identifier

-
catal:a Catalog
pubID:the public ID string
sysID:the system ID string
Returns:the URI of the resource or NULL if not found, it must be freed by the caller.

Function: xmlACatalogResolvePublic

xmlChar *	xmlACatalogResolvePublic	(xmlCatalogPtr catal, 
const xmlChar * pubID)
+
catal:a Catalog
pubID:the public ID string
sysID:the system ID string
Returns:the URI of the resource or NULL if not found, it must be freed by the caller.

Function: xmlACatalogResolvePublic

xmlChar *	xmlACatalogResolvePublic	(xmlCatalogPtr catal, 
const xmlChar * pubID)

Try to lookup the system ID associated to a public ID in that catalog

-
catal:a Catalog
pubID:the public ID string
Returns:the system ID if found or NULL otherwise, the value returned must be freed by the caller.

Function: xmlACatalogResolveSystem

xmlChar *	xmlACatalogResolveSystem	(xmlCatalogPtr catal, 
const xmlChar * sysID)
+
catal:a Catalog
pubID:the public ID string
Returns:the system ID if found or NULL otherwise, the value returned must be freed by the caller.

Function: xmlACatalogResolveSystem

xmlChar *	xmlACatalogResolveSystem	(xmlCatalogPtr catal, 
const xmlChar * sysID)

Try to lookup the catalog resource for a system ID

-
catal:a Catalog
sysID:the public ID string
Returns:the system ID if found or NULL otherwise, the value returned must be freed by the caller.

Function: xmlACatalogResolveURI

xmlChar *	xmlACatalogResolveURI	(xmlCatalogPtr catal, 
const xmlChar * URI)
+
catal:a Catalog
sysID:the public ID string
Returns:the system ID if found or NULL otherwise, the value returned must be freed by the caller.

Function: xmlACatalogResolveURI

xmlChar *	xmlACatalogResolveURI	(xmlCatalogPtr catal, 
const xmlChar * URI)

Do a complete resolution lookup of an URI

-
catal:a Catalog
URI:the URI
Returns:the URI of the resource or NULL if not found, it must be freed by the caller.

Function: xmlCatalogAdd

int	xmlCatalogAdd			(const xmlChar * type, 
const xmlChar * orig,
const xmlChar * replace)
+
catal:a Catalog
URI:the URI
Returns:the URI of the resource or NULL if not found, it must be freed by the caller.

Function: xmlCatalogAdd

int	xmlCatalogAdd			(const xmlChar * type, 
const xmlChar * orig,
const xmlChar * replace)

Add an entry in the catalog, it may overwrite existing but different entries. If called before any other catalog routine, allows to override the default shared catalog put in place by xmlInitializeCatalog();

-
type:the type of record to add to the catalog
orig:the system, public or prefix to match
replace:the replacement value for the match
Returns:0 if successful, -1 otherwise

Function: xmlCatalogAddLocal

void *	xmlCatalogAddLocal		(void * catalogs, 
const xmlChar * URL)
+
type:the type of record to add to the catalog
orig:the system, public or prefix to match
replace:the replacement value for the match
Returns:0 if successful, -1 otherwise

Function: xmlCatalogAddLocal

void *	xmlCatalogAddLocal		(void * catalogs, 
const xmlChar * URL)

Add the new entry to the catalog list

catalogs:a document's list of catalogs
URL:the URL to a new local catalog
Returns:the updated list

Function: xmlCatalogCleanup

void	xmlCatalogCleanup		(void)

Free up all the memory associated with catalogs

@@ -95,25 +95,25 @@ The content of this structure is not made public by the API.

Free up the memory associated to the catalog list

catalogs:a document's list of catalogs

Function: xmlCatalogGetDefaults

xmlCatalogAllow	xmlCatalogGetDefaults	(void)

Used to get the user preference w.r.t. to what catalogs should be accepted

-
Returns:the current xmlCatalogAllow value

Function: xmlCatalogGetPublic

const xmlChar *	xmlCatalogGetPublic	(const xmlChar * pubID)
+
Returns:the current xmlCatalogAllow value

Function: xmlCatalogGetPublic

const xmlChar *	xmlCatalogGetPublic	(const xmlChar * pubID)

Try to lookup the system ID associated to a public ID DEPRECATED, use xmlCatalogResolvePublic()

-
pubID:the public ID string
Returns:the system ID if found or NULL otherwise.

Function: xmlCatalogGetSystem

const xmlChar *	xmlCatalogGetSystem	(const xmlChar * sysID)
+
pubID:the public ID string
Returns:the system ID if found or NULL otherwise.

Function: xmlCatalogGetSystem

const xmlChar *	xmlCatalogGetSystem	(const xmlChar * sysID)

Try to lookup the system ID associated to a public ID DEPRECATED, use xmlCatalogResolveSystem()

sysID:the system ID string
Returns:the system ID if found or NULL otherwise.

Function: xmlCatalogIsEmpty

int	xmlCatalogIsEmpty		(xmlCatalogPtr catal)

Check is a catalog is empty

-
catal:should this create an SGML catalog
Returns:1 if the catalog is empty, 0 if not, amd -1 in case of error.

Function: xmlCatalogLocalResolve

xmlChar *	xmlCatalogLocalResolve	(void * catalogs, 
const xmlChar * pubID,
const xmlChar * sysID)
+
catal:should this create an SGML catalog
Returns:1 if the catalog is empty, 0 if not, amd -1 in case of error.

Function: xmlCatalogLocalResolve

xmlChar *	xmlCatalogLocalResolve	(void * catalogs, 
const xmlChar * pubID,
const xmlChar * sysID)

Do a complete resolution lookup of an External Identifier using a document's private catalog list

-
catalogs:a document's list of catalogs
pubID:the public ID string
sysID:the system ID string
Returns:the URI of the resource or NULL if not found, it must be freed by the caller.

Function: xmlCatalogLocalResolveURI

xmlChar *	xmlCatalogLocalResolveURI	(void * catalogs, 
const xmlChar * URI)
+
catalogs:a document's list of catalogs
pubID:the public ID string
sysID:the system ID string
Returns:the URI of the resource or NULL if not found, it must be freed by the caller.

Function: xmlCatalogLocalResolveURI

xmlChar *	xmlCatalogLocalResolveURI	(void * catalogs, 
const xmlChar * URI)

Do a complete resolution lookup of an URI using a document's private catalog list

-
catalogs:a document's list of catalogs
URI:the URI
Returns:the URI of the resource or NULL if not found, it must be freed by the caller.

Function: xmlCatalogRemove

int	xmlCatalogRemove		(const xmlChar * value)
+
catalogs:a document's list of catalogs
URI:the URI
Returns:the URI of the resource or NULL if not found, it must be freed by the caller.

Function: xmlCatalogRemove

int	xmlCatalogRemove		(const xmlChar * value)

Remove an entry from the catalog

-
value:the value to remove
Returns:the number of entries removed if successful, -1 otherwise

Function: xmlCatalogResolve

xmlChar *	xmlCatalogResolve	(const xmlChar * pubID, 
const xmlChar * sysID)
+
value:the value to remove
Returns:the number of entries removed if successful, -1 otherwise

Function: xmlCatalogResolve

xmlChar *	xmlCatalogResolve	(const xmlChar * pubID, 
const xmlChar * sysID)

Do a complete resolution lookup of an External Identifier

-
pubID:the public ID string
sysID:the system ID string
Returns:the URI of the resource or NULL if not found, it must be freed by the caller.

Function: xmlCatalogResolvePublic

xmlChar *	xmlCatalogResolvePublic	(const xmlChar * pubID)
+
pubID:the public ID string
sysID:the system ID string
Returns:the URI of the resource or NULL if not found, it must be freed by the caller.

Function: xmlCatalogResolvePublic

xmlChar *	xmlCatalogResolvePublic	(const xmlChar * pubID)

Try to lookup the system ID associated to a public ID

-
pubID:the public ID string
Returns:the system ID if found or NULL otherwise, the value returned must be freed by the caller.

Function: xmlCatalogResolveSystem

xmlChar *	xmlCatalogResolveSystem	(const xmlChar * sysID)
+
pubID:the public ID string
Returns:the system ID if found or NULL otherwise, the value returned must be freed by the caller.

Function: xmlCatalogResolveSystem

xmlChar *	xmlCatalogResolveSystem	(const xmlChar * sysID)

Try to lookup the catalog resource for a system ID

-
sysID:the public ID string
Returns:the system ID if found or NULL otherwise, the value returned must be freed by the caller.

Function: xmlCatalogResolveURI

xmlChar *	xmlCatalogResolveURI	(const xmlChar * URI)
+
sysID:the public ID string
Returns:the system ID if found or NULL otherwise, the value returned must be freed by the caller.

Function: xmlCatalogResolveURI

xmlChar *	xmlCatalogResolveURI	(const xmlChar * URI)

Do a complete resolution lookup of an URI

URI:the URI
Returns:the URI of the resource or NULL if not found, it must be freed by the caller.

Function: xmlCatalogSetDebug

int	xmlCatalogSetDebug		(int level)

Used to set the debug level for catalog operation, 0 disable debugging, 1 enable it

diff --git a/doc/html/libxml-debugXML.html b/doc/html/libxml-debugXML.html index 1f8493ec..6e782f72 100644 --- a/doc/html/libxml-debugXML.html +++ b/doc/html/libxml-debugXML.html @@ -22,7 +22,7 @@ A:link, A:visited, A:active { text-decoration: underline }
void	xmlDebugDumpNode		(FILE * output, 
xmlNodePtr node,
int depth)
void	xmlDebugDumpNodeList		(FILE * output, 
xmlNodePtr node,
int depth)
void	xmlDebugDumpOneNode		(FILE * output, 
xmlNodePtr node,
int depth)
-
void	xmlDebugDumpString		(FILE * output, 
const xmlChar * str)
+
void	xmlDebugDumpString		(FILE * output, 
const xmlChar * str)
int	xmlLsCountNode			(xmlNodePtr node)
void	xmlLsOneNode			(FILE * output, 
xmlNodePtr node)
void	xmlShell			(xmlDocPtr doc, 
char * filename,
xmlShellReadlineFunc input,
FILE * output)
@@ -56,7 +56,7 @@ char * xmlShellReadlineFunc (char * prompt) xmlShellReadlineFunc input }

Function: xmlBoolToText

const char *	xmlBoolToText		(int boolval)

Convenient way to turn bool into text

-
boolval:a bool to turn into text
Returns:a pointer to either "True" or "False"

Function: xmlDebugDumpAttr

void	xmlDebugDumpAttr		(FILE * output, 
xmlAttrPtr attr,
int depth)
+
boolval:a bool to turn into text
Returns:a pointer to either "True" or "False"

Function: xmlDebugDumpAttr

void	xmlDebugDumpAttr		(FILE * output, 
xmlAttrPtr attr,
int depth)

Dumps debug information for the attribute

output:the FILE * for the output
attr:the attribute
depth:the indentation level.

Function: xmlDebugDumpAttrList

void	xmlDebugDumpAttrList		(FILE * output, 
xmlAttrPtr attr,
int depth)

Dumps debug information for the attribute list

@@ -74,7 +74,7 @@ char * xmlShellReadlineFunc (char * prompt)

Dumps debug information for the list of element node, it is recursive

output:the FILE * for the output
node:the node list
depth:the indentation level.

Function: xmlDebugDumpOneNode

void	xmlDebugDumpOneNode		(FILE * output, 
xmlNodePtr node,
int depth)

Dumps debug information for the element node, it is not recursive

-
output:the FILE * for the output
node:the node
depth:the indentation level.

Function: xmlDebugDumpString

void	xmlDebugDumpString		(FILE * output, 
const xmlChar * str)
+
output:the FILE * for the output
node:the node
depth:the indentation level.

Function: xmlDebugDumpString

void	xmlDebugDumpString		(FILE * output, 
const xmlChar * str)

Dumps informations about the string, shorten it if necessary

output:the FILE * for the output
str:the string

Function: xmlLsCountNode

int	xmlLsCountNode			(xmlNodePtr node)

Count the children of @node.

@@ -83,20 +83,20 @@ char * xmlShellReadlineFunc (char * prompt)
output:the FILE * for the output
node:the node to dump

Function: xmlShell

void	xmlShell			(xmlDocPtr doc, 
char * filename,
xmlShellReadlineFunc input,
FILE * output)

Implements the XML shell This allow to load, validate, view, modify and save a document using a environment similar to a UNIX commandline.

doc:the initial document
filename:the output buffer
input:the line reading function
output:the output FILE*, defaults to stdout if NULL

Function: xmlShellBase

int	xmlShellBase			(xmlShellCtxtPtr ctxt, 
char * arg,
xmlNodePtr node,
xmlNodePtr node2)
-

Implements the XML shell function "base" dumps the current XML base of the node

+

Implements the XML shell function "base" dumps the current XML base of the node

ctxt:the shell context
arg:unused
node:a node
node2:unused
Returns:0

Function: xmlShellCat

int	xmlShellCat			(xmlShellCtxtPtr ctxt, 
char * arg,
xmlNodePtr node,
xmlNodePtr node2)
-

Implements the XML shell function "cat" dumps the serialization node content (XML or HTML).

+

Implements the XML shell function "cat" dumps the serialization node content (XML or HTML).

ctxt:the shell context
arg:unused
node:a node
node2:unused
Returns:0

Function type: xmlShellCmd

Function type: xmlShellCmd
 int	xmlShellCmd			(xmlShellCtxtPtr ctxt, 
char * arg,
xmlNodePtr node,
xmlNodePtr node2)

This is a generic signature for the XML shell functions.

ctxt:a shell context
arg:a string argument
node:a first node
node2:a second node
Returns:an int, negative returns indicating errors.

Function: xmlShellDir

int	xmlShellDir			(xmlShellCtxtPtr ctxt, 
char * arg,
xmlNodePtr node,
xmlNodePtr node2)
-

Implements the XML shell function "dir" dumps informations about the node (namespace, attributes, content).

+

Implements the XML shell function "dir" dumps informations about the node (namespace, attributes, content).

ctxt:the shell context
arg:unused
node:a node
node2:unused
Returns:0

Function: xmlShellDu

int	xmlShellDu			(xmlShellCtxtPtr ctxt, 
char * arg,
xmlNodePtr tree,
xmlNodePtr node2)
-

Implements the XML shell function "du" show the structure of the subtree under node @tree If @tree is null, the command works on the current node.

+

Implements the XML shell function "du" show the structure of the subtree under node @tree If @tree is null, the command works on the current node.

ctxt:the shell context
arg:unused
tree:a node defining a subtree
node2:unused
Returns:0 or -1 in case of error

Function: xmlShellList

int	xmlShellList			(xmlShellCtxtPtr ctxt, 
char * arg,
xmlNodePtr node,
xmlNodePtr node2)
-

Implements the XML shell function "ls" Does an Unix like listing of the given node (like a directory)

+

Implements the XML shell function "ls" Does an Unix like listing of the given node (like a directory)

ctxt:the shell context
arg:unused
node:a node
node2:unused
Returns:0

Function: xmlShellLoad

int	xmlShellLoad			(xmlShellCtxtPtr ctxt, 
char * filename,
xmlNodePtr node,
xmlNodePtr node2)
-

Implements the XML shell function "load" loads a new document specified by the filename

+

Implements the XML shell function "load" loads a new document specified by the filename

ctxt:the shell context
filename:the file name
node:unused
node2:unused
Returns:0 or -1 if loading failed

Function: xmlShellPrintNode

void	xmlShellPrintNode		(xmlNodePtr node)

Print node to the output FILE

node:a non-null node to print to the output FILE

Function: xmlShellPrintXPathError

void	xmlShellPrintXPathError		(int errorType, 
const char * arg)
@@ -104,14 +104,14 @@ int xmlShellCmd (xmlShellCtxtPt
errorType:valid xpath error id
arg:the argument that cause xpath to fail

Function: xmlShellPrintXPathResult

void	xmlShellPrintXPathResult	(xmlXPathObjectPtr list)

Prints result to the output FILE

list:a valid result generated by an xpath evaluation

Function: xmlShellPwd

int	xmlShellPwd			(xmlShellCtxtPtr ctxt, 
char * buffer,
xmlNodePtr node,
xmlNodePtr node2)
-

Implements the XML shell function "pwd" Show the full path from the root to the node, if needed building thumblers when similar elements exists at a given ancestor level. The output is compatible with XPath commands.

+

Implements the XML shell function "pwd" Show the full path from the root to the node, if needed building thumblers when similar elements exists at a given ancestor level. The output is compatible with XPath commands.

ctxt:the shell context
buffer:the output buffer
node:a node
node2:unused
Returns:0 or -1 in case of error

Function type: xmlShellReadlineFunc

Function type: xmlShellReadlineFunc
 char *	xmlShellReadlineFunc		(char * prompt)
 

This is a generic signature for the XML shell input function.

prompt:a string prompt
Returns:a string which will be freed by the Shell.

Function: xmlShellSave

int	xmlShellSave			(xmlShellCtxtPtr ctxt, 
char * filename,
xmlNodePtr node,
xmlNodePtr node2)
-

Implements the XML shell function "save" Write the current document to the filename, or it's original name

+

Implements the XML shell function "save" Write the current document to the filename, or it's original name

ctxt:the shell context
filename:the file name (optional)
node:unused
node2:unused
Returns:0 or -1 in case of error

Function: xmlShellValidate

int	xmlShellValidate		(xmlShellCtxtPtr ctxt, 
char * dtd,
xmlNodePtr node,
xmlNodePtr node2)
-

Implements the XML shell function "validate" Validate the document, if a DTD path is provided, then the validation is done against the given DTD.

+

Implements the XML shell function "validate" Validate the document, if a DTD path is provided, then the validation is done against the given DTD.

ctxt:the shell context
dtd:the DTD URI (optional)
node:unused
node2:unused
Returns:0 or -1 in case of error

Function: xmlShellWrite

int	xmlShellWrite			(xmlShellCtxtPtr ctxt, 
char * filename,
xmlNodePtr node,
xmlNodePtr node2)
-

Implements the XML shell function "write" Write the current node to the filename, it saves the serialization of the subtree under the @node specified

+

Implements the XML shell function "write" Write the current node to the filename, it saves the serialization of the subtree under the @node specified

ctxt:the shell context
filename:the file name
node:a node in the tree
node2:unused
Returns:0 or -1 in case of error

Daniel Veillard

diff --git a/doc/html/libxml-dict.html b/doc/html/libxml-dict.html index b64208ad..bd256984 100644 --- a/doc/html/libxml-dict.html +++ b/doc/html/libxml-dict.html @@ -15,9 +15,9 @@ The content of this structure is not made public by the API.
Typedef xmlDict * xmlDictPtr
 
xmlDictPtr	xmlDictCreate		(void)
void	xmlDictFree			(xmlDictPtr dict)
-
const xmlChar *	xmlDictLookup		(xmlDictPtr dict, 
const xmlChar * name,
int len)
-
int	xmlDictOwns			(xmlDictPtr dict, 
const xmlChar * str)
-
const xmlChar *	xmlDictQLookup		(xmlDictPtr dict, 
const xmlChar * prefix,
const xmlChar * name)
+
const xmlChar *	xmlDictLookup		(xmlDictPtr dict, 
const xmlChar * name,
int len)
+
int	xmlDictOwns			(xmlDictPtr dict, 
const xmlChar * str)
+
const xmlChar *	xmlDictQLookup		(xmlDictPtr dict, 
const xmlChar * prefix,
const xmlChar * name)
int	xmlDictReference		(xmlDictPtr dict)
int	xmlDictSize			(xmlDictPtr dict)

Description

@@ -27,11 +27,11 @@ The content of this structure is not made public by the API.

Create a new dictionary

Returns:the newly created object, or NULL if an error occured.

Function: xmlDictFree

void	xmlDictFree			(xmlDictPtr dict)

Free the hash @dict and its contents. The userdata is deallocated with @f if provided.

-
dict:the dictionnary

Function: xmlDictLookup

const xmlChar *	xmlDictLookup		(xmlDictPtr dict, 
const xmlChar * name,
int len)
+
dict:the dictionnary

Function: xmlDictLookup

const xmlChar *	xmlDictLookup		(xmlDictPtr dict, 
const xmlChar * name,
int len)

Add the @name to the hash @dict if not present.

-
dict:the dictionnary
name:the name of the userdata
len:the length of the name, if -1 it is recomputed
Returns:the internal copy of the name or NULL in case of internal error

Function: xmlDictOwns

int	xmlDictOwns			(xmlDictPtr dict, 
const xmlChar * str)
+
dict:the dictionnary
name:the name of the userdata
len:the length of the name, if -1 it is recomputed
Returns:the internal copy of the name or NULL in case of internal error

Function: xmlDictOwns

int	xmlDictOwns			(xmlDictPtr dict, 
const xmlChar * str)

check if a string is owned by the disctionary

-
dict:the dictionnary
str:the string
Returns:1 if true, 0 if false and -1 in case of error -1 in case of error

Function: xmlDictQLookup

const xmlChar *	xmlDictQLookup		(xmlDictPtr dict, 
const xmlChar * prefix,
const xmlChar * name)
+
dict:the dictionnary
str:the string
Returns:1 if true, 0 if false and -1 in case of error -1 in case of error

Function: xmlDictQLookup

const xmlChar *	xmlDictQLookup		(xmlDictPtr dict, 
const xmlChar * prefix,
const xmlChar * name)

Add the QName @prefix:@name to the hash @dict if not present.

dict:the dictionnary
prefix:the prefix
name:the name
Returns:the internal copy of the QName or NULL in case of internal error

Function: xmlDictReference

int	xmlDictReference		(xmlDictPtr dict)

Increment the reference counter of a dictionary

diff --git a/doc/html/libxml-encoding.html b/doc/html/libxml-encoding.html index 831493d2..17516d48 100644 --- a/doc/html/libxml-encoding.html +++ b/doc/html/libxml-encoding.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module encoding from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module encoding from libxml2

API Menu
API Indexes
Related links

interface for the encoding conversion functions needed for XML basic encoding and iconv() support. Related specs are rfc2044 (UTF-8 and UTF-16) F. Yergeau Alis Technologies [ISO-10646] UTF-8 and UTF-16 in Annexes [ISO-8859-1] ISO Latin-1 characters codes. [UNICODE] The Unicode Consortium, "The Unicode Standard -- Worldwide Character Encoding -- Version 1.0", Addison- Wesley, Volume 1, 1991, Volume 2, 1992. UTF-8 is described in Unicode Technical Report #4. [US-ASCII] Coded Character Set--7-bit American Standard Code for Information Interchange, ANSI X3.4-1986.

Table of Contents

Enum xmlCharEncoding
+    Module encoding from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module encoding from libxml2

API Menu
API Indexes
Related links

interface for the encoding conversion functions needed for XML basic encoding and iconv() support. Related specs are rfc2044 (UTF-8 and UTF-16) F. Yergeau Alis Technologies [ISO-10646] UTF-8 and UTF-16 in Annexes [ISO-8859-1] ISO Latin-1 characters codes. [UNICODE] The Unicode Consortium, "The Unicode Standard -- Worldwide Character Encoding -- Version 1.0", Addison- Wesley, Volume 1, 1991, Volume 2, 1992. UTF-8 is described in Unicode Technical Report #4. [US-ASCII] Coded Character Set--7-bit American Standard Code for Information Interchange, ANSI X3.4-1986.

Table of Contents

Enum xmlCharEncoding
 
Structure xmlCharEncodingHandler
struct _xmlCharEncodingHandler
Typedef xmlCharEncodingHandler * xmlCharEncodingHandlerPtr
 
int	UTF8Toisolat1			(unsigned char * out, 
int * outlen,
const unsigned char * in,
int * inlen)
@@ -26,7 +26,6 @@ int xmlCharEncodingInputFunc (unsigned c
Function type: xmlCharEncodingOutputFunc
 int	xmlCharEncodingOutputFunc	(unsigned char * out, 
int * outlen,
const unsigned char * in,
int * inlen)
-
int	xmlCheckUTF8			(const unsigned char * utf)
void	xmlCleanupCharEncodingHandlers	(void)
void	xmlCleanupEncodingAliases	(void)
int	xmlDelEncodingAlias		(const char * alias)
@@ -35,19 +34,10 @@ int xmlCharEncodingOutputFunc (unsigned
xmlCharEncodingHandlerPtr	xmlGetCharEncodingHandler	(xmlCharEncoding enc)
const char *	xmlGetCharEncodingName	(xmlCharEncoding enc)
const char *	xmlGetEncodingAlias	(const char * alias)
-
int	xmlGetUTF8Char			(const unsigned char * utf, 
int * len)
void	xmlInitCharEncodingHandlers	(void)
xmlCharEncodingHandlerPtr	xmlNewCharEncodingHandler	(const char * name, 
xmlCharEncodingInputFunc input,
xmlCharEncodingOutputFunc output)
xmlCharEncoding	xmlParseCharEncoding	(const char * name)
void	xmlRegisterCharEncodingHandler	(xmlCharEncodingHandlerPtr handler)
-
int	xmlUTF8Charcmp			(const xmlChar * utf1, 
const xmlChar * utf2)
-
int	xmlUTF8Size			(const xmlChar * utf)
-
int	xmlUTF8Strlen			(const xmlChar * utf)
-
int	xmlUTF8Strloc			(const xmlChar * utf, 
const xmlChar * utfchar)
-
xmlChar *	xmlUTF8Strndup		(const xmlChar * utf, 
int len)
-
xmlChar *	xmlUTF8Strpos		(const xmlChar * utf, 
int pos)
-
int	xmlUTF8Strsize			(const xmlChar * utf, 
int len)
-
xmlChar *	xmlUTF8Strsub		(const xmlChar * utf, 
int start,
int len)

Description

Enum xmlCharEncoding

Enum xmlCharEncoding {
     XML_CHAR_ENCODING_ERROR = -1 : No char encoding detected
@@ -101,9 +91,7 @@ int	xmlCharEncodingInputFunc	(unsigned char * out, 
int * outlen,
Function type: xmlCharEncodingOutputFunc
Function type: xmlCharEncodingOutputFunc
 int	xmlCharEncodingOutputFunc	(unsigned char * out, 
int * outlen,
const unsigned char * in,
int * inlen)

Take a block of UTF-8 chars in and try to convert it to another encoding. Note: a first call designed to produce heading info is called with in = NULL. If stateful this should also initialize the encoder state.

out:a pointer to an array of bytes to store the result
outlen:the length of @out
in:a pointer to an array of UTF-8 chars
inlen:the length of @in
Returns:the number of bytes written, -1 if lack of space, or -2 if the transcoding failed. The value of @inlen after return is the number of octets consumed if the return value is positive, else unpredictiable. The value of @outlen after return is the number of ocetes consumed.

-

Function: xmlCheckUTF8

int	xmlCheckUTF8			(const unsigned char * utf)
-

Checks @utf for being valid UTF-8. @utf is assumed to be null-terminated. This function is not super-strict, as it will allow longer UTF-8 sequences than necessary. Note that Java is capable of producing these sequences if provoked. Also note, this routine checks for the 4-byte maximum size, but does not check for 0x10ffff maximum value.

-
utf:Pointer to putative UTF-8 encoded string.
Returns:value: true if @utf is valid.

Function: xmlCleanupCharEncodingHandlers

void	xmlCleanupCharEncodingHandlers	(void)
+

Function: xmlCleanupCharEncodingHandlers

void	xmlCleanupCharEncodingHandlers	(void)

Cleanup the memory allocated for the char encoding support, it unregisters all the encoding handlers and the aliases.

Function: xmlCleanupEncodingAliases

void	xmlCleanupEncodingAliases	(void)

Unregisters all aliases

@@ -116,12 +104,10 @@ int xmlCharEncodingOutputFunc (unsigned char * out,
int * outlen,
name:a string describing the char encoding.
Returns:the handler or NULL if not found

Function: xmlGetCharEncodingHandler

xmlCharEncodingHandlerPtr	xmlGetCharEncodingHandler	(xmlCharEncoding enc)

Search in the registered set the handler able to read/write that encoding.

enc:an xmlCharEncoding value.
Returns:the handler or NULL if not found

Function: xmlGetCharEncodingName

const char *	xmlGetCharEncodingName	(xmlCharEncoding enc)
-

The "canonical" name for XML encoding. C.f. http://www.w3.org/TR/REC-xml#charencoding Section 4.3.3 Character Encoding in Entities

+

The "canonical" name for XML encoding. C.f. http://www.w3.org/TR/REC-xml#charencoding Section 4.3.3 Character Encoding in Entities

enc:the encoding
Returns:the canonical name for the given encoding

Function: xmlGetEncodingAlias

const char *	xmlGetEncodingAlias	(const char * alias)

Lookup an encoding name for the given alias.

-
alias:the alias name as parsed, in UTF-8 format (ASCII actually)
Returns:NULL if not found, otherwise the original name

Function: xmlGetUTF8Char

int	xmlGetUTF8Char			(const unsigned char * utf, 
int * len)
-

Read one UTF8 Char from @utf

-
utf:a sequence of UTF-8 encoded bytes
len:a pointer to @bytes len
Returns:the char value or -1 in case of error, and updates *len with the number of bytes consumed

Function: xmlInitCharEncodingHandlers

void	xmlInitCharEncodingHandlers	(void)
+
alias:the alias name as parsed, in UTF-8 format (ASCII actually)
Returns:NULL if not found, otherwise the original name

Function: xmlInitCharEncodingHandlers

void	xmlInitCharEncodingHandlers	(void)

Initialize the char encoding support, it registers the default encoding supported. NOTE: while public, this function usually doesn't need to be called in normal processing.

Function: xmlNewCharEncodingHandler

xmlCharEncodingHandlerPtr	xmlNewCharEncodingHandler	(const char * name, 
xmlCharEncodingInputFunc input,
xmlCharEncodingOutputFunc output)

Create and registers an xmlCharEncodingHandler.

@@ -129,20 +115,4 @@ int xmlCharEncodingOutputFunc (unsigned char * out,
int * outlen,

Compare the string to the encoding schemes already known. Note that the comparison is case insensitive accordingly to the section [XML] 4.3.3 Character Encoding in Entities.

name:the encoding name as parsed, in UTF-8 format (ASCII actually)
Returns:one of the XML_CHAR_ENCODING_... values or XML_CHAR_ENCODING_NONE if not recognized.

Function: xmlRegisterCharEncodingHandler

void	xmlRegisterCharEncodingHandler	(xmlCharEncodingHandlerPtr handler)

Register the char encoding handler, surprising, isn't it ?

-
handler:the xmlCharEncodingHandlerPtr handler block

Function: xmlUTF8Charcmp

int	xmlUTF8Charcmp			(const xmlChar * utf1, 
const xmlChar * utf2)
-

compares the two UCS4 values

-
utf1:pointer to first UTF8 char
utf2:pointer to second UTF8 char
Returns:result of the compare as with xmlStrncmp

Function: xmlUTF8Size

int	xmlUTF8Size			(const xmlChar * utf)
-

calculates the internal size of a UTF8 character

-
utf:pointer to the UTF8 character
Returns:the numbers of bytes in the character, -1 on format error

Function: xmlUTF8Strlen

int	xmlUTF8Strlen			(const xmlChar * utf)
-

compute the length of an UTF8 string, it doesn't do a full UTF8 checking of the content of the string.

-
utf:a sequence of UTF-8 encoded bytes
Returns:the number of characters in the string or -1 in case of error

Function: xmlUTF8Strloc

int	xmlUTF8Strloc			(const xmlChar * utf, 
const xmlChar * utfchar)
-

a function to provide the relative location of a UTF8 char

-
utf:the input UTF8 *
utfchar:the UTF8 character to be found
Returns:the relative character position of the desired char or -1 if not found

Function: xmlUTF8Strndup

xmlChar *	xmlUTF8Strndup		(const xmlChar * utf, 
int len)
-

a strndup for array of UTF8's

-
utf:the input UTF8 *
len:the len of @utf (in chars)
Returns:a new UTF8 * or NULL

Function: xmlUTF8Strpos

xmlChar *	xmlUTF8Strpos		(const xmlChar * utf, 
int pos)
-

a function to provide the equivalent of fetching a character from a string array

-
utf:the input UTF8 *
pos:the position of the desired UTF8 char (in chars)
Returns:a pointer to the UTF8 character or NULL

Function: xmlUTF8Strsize

int	xmlUTF8Strsize			(const xmlChar * utf, 
int len)
-

storage size of an UTF8 string

-
utf:a sequence of UTF-8 encoded bytes
len:the number of characters in the array
Returns:the storage size of the first 'len' characters of ARRAY

Function: xmlUTF8Strsub

xmlChar *	xmlUTF8Strsub		(const xmlChar * utf, 
int start,
int len)
-

Create a substring from a given UTF-8 string Note: positions are given in units of UTF-8 chars

-
utf:a sequence of UTF-8 encoded bytes
start:relative pos of first char
len:total number to copy
Returns:a pointer to a newly created string or NULL if any problem

Daniel Veillard

+
handler:the xmlCharEncodingHandlerPtr handler block

Daniel Veillard

diff --git a/doc/html/libxml-entities.html b/doc/html/libxml-entities.html index 7d740d8f..f45a8762 100644 --- a/doc/html/libxml-entities.html +++ b/doc/html/libxml-entities.html @@ -14,21 +14,21 @@ A:link, A:visited, A:active { text-decoration: underline } The content of this structure is not made public by the API.
Typedef xmlEntitiesTable * xmlEntitiesTablePtr
 
Enum xmlEntityType
-
xmlEntityPtr	xmlAddDocEntity		(xmlDocPtr doc, 
const xmlChar * name,
int type,
const xmlChar * ExternalID,
const xmlChar * SystemID,
const xmlChar * content)
-
xmlEntityPtr	xmlAddDtdEntity		(xmlDocPtr doc, 
const xmlChar * name,
int type,
const xmlChar * ExternalID,
const xmlChar * SystemID,
const xmlChar * content)
+
xmlEntityPtr	xmlAddDocEntity		(xmlDocPtr doc, 
const xmlChar * name,
int type,
const xmlChar * ExternalID,
const xmlChar * SystemID,
const xmlChar * content)
+
xmlEntityPtr	xmlAddDtdEntity		(xmlDocPtr doc, 
const xmlChar * name,
int type,
const xmlChar * ExternalID,
const xmlChar * SystemID,
const xmlChar * content)
void	xmlCleanupPredefinedEntities	(void)
xmlEntitiesTablePtr	xmlCopyEntitiesTable	(xmlEntitiesTablePtr table)
xmlEntitiesTablePtr	xmlCreateEntitiesTable	(void)
void	xmlDumpEntitiesTable		(xmlBufferPtr buf, 
xmlEntitiesTablePtr table)
void	xmlDumpEntityDecl		(xmlBufferPtr buf, 
xmlEntityPtr ent)
-
const xmlChar *	xmlEncodeEntities	(xmlDocPtr doc, 
const xmlChar * input)
-
xmlChar *	xmlEncodeEntitiesReentrant	(xmlDocPtr doc, 
const xmlChar * input)
-
xmlChar *	xmlEncodeSpecialChars	(xmlDocPtr doc, 
const xmlChar * input)
+
const xmlChar *	xmlEncodeEntities	(xmlDocPtr doc, 
const xmlChar * input)
+
xmlChar *	xmlEncodeEntitiesReentrant	(xmlDocPtr doc, 
const xmlChar * input)
+
xmlChar *	xmlEncodeSpecialChars	(xmlDocPtr doc, 
const xmlChar * input)
void	xmlFreeEntitiesTable		(xmlEntitiesTablePtr table)
-
xmlEntityPtr	xmlGetDocEntity		(xmlDocPtr doc, 
const xmlChar * name)
-
xmlEntityPtr	xmlGetDtdEntity		(xmlDocPtr doc, 
const xmlChar * name)
-
xmlEntityPtr	xmlGetParameterEntity	(xmlDocPtr doc, 
const xmlChar * name)
-
xmlEntityPtr	xmlGetPredefinedEntity	(const xmlChar * name)
+
xmlEntityPtr	xmlGetDocEntity		(xmlDocPtr doc, 
const xmlChar * name)
+
xmlEntityPtr	xmlGetDtdEntity		(xmlDocPtr doc, 
const xmlChar * name)
+
xmlEntityPtr	xmlGetParameterEntity	(xmlDocPtr doc, 
const xmlChar * name)
+
xmlEntityPtr	xmlGetPredefinedEntity	(const xmlChar * name)
void	xmlInitializePredefinedEntities	(void)

Description

Structure xmlEntitiesTable

Structure xmlEntitiesTable
struct _xmlHashTable { @@ -41,9 +41,9 @@ The content of this structure is not made public by the API. XML_EXTERNAL_PARAMETER_ENTITY = 5 XML_INTERNAL_PREDEFINED_ENTITY = 6 } -

Function: xmlAddDocEntity

xmlEntityPtr	xmlAddDocEntity		(xmlDocPtr doc, 
const xmlChar * name,
int type,
const xmlChar * ExternalID,
const xmlChar * SystemID,
const xmlChar * content)
+

Function: xmlAddDocEntity

xmlEntityPtr	xmlAddDocEntity		(xmlDocPtr doc, 
const xmlChar * name,
int type,
const xmlChar * ExternalID,
const xmlChar * SystemID,
const xmlChar * content)

Register a new entity for this document.

-
doc:the document
name:the entity name
type:the entity type XML_xxx_yyy_ENTITY
ExternalID:the entity external ID if available
SystemID:the entity system ID if available
content:the entity content
Returns:a pointer to the entity or NULL in case of error

Function: xmlAddDtdEntity

xmlEntityPtr	xmlAddDtdEntity		(xmlDocPtr doc, 
const xmlChar * name,
int type,
const xmlChar * ExternalID,
const xmlChar * SystemID,
const xmlChar * content)
+
doc:the document
name:the entity name
type:the entity type XML_xxx_yyy_ENTITY
ExternalID:the entity external ID if available
SystemID:the entity system ID if available
content:the entity content
Returns:a pointer to the entity or NULL in case of error

Function: xmlAddDtdEntity

xmlEntityPtr	xmlAddDtdEntity		(xmlDocPtr doc, 
const xmlChar * name,
int type,
const xmlChar * ExternalID,
const xmlChar * SystemID,
const xmlChar * content)

Register a new entity for this document DTD external subset.

doc:the document
name:the entity name
type:the entity type XML_xxx_yyy_ENTITY
ExternalID:the entity external ID if available
SystemID:the entity system ID if available
content:the entity content
Returns:a pointer to the entity or NULL in case of error

Function: xmlCleanupPredefinedEntities

void	xmlCleanupPredefinedEntities	(void)

Cleanup up the predefined entities table. Deprecated call

@@ -55,21 +55,21 @@ The content of this structure is not made public by the API.

This will dump the content of the entity table as an XML DTD definition

buf:An XML buffer.
table:An entity table

Function: xmlDumpEntityDecl

void	xmlDumpEntityDecl		(xmlBufferPtr buf, 
xmlEntityPtr ent)

This will dump the content of the entity table as an XML DTD definition

-
buf:An XML buffer.
ent:An entity table

Function: xmlEncodeEntities

const xmlChar *	xmlEncodeEntities	(xmlDocPtr doc, 
const xmlChar * input)
+
buf:An XML buffer.
ent:An entity table

Function: xmlEncodeEntities

const xmlChar *	xmlEncodeEntities	(xmlDocPtr doc, 
const xmlChar * input)

TODO: remove xmlEncodeEntities, once we are not afraid of breaking binary compatibility People must migrate their code to xmlEncodeEntitiesReentrant ! This routine will issue a warning when encountered.

-
doc:the document containing the string
input:A string to convert to XML.
Returns:NULL

Function: xmlEncodeEntitiesReentrant

xmlChar *	xmlEncodeEntitiesReentrant	(xmlDocPtr doc, 
const xmlChar * input)
+
doc:the document containing the string
input:A string to convert to XML.
Returns:NULL

Function: xmlEncodeEntitiesReentrant

xmlChar *	xmlEncodeEntitiesReentrant	(xmlDocPtr doc, 
const xmlChar * input)

Do a global encoding of a string, replacing the predefined entities and non ASCII values with their entities and CharRef counterparts. Contrary to xmlEncodeEntities, this routine is reentrant, and result must be deallocated.

-
doc:the document containing the string
input:A string to convert to XML.
Returns:A newly allocated string with the substitution done.

Function: xmlEncodeSpecialChars

xmlChar *	xmlEncodeSpecialChars	(xmlDocPtr doc, 
const xmlChar * input)
+
doc:the document containing the string
input:A string to convert to XML.
Returns:A newly allocated string with the substitution done.

Function: xmlEncodeSpecialChars

xmlChar *	xmlEncodeSpecialChars	(xmlDocPtr doc, 
const xmlChar * input)

Do a global encoding of a string, replacing the predefined entities this routine is reentrant, and result must be deallocated.

doc:the document containing the string
input:A string to convert to XML.
Returns:A newly allocated string with the substitution done.

Function: xmlFreeEntitiesTable

void	xmlFreeEntitiesTable		(xmlEntitiesTablePtr table)

Deallocate the memory used by an entities hash table.

-
table:An entity table

Function: xmlGetDocEntity

xmlEntityPtr	xmlGetDocEntity		(xmlDocPtr doc, 
const xmlChar * name)
+
table:An entity table

Function: xmlGetDocEntity

xmlEntityPtr	xmlGetDocEntity		(xmlDocPtr doc, 
const xmlChar * name)

Do an entity lookup in the document entity hash table and

-
doc:the document referencing the entity
name:the entity name
Returns:the corresponding entity, otherwise a lookup is done in the predefined entities too. Returns A pointer to the entity structure or NULL if not found.

Function: xmlGetDtdEntity

xmlEntityPtr	xmlGetDtdEntity		(xmlDocPtr doc, 
const xmlChar * name)
+
doc:the document referencing the entity
name:the entity name
Returns:the corresponding entity, otherwise a lookup is done in the predefined entities too. Returns A pointer to the entity structure or NULL if not found.

Function: xmlGetDtdEntity

xmlEntityPtr	xmlGetDtdEntity		(xmlDocPtr doc, 
const xmlChar * name)

Do an entity lookup in the DTD entity hash table and

-
doc:the document referencing the entity
name:the entity name
Returns:the corresponding entity, if found. Note: the first argument is the document node, not the DTD node. Returns A pointer to the entity structure or NULL if not found.

Function: xmlGetParameterEntity

xmlEntityPtr	xmlGetParameterEntity	(xmlDocPtr doc, 
const xmlChar * name)
+
doc:the document referencing the entity
name:the entity name
Returns:the corresponding entity, if found. Note: the first argument is the document node, not the DTD node. Returns A pointer to the entity structure or NULL if not found.

Function: xmlGetParameterEntity

xmlEntityPtr	xmlGetParameterEntity	(xmlDocPtr doc, 
const xmlChar * name)

Do an entity lookup in the internal and external subsets and

-
doc:the document referencing the entity
name:the entity name
Returns:the corresponding parameter entity, if found. Returns A pointer to the entity structure or NULL if not found.

Function: xmlGetPredefinedEntity

xmlEntityPtr	xmlGetPredefinedEntity	(const xmlChar * name)
+
doc:the document referencing the entity
name:the entity name
Returns:the corresponding parameter entity, if found. Returns A pointer to the entity structure or NULL if not found.

Function: xmlGetPredefinedEntity

xmlEntityPtr	xmlGetPredefinedEntity	(const xmlChar * name)

Check whether this name is an predefined entity.

name:the entity name
Returns:NULL if not, otherwise the entity

Function: xmlInitializePredefinedEntities

void	xmlInitializePredefinedEntities	(void)

Set up the predefined entities. Deprecated call

diff --git a/doc/html/libxml-hash.html b/doc/html/libxml-hash.html index fd5d6319..217b12e7 100644 --- a/doc/html/libxml-hash.html +++ b/doc/html/libxml-hash.html @@ -13,100 +13,100 @@ A:link, A:visited, A:active { text-decoration: underline } Module hash from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module hash from libxml2

API Menu
API Indexes
Related links

Table of Contents

Structure xmlHashTable
struct _xmlHashTable The content of this structure is not made public by the API.
Typedef xmlHashTable * xmlHashTablePtr
-
int	xmlHashAddEntry			(xmlHashTablePtr table, 
const xmlChar * name,
void * userdata)
-
int	xmlHashAddEntry2		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
void * userdata)
-
int	xmlHashAddEntry3		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
void * userdata)
+
int	xmlHashAddEntry			(xmlHashTablePtr table, 
const xmlChar * name,
void * userdata)
+
int	xmlHashAddEntry2		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
void * userdata)
+
int	xmlHashAddEntry3		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
void * userdata)
Function type: xmlHashCopier
-void *	xmlHashCopier			(void * payload, 
xmlChar * name) +void * xmlHashCopier (void * payload,
xmlChar * name)
xmlHashTablePtr	xmlHashCopy		(xmlHashTablePtr table, 
xmlHashCopier f)
xmlHashTablePtr	xmlHashCreate		(int size)
Function type: xmlHashDeallocator
-void	xmlHashDeallocator		(void * payload, 
xmlChar * name) +void xmlHashDeallocator (void * payload,
xmlChar * name)
void	xmlHashFree			(xmlHashTablePtr table, 
xmlHashDeallocator f)
-
void *	xmlHashLookup			(xmlHashTablePtr table, 
const xmlChar * name)
-
void *	xmlHashLookup2			(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2)
-
void *	xmlHashLookup3			(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3)
-
void *	xmlHashQLookup			(xmlHashTablePtr table, 
const xmlChar * prefix,
const xmlChar * name)
-
void *	xmlHashQLookup2			(xmlHashTablePtr table, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * prefix2,
const xmlChar * name2)
-
void *	xmlHashQLookup3			(xmlHashTablePtr table, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * prefix2,
const xmlChar * name2,
const xmlChar * prefix3,
const xmlChar * name3)
-
int	xmlHashRemoveEntry		(xmlHashTablePtr table, 
const xmlChar * name,
xmlHashDeallocator f)
-
int	xmlHashRemoveEntry2		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
xmlHashDeallocator f)
-
int	xmlHashRemoveEntry3		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
xmlHashDeallocator f)
+
void *	xmlHashLookup			(xmlHashTablePtr table, 
const xmlChar * name)
+
void *	xmlHashLookup2			(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2)
+
void *	xmlHashLookup3			(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3)
+
void *	xmlHashQLookup			(xmlHashTablePtr table, 
const xmlChar * prefix,
const xmlChar * name)
+
void *	xmlHashQLookup2			(xmlHashTablePtr table, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * prefix2,
const xmlChar * name2)
+
void *	xmlHashQLookup3			(xmlHashTablePtr table, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * prefix2,
const xmlChar * name2,
const xmlChar * prefix3,
const xmlChar * name3)
+
int	xmlHashRemoveEntry		(xmlHashTablePtr table, 
const xmlChar * name,
xmlHashDeallocator f)
+
int	xmlHashRemoveEntry2		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
xmlHashDeallocator f)
+
int	xmlHashRemoveEntry3		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
xmlHashDeallocator f)
void	xmlHashScan			(xmlHashTablePtr table, 
xmlHashScanner f,
void * data)
-
void	xmlHashScan3			(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
xmlHashScanner f,
void * data)
+
void	xmlHashScan3			(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
xmlHashScanner f,
void * data)
void	xmlHashScanFull			(xmlHashTablePtr table, 
xmlHashScannerFull f,
void * data)
-
void	xmlHashScanFull3		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
xmlHashScannerFull f,
void * data)
+
void	xmlHashScanFull3		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
xmlHashScannerFull f,
void * data)
Function type: xmlHashScanner
-void	xmlHashScanner			(void * payload, 
void * data,
xmlChar * name) +void xmlHashScanner (void * payload,
void * data,
xmlChar * name)
Function type: xmlHashScannerFull
-void	xmlHashScannerFull		(void * payload, 
void * data,
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3) +void xmlHashScannerFull (void * payload,
void * data,
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3)
int	xmlHashSize			(xmlHashTablePtr table)
-
int	xmlHashUpdateEntry		(xmlHashTablePtr table, 
const xmlChar * name,
void * userdata,
xmlHashDeallocator f)
-
int	xmlHashUpdateEntry2		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
void * userdata,
xmlHashDeallocator f)
-
int	xmlHashUpdateEntry3		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
void * userdata,
xmlHashDeallocator f)
+
int	xmlHashUpdateEntry		(xmlHashTablePtr table, 
const xmlChar * name,
void * userdata,
xmlHashDeallocator f)
+
int	xmlHashUpdateEntry2		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
void * userdata,
xmlHashDeallocator f)
+
int	xmlHashUpdateEntry3		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
void * userdata,
xmlHashDeallocator f)

Description

Structure xmlHashTable

Structure xmlHashTable
struct _xmlHashTable { The content of this structure is not made public by the API. -}

Function: xmlHashAddEntry

int	xmlHashAddEntry			(xmlHashTablePtr table, 
const xmlChar * name,
void * userdata)
+}

Function: xmlHashAddEntry

int	xmlHashAddEntry			(xmlHashTablePtr table, 
const xmlChar * name,
void * userdata)

Add the @userdata to the hash @table. This can later be retrieved by using the @name. Duplicate names generate errors.

-
table:the hash table
name:the name of the userdata
userdata:a pointer to the userdata
Returns:0 the addition succeeded and -1 in case of error.

Function: xmlHashAddEntry2

int	xmlHashAddEntry2		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
void * userdata)
+
table:the hash table
name:the name of the userdata
userdata:a pointer to the userdata
Returns:0 the addition succeeded and -1 in case of error.

Function: xmlHashAddEntry2

int	xmlHashAddEntry2		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
void * userdata)

Add the @userdata to the hash @table. This can later be retrieved by using the (@name, @name2) tuple. Duplicate tuples generate errors.

-
table:the hash table
name:the name of the userdata
name2:a second name of the userdata
userdata:a pointer to the userdata
Returns:0 the addition succeeded and -1 in case of error.

Function: xmlHashAddEntry3

int	xmlHashAddEntry3		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
void * userdata)
+
table:the hash table
name:the name of the userdata
name2:a second name of the userdata
userdata:a pointer to the userdata
Returns:0 the addition succeeded and -1 in case of error.

Function: xmlHashAddEntry3

int	xmlHashAddEntry3		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
void * userdata)

Add the @userdata to the hash @table. This can later be retrieved by using the tuple (@name, @name2, @name3). Duplicate entries generate errors.

table:the hash table
name:the name of the userdata
name2:a second name of the userdata
name3:a third name of the userdata
userdata:a pointer to the userdata
Returns:0 the addition succeeded and -1 in case of error.

Function type: xmlHashCopier

Function type: xmlHashCopier
-void *	xmlHashCopier			(void * payload, 
xmlChar * name) +void * xmlHashCopier (void * payload,
xmlChar * name)

Callback to copy data from a hash.

payload:the data in the hash
name:the name associated
Returns:a copy of the data or NULL in case of error.

Function: xmlHashCopy

xmlHashTablePtr	xmlHashCopy		(xmlHashTablePtr table, 
xmlHashCopier f)

Scan the hash @table and applied @f to each value.

table:the hash table
f:the copier function for items in the hash
Returns:the new table or NULL in case of error.

Function: xmlHashCreate

xmlHashTablePtr	xmlHashCreate		(int size)

Create a new xmlHashTablePtr.

size:the size of the hash table
Returns:the newly created object, or NULL if an error occured.

Function type: xmlHashDeallocator

Function type: xmlHashDeallocator
-void	xmlHashDeallocator		(void * payload, 
xmlChar * name) +void xmlHashDeallocator (void * payload,
xmlChar * name)

Callback to free data from a hash.

payload:the data in the hash
name:the name associated

Function: xmlHashFree

void	xmlHashFree			(xmlHashTablePtr table, 
xmlHashDeallocator f)

Free the hash @table and its contents. The userdata is deallocated with @f if provided.

-
table:the hash table
f:the deallocator function for items in the hash

Function: xmlHashLookup

void *	xmlHashLookup			(xmlHashTablePtr table, 
const xmlChar * name)
+
table:the hash table
f:the deallocator function for items in the hash

Function: xmlHashLookup

void *	xmlHashLookup			(xmlHashTablePtr table, 
const xmlChar * name)

Find the userdata specified by the @name.

-
table:the hash table
name:the name of the userdata
Returns:the pointer to the userdata

Function: xmlHashLookup2

void *	xmlHashLookup2			(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2)
+
table:the hash table
name:the name of the userdata
Returns:the pointer to the userdata

Function: xmlHashLookup2

void *	xmlHashLookup2			(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2)

Find the userdata specified by the (@name, @name2) tuple.

-
table:the hash table
name:the name of the userdata
name2:a second name of the userdata
Returns:the pointer to the userdata

Function: xmlHashLookup3

void *	xmlHashLookup3			(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3)
+
table:the hash table
name:the name of the userdata
name2:a second name of the userdata
Returns:the pointer to the userdata

Function: xmlHashLookup3

void *	xmlHashLookup3			(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3)

Find the userdata specified by the (@name, @name2, @name3) tuple.

-
table:the hash table
name:the name of the userdata
name2:a second name of the userdata
name3:a third name of the userdata
Returns:the a pointer to the userdata

Function: xmlHashQLookup

void *	xmlHashQLookup			(xmlHashTablePtr table, 
const xmlChar * prefix,
const xmlChar * name)
+
table:the hash table
name:the name of the userdata
name2:a second name of the userdata
name3:a third name of the userdata
Returns:the a pointer to the userdata

Function: xmlHashQLookup

void *	xmlHashQLookup			(xmlHashTablePtr table, 
const xmlChar * prefix,
const xmlChar * name)

Find the userdata specified by the QName @prefix:@name/@name.

-
table:the hash table
prefix:the prefix of the userdata
name:the name of the userdata
Returns:the pointer to the userdata

Function: xmlHashQLookup2

void *	xmlHashQLookup2			(xmlHashTablePtr table, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * prefix2,
const xmlChar * name2)
+
table:the hash table
prefix:the prefix of the userdata
name:the name of the userdata
Returns:the pointer to the userdata

Function: xmlHashQLookup2

void *	xmlHashQLookup2			(xmlHashTablePtr table, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * prefix2,
const xmlChar * name2)

Find the userdata specified by the QNames tuple

-
table:the hash table
prefix:the prefix of the userdata
name:the name of the userdata
prefix2:the second prefix of the userdata
name2:a second name of the userdata
Returns:the pointer to the userdata

Function: xmlHashQLookup3

void *	xmlHashQLookup3			(xmlHashTablePtr table, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * prefix2,
const xmlChar * name2,
const xmlChar * prefix3,
const xmlChar * name3)
+
table:the hash table
prefix:the prefix of the userdata
name:the name of the userdata
prefix2:the second prefix of the userdata
name2:a second name of the userdata
Returns:the pointer to the userdata

Function: xmlHashQLookup3

void *	xmlHashQLookup3			(xmlHashTablePtr table, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * prefix2,
const xmlChar * name2,
const xmlChar * prefix3,
const xmlChar * name3)

Find the userdata specified by the (@name, @name2, @name3) tuple.

-
table:the hash table
prefix:the prefix of the userdata
name:the name of the userdata
prefix2:the second prefix of the userdata
name2:a second name of the userdata
prefix3:the third prefix of the userdata
name3:a third name of the userdata
Returns:the a pointer to the userdata

Function: xmlHashRemoveEntry

int	xmlHashRemoveEntry		(xmlHashTablePtr table, 
const xmlChar * name,
xmlHashDeallocator f)
+
table:the hash table
prefix:the prefix of the userdata
name:the name of the userdata
prefix2:the second prefix of the userdata
name2:a second name of the userdata
prefix3:the third prefix of the userdata
name3:a third name of the userdata
Returns:the a pointer to the userdata

Function: xmlHashRemoveEntry

int	xmlHashRemoveEntry		(xmlHashTablePtr table, 
const xmlChar * name,
xmlHashDeallocator f)

Find the userdata specified by the @name and remove it from the hash @table. Existing userdata for this tuple will be removed and freed with @f.

-
table:the hash table
name:the name of the userdata
f:the deallocator function for removed item (if any)
Returns:0 if the removal succeeded and -1 in case of error or not found.

Function: xmlHashRemoveEntry2

int	xmlHashRemoveEntry2		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
xmlHashDeallocator f)
+
table:the hash table
name:the name of the userdata
f:the deallocator function for removed item (if any)
Returns:0 if the removal succeeded and -1 in case of error or not found.

Function: xmlHashRemoveEntry2

int	xmlHashRemoveEntry2		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
xmlHashDeallocator f)

Find the userdata specified by the (@name, @name2) tuple and remove it from the hash @table. Existing userdata for this tuple will be removed and freed with @f.

-
table:the hash table
name:the name of the userdata
name2:a second name of the userdata
f:the deallocator function for removed item (if any)
Returns:0 if the removal succeeded and -1 in case of error or not found.

Function: xmlHashRemoveEntry3

int	xmlHashRemoveEntry3		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
xmlHashDeallocator f)
+
table:the hash table
name:the name of the userdata
name2:a second name of the userdata
f:the deallocator function for removed item (if any)
Returns:0 if the removal succeeded and -1 in case of error or not found.

Function: xmlHashRemoveEntry3

int	xmlHashRemoveEntry3		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
xmlHashDeallocator f)

Find the userdata specified by the (@name, @name2, @name3) tuple and remove it from the hash @table. Existing userdata for this tuple will be removed and freed with @f.

table:the hash table
name:the name of the userdata
name2:a second name of the userdata
name3:a third name of the userdata
f:the deallocator function for removed item (if any)
Returns:0 if the removal succeeded and -1 in case of error or not found.

Function: xmlHashScan

void	xmlHashScan			(xmlHashTablePtr table, 
xmlHashScanner f,
void * data)

Scan the hash @table and applied @f to each value.

-
table:the hash table
f:the scanner function for items in the hash
data:extra data passed to f

Function: xmlHashScan3

void	xmlHashScan3			(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
xmlHashScanner f,
void * data)
+
table:the hash table
f:the scanner function for items in the hash
data:extra data passed to f

Function: xmlHashScan3

void	xmlHashScan3			(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
xmlHashScanner f,
void * data)

Scan the hash @table and applied @f to each value matching (@name, @name2, @name3) tuple. If one of the names is null, the comparison is considered to match.

table:the hash table
name:the name of the userdata or NULL
name2:a second name of the userdata or NULL
name3:a third name of the userdata or NULL
f:the scanner function for items in the hash
data:extra data passed to f

Function: xmlHashScanFull

void	xmlHashScanFull			(xmlHashTablePtr table, 
xmlHashScannerFull f,
void * data)

Scan the hash @table and applied @f to each value.

-
table:the hash table
f:the scanner function for items in the hash
data:extra data passed to f

Function: xmlHashScanFull3

void	xmlHashScanFull3		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
xmlHashScannerFull f,
void * data)
+
table:the hash table
f:the scanner function for items in the hash
data:extra data passed to f

Function: xmlHashScanFull3

void	xmlHashScanFull3		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
xmlHashScannerFull f,
void * data)

Scan the hash @table and applied @f to each value matching (@name, @name2, @name3) tuple. If one of the names is null, the comparison is considered to match.

table:the hash table
name:the name of the userdata or NULL
name2:a second name of the userdata or NULL
name3:a third name of the userdata or NULL
f:the scanner function for items in the hash
data:extra data passed to f

Function type: xmlHashScanner

Function type: xmlHashScanner
-void	xmlHashScanner			(void * payload, 
void * data,
xmlChar * name) +void xmlHashScanner (void * payload,
void * data,
xmlChar * name)

Callback when scanning data in a hash with the simple scanner.

payload:the data in the hash
data:extra scannner data
name:the name associated

Function type: xmlHashScannerFull

Function type: xmlHashScannerFull
-void	xmlHashScannerFull		(void * payload, 
void * data,
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3) +void xmlHashScannerFull (void * payload,
void * data,
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3)

Callback when scanning data in a hash with the full scanner.

payload:the data in the hash
data:extra scannner data
name:the name associated
name2:the second name associated
name3:the third name associated

Function: xmlHashSize

int	xmlHashSize			(xmlHashTablePtr table)

Query the number of elements installed in the hash @table.

-
table:the hash table
Returns:the number of elements in the hash table or -1 in case of error

Function: xmlHashUpdateEntry

int	xmlHashUpdateEntry		(xmlHashTablePtr table, 
const xmlChar * name,
void * userdata,
xmlHashDeallocator f)
+
table:the hash table
Returns:the number of elements in the hash table or -1 in case of error

Function: xmlHashUpdateEntry

int	xmlHashUpdateEntry		(xmlHashTablePtr table, 
const xmlChar * name,
void * userdata,
xmlHashDeallocator f)

Add the @userdata to the hash @table. This can later be retrieved by using the @name. Existing entry for this @name will be removed and freed with @f if found.

-
table:the hash table
name:the name of the userdata
userdata:a pointer to the userdata
f:the deallocator function for replaced item (if any)
Returns:0 the addition succeeded and -1 in case of error.

Function: xmlHashUpdateEntry2

int	xmlHashUpdateEntry2		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
void * userdata,
xmlHashDeallocator f)
+
table:the hash table
name:the name of the userdata
userdata:a pointer to the userdata
f:the deallocator function for replaced item (if any)
Returns:0 the addition succeeded and -1 in case of error.

Function: xmlHashUpdateEntry2

int	xmlHashUpdateEntry2		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
void * userdata,
xmlHashDeallocator f)

Add the @userdata to the hash @table. This can later be retrieved by using the (@name, @name2) tuple. Existing entry for this tuple will be removed and freed with @f if found.

-
table:the hash table
name:the name of the userdata
name2:a second name of the userdata
userdata:a pointer to the userdata
f:the deallocator function for replaced item (if any)
Returns:0 the addition succeeded and -1 in case of error.

Function: xmlHashUpdateEntry3

int	xmlHashUpdateEntry3		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
void * userdata,
xmlHashDeallocator f)
+
table:the hash table
name:the name of the userdata
name2:a second name of the userdata
userdata:a pointer to the userdata
f:the deallocator function for replaced item (if any)
Returns:0 the addition succeeded and -1 in case of error.

Function: xmlHashUpdateEntry3

int	xmlHashUpdateEntry3		(xmlHashTablePtr table, 
const xmlChar * name,
const xmlChar * name2,
const xmlChar * name3,
void * userdata,
xmlHashDeallocator f)

Add the @userdata to the hash @table. This can later be retrieved by using the tuple (@name, @name2, @name3). Existing entry for this tuple will be removed and freed with @f if found.

table:the hash table
name:the name of the userdata
name2:a second name of the userdata
name3:a third name of the userdata
userdata:a pointer to the userdata
f:the deallocator function for replaced item (if any)
Returns:0 the addition succeeded and -1 in case of error.

Daniel Veillard

diff --git a/doc/html/libxml-lib.html b/doc/html/libxml-lib.html index b9bb86e0..b17821c6 100644 --- a/doc/html/libxml-lib.html +++ b/doc/html/libxml-lib.html @@ -10,4 +10,4 @@ A:link, A:visited, A:active { text-decoration: underline } Reference Manual for libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Reference Manual for libxml2

API Menu
API Indexes
Related links

Table of Contents

  • DOCBparser: old DocBook SGML parser
  • HTMLparser: interface for an HTML 4.0 non-verifying parser
  • HTMLtree: specific APIs to process HTML tree, especially serialization
  • SAX: Old SAX version 1 handler, deprecated
  • SAX2: SAX2 parser interface used to build the DOM tree
  • c14n: Provide Canonical XML and Exclusive XML Canonicalization
  • catalog: interfaces to the Catalog handling system
  • chvalid: Unicode character range checking
  • debugXML: Tree debugging APIs
  • dict: string dictionnary
  • encoding: interface for the encoding conversion functions
  • entities: interface for the XML entities handling
  • globals: interface for all global variables of the library
  • hash: chained hash tables
  • list: lists interfaces
  • nanoftp: minimal FTP implementation
  • nanohttp: minimal HTTP implementation
  • parser: the core parser module
  • parserInternals: internals routines exported by the parser.
  • pattern: pattern expression handling
  • relaxng: implementation of the Relax-NG validation
  • schemasInternals: internal interfaces for XML Schemas
  • threads: interfaces for thread handling
  • tree: interfaces for tree manipulation
  • uri: library of generic URI related routines
  • valid: The DTD validation
  • xinclude: implementation of XInclude
  • xlink: unfinished XLink detection module
  • xmlIO: interface for the I/O interfaces used by the parser
  • xmlautomata: API to build regexp automata
  • xmlerror: error handling
  • xmlexports: macros for marking symbols as exportable/importable.
  • xmlmemory: interface for the memory allocator
  • xmlreader: the XMLReader implementation
  • xmlregexp: regular expressions handling
  • xmlschemas: incomplete XML Schemas structure implementation
  • xmlschemastypes: implementation of XML Schema Datatypes
  • xmlunicode: Unicode character APIs
  • xmlversion: compile-time version informations
  • xmlwriter: text writing API for XML
  • xpath: XML Path Language implementation
  • xpathInternals: internal interfaces for XML Path Language implementation
  • xpointer: API to handle XML Pointers

Daniel Veillard

+ Reference Manual for libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Reference Manual for libxml2

API Menu
API Indexes
Related links

Table of Contents

  • DOCBparser: old DocBook SGML parser
  • HTMLparser: interface for an HTML 4.0 non-verifying parser
  • HTMLtree: specific APIs to process HTML tree, especially serialization
  • SAX: Old SAX version 1 handler, deprecated
  • SAX2: SAX2 parser interface used to build the DOM tree
  • c14n: Provide Canonical XML and Exclusive XML Canonicalization
  • catalog: interfaces to the Catalog handling system
  • chvalid: Unicode character range checking
  • debugXML: Tree debugging APIs
  • dict: string dictionnary
  • encoding: interface for the encoding conversion functions
  • entities: interface for the XML entities handling
  • globals: interface for all global variables of the library
  • hash: chained hash tables
  • list: lists interfaces
  • nanoftp: minimal FTP implementation
  • nanohttp: minimal HTTP implementation
  • parser: the core parser module
  • parserInternals: internals routines exported by the parser.
  • pattern: pattern expression handling
  • relaxng: implementation of the Relax-NG validation
  • schemasInternals: internal interfaces for XML Schemas
  • threads: interfaces for thread handling
  • tree: interfaces for tree manipulation
  • uri: library of generic URI related routines
  • valid: The DTD validation
  • xinclude: implementation of XInclude
  • xlink: unfinished XLink detection module
  • xmlIO: interface for the I/O interfaces used by the parser
  • xmlautomata: API to build regexp automata
  • xmlerror: error handling
  • xmlexports: macros for marking symbols as exportable/importable.
  • xmlmemory: interface for the memory allocator
  • xmlreader: the XMLReader implementation
  • xmlregexp: regular expressions handling
  • xmlschemas: incomplete XML Schemas structure implementation
  • xmlschemastypes: implementation of XML Schema Datatypes
  • xmlstring: the core parser module
  • xmlunicode: Unicode character APIs
  • xmlversion: compile-time version informations
  • xmlwriter: text writing API for XML
  • xpath: XML Path Language implementation
  • xpathInternals: internal interfaces for XML Path Language implementation
  • xpointer: API to handle XML Pointers

Daniel Veillard

diff --git a/doc/html/libxml-nanoftp.html b/doc/html/libxml-nanoftp.html index afcd4d51..55980c07 100644 --- a/doc/html/libxml-nanoftp.html +++ b/doc/html/libxml-nanoftp.html @@ -44,7 +44,7 @@ void ftpDataCallback (void * userData,
const char * data,

A callback for the xmlNanoFTPGet command.

userData:the user provided context
data:the data received
len:its size in bytes

Function type: ftpListCallback

Function type: ftpListCallback
 void	ftpListCallback			(void * userData, 
const char * filename,
const char * attrib,
const char * owner,
const char * group,
unsigned long size,
int links,
int year,
const char * month,
int day,
int hour,
int minute) -

A callback for the xmlNanoFTPList command. Note that only one of year and day:minute are specified.

userData:user provided data for the callback
filename:the file name (including "->" when links are shown)
attrib:the attribute string
owner:the owner string
group:the group string
size:the file size
links:the link count
year:the year
month:the month
day:the day
hour:the hour
minute:the minute

+

A callback for the xmlNanoFTPList command. Note that only one of year and day:minute are specified.

userData:user provided data for the callback
filename:the file name (including "->" when links are shown)
attrib:the attribute string
owner:the owner string
group:the group string
size:the file size
links:the link count
year:the year
month:the month
day:the day
hour:the hour
minute:the minute

Function: xmlNanoFTPCheckResponse

int	xmlNanoFTPCheckResponse		(void * ctx)

Check if there is a response from the FTP server after a command.

ctx:an FTP context
Returns:the code number, or 0

Function: xmlNanoFTPCleanup

void	xmlNanoFTPCleanup		(void)
diff --git a/doc/html/libxml-parser.html b/doc/html/libxml-parser.html index 32aed564..92b80bc5 100644 --- a/doc/html/libxml-parser.html +++ b/doc/html/libxml-parser.html @@ -19,49 +19,49 @@ A:link, A:visited, A:active { text-decoration: underline }
Structure xmlSAXHandlerV1
struct _xmlSAXHandlerV1
Typedef xmlSAXHandlerV1 * xmlSAXHandlerV1Ptr
 
Function type: attributeDeclSAXFunc
-void	attributeDeclSAXFunc		(void * ctx, 
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree) +void attributeDeclSAXFunc (void * ctx,
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)
Function type: attributeSAXFunc
-void	attributeSAXFunc		(void * ctx, 
const xmlChar * name,
const xmlChar * value) +void attributeSAXFunc (void * ctx,
const xmlChar * name,
const xmlChar * value)
Function type: cdataBlockSAXFunc
-void	cdataBlockSAXFunc		(void * ctx, 
const xmlChar * value,
int len) +void cdataBlockSAXFunc (void * ctx,
const xmlChar * value,
int len)
Function type: charactersSAXFunc
-void	charactersSAXFunc		(void * ctx, 
const xmlChar * ch,
int len) +void charactersSAXFunc (void * ctx,
const xmlChar * ch,
int len)
Function type: commentSAXFunc
-void	commentSAXFunc			(void * ctx, 
const xmlChar * value) +void commentSAXFunc (void * ctx,
const xmlChar * value)
Function type: elementDeclSAXFunc
-void	elementDeclSAXFunc		(void * ctx, 
const xmlChar * name,
int type,
xmlElementContentPtr content) +void elementDeclSAXFunc (void * ctx,
const xmlChar * name,
int type,
xmlElementContentPtr content)
Function type: endDocumentSAXFunc
 void	endDocumentSAXFunc		(void * ctx)
 
Function type: endElementNsSAX2Func
-void	endElementNsSAX2Func		(void * ctx, 
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI) +void endElementNsSAX2Func (void * ctx,
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI)
Function type: endElementSAXFunc
-void	endElementSAXFunc		(void * ctx, 
const xmlChar * name) +void endElementSAXFunc (void * ctx,
const xmlChar * name)
Function type: entityDeclSAXFunc
-void	entityDeclSAXFunc		(void * ctx, 
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content) +void entityDeclSAXFunc (void * ctx,
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content)
Function type: errorSAXFunc
 void	errorSAXFunc			(void * ctx, 
const char * msg,
... ...)
Function type: externalSubsetSAXFunc
-void	externalSubsetSAXFunc		(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID) +void externalSubsetSAXFunc (void * ctx,
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
Function type: fatalErrorSAXFunc
 void	fatalErrorSAXFunc		(void * ctx, 
const char * msg,
... ...)
Function type: getEntitySAXFunc
-xmlEntityPtr	getEntitySAXFunc	(void * ctx, 
const xmlChar * name) +xmlEntityPtr getEntitySAXFunc (void * ctx,
const xmlChar * name)
Function type: getParameterEntitySAXFunc
-xmlEntityPtr	getParameterEntitySAXFunc	(void * ctx, 
const xmlChar * name) +xmlEntityPtr getParameterEntitySAXFunc (void * ctx,
const xmlChar * name)
Function type: hasExternalSubsetSAXFunc
 int	hasExternalSubsetSAXFunc	(void * ctx)
@@ -70,25 +70,25 @@ int	hasExternalSubsetSAXFunc	(void * ctx
 int	hasInternalSubsetSAXFunc	(void * ctx)
 
Function type: ignorableWhitespaceSAXFunc
-void	ignorableWhitespaceSAXFunc	(void * ctx, 
const xmlChar * ch,
int len) +void ignorableWhitespaceSAXFunc (void * ctx,
const xmlChar * ch,
int len)
Function type: internalSubsetSAXFunc
-void	internalSubsetSAXFunc		(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID) +void internalSubsetSAXFunc (void * ctx,
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
Function type: isStandaloneSAXFunc
 int	isStandaloneSAXFunc		(void * ctx)
 
Function type: notationDeclSAXFunc
-void	notationDeclSAXFunc		(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId) +void notationDeclSAXFunc (void * ctx,
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId)
Function type: processingInstructionSAXFunc
-void	processingInstructionSAXFunc	(void * ctx, 
const xmlChar * target,
const xmlChar * data) +void processingInstructionSAXFunc (void * ctx,
const xmlChar * target,
const xmlChar * data)
Function type: referenceSAXFunc
-void	referenceSAXFunc		(void * ctx, 
const xmlChar * name) +void referenceSAXFunc (void * ctx,
const xmlChar * name)
Function type: resolveEntitySAXFunc
-xmlParserInputPtr	resolveEntitySAXFunc	(void * ctx, 
const xmlChar * publicId,
const xmlChar * systemId) +xmlParserInputPtr resolveEntitySAXFunc (void * ctx,
const xmlChar * publicId,
const xmlChar * systemId)
Function type: setDocumentLocatorSAXFunc
 void	setDocumentLocatorSAXFunc	(void * ctx, 
xmlSAXLocatorPtr loc) @@ -97,26 +97,24 @@ void setDocumentLocatorSAXFunc (void * void startDocumentSAXFunc (void * ctx)
Function type: startElementNsSAX2Func
-void	startElementNsSAX2Func		(void * ctx, 
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI,
int nb_namespaces,
const xmlChar ** namespaces,
int nb_attributes,
int nb_defaulted,
const xmlChar ** attributes) +void startElementNsSAX2Func (void * ctx,
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI,
int nb_namespaces,
const xmlChar ** namespaces,
int nb_attributes,
int nb_defaulted,
const xmlChar ** attributes)
Function type: startElementSAXFunc
-void	startElementSAXFunc		(void * ctx, 
const xmlChar * name,
const xmlChar ** atts) +void startElementSAXFunc (void * ctx,
const xmlChar * name,
const xmlChar ** atts)
Function type: unparsedEntityDeclSAXFunc
-void	unparsedEntityDeclSAXFunc	(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName) +void unparsedEntityDeclSAXFunc (void * ctx,
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName)
Function type: warningSAXFunc
 void	warningSAXFunc			(void * ctx, 
const char * msg,
... ...)
-
xmlChar *	xmlCharStrdup		(const char * cur)
-
xmlChar *	xmlCharStrndup		(const char * cur, 
int len)
void	xmlCleanupParser		(void)
void	xmlClearNodeInfoSeq		(xmlParserNodeInfoSeqPtr seq)
void	xmlClearParserCtxt		(xmlParserCtxtPtr ctxt)
-
xmlParserCtxtPtr	xmlCreateDocParserCtxt	(const xmlChar * cur)
+
xmlParserCtxtPtr	xmlCreateDocParserCtxt	(const xmlChar * cur)
xmlParserCtxtPtr	xmlCreateIOParserCtxt	(xmlSAXHandlerPtr sax, 
void * user_data,
xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void * ioctx,
xmlCharEncoding enc)
xmlParserCtxtPtr	xmlCreatePushParserCtxt	(xmlSAXHandlerPtr sax, 
void * user_data,
const char * chunk,
int size,
const char * filename)
-
xmlDocPtr	xmlCtxtReadDoc		(xmlParserCtxtPtr ctxt, 
const xmlChar * cur,
const char * URL,
const char * encoding,
int options)
+
xmlDocPtr	xmlCtxtReadDoc		(xmlParserCtxtPtr ctxt, 
const xmlChar * cur,
const char * URL,
const char * encoding,
int options)
xmlDocPtr	xmlCtxtReadFd		(xmlParserCtxtPtr ctxt, 
int fd,
const char * URL,
const char * encoding,
int options)
xmlDocPtr	xmlCtxtReadFile		(xmlParserCtxtPtr ctxt, 
const char * filename,
const char * encoding,
int options)
xmlDocPtr	xmlCtxtReadIO		(xmlParserCtxtPtr ctxt, 
xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void * ioctx,
const char * URL,
const char * encoding,
int options)
@@ -140,37 +138,37 @@ void warningSAXFunc (void * ctx,
con
xmlParserInputPtr	xmlLoadExternalEntity	(const char * URL, 
const char * ID,
xmlParserCtxtPtr ctxt)
xmlParserInputPtr	xmlNewIOInputStream	(xmlParserCtxtPtr ctxt, 
xmlParserInputBufferPtr input,
xmlCharEncoding enc)
xmlParserCtxtPtr	xmlNewParserCtxt	(void)
-
int	xmlParseBalancedChunkMemory	(xmlDocPtr doc, 
xmlSAXHandlerPtr sax,
void * user_data,
int depth,
const xmlChar * string,
xmlNodePtr * lst)
-
int	xmlParseBalancedChunkMemoryRecover	(xmlDocPtr doc, 
xmlSAXHandlerPtr sax,
void * user_data,
int depth,
const xmlChar * string,
xmlNodePtr * lst,
int recover)
+
int	xmlParseBalancedChunkMemory	(xmlDocPtr doc, 
xmlSAXHandlerPtr sax,
void * user_data,
int depth,
const xmlChar * string,
xmlNodePtr * lst)
+
int	xmlParseBalancedChunkMemoryRecover	(xmlDocPtr doc, 
xmlSAXHandlerPtr sax,
void * user_data,
int depth,
const xmlChar * string,
xmlNodePtr * lst,
int recover)
int	xmlParseChunk			(xmlParserCtxtPtr ctxt, 
const char * chunk,
int size,
int terminate)
-
int	xmlParseCtxtExternalEntity	(xmlParserCtxtPtr ctx, 
const xmlChar * URL,
const xmlChar * ID,
xmlNodePtr * lst)
-
xmlDtdPtr	xmlParseDTD		(const xmlChar * ExternalID, 
const xmlChar * SystemID)
-
xmlDocPtr	xmlParseDoc		(xmlChar * cur)
+
int	xmlParseCtxtExternalEntity	(xmlParserCtxtPtr ctx, 
const xmlChar * URL,
const xmlChar * ID,
xmlNodePtr * lst)
+
xmlDtdPtr	xmlParseDTD		(const xmlChar * ExternalID, 
const xmlChar * SystemID)
+
xmlDocPtr	xmlParseDoc		(xmlChar * cur)
int	xmlParseDocument		(xmlParserCtxtPtr ctxt)
xmlDocPtr	xmlParseEntity		(const char * filename)
int	xmlParseExtParsedEnt		(xmlParserCtxtPtr ctxt)
-
int	xmlParseExternalEntity		(xmlDocPtr doc, 
xmlSAXHandlerPtr sax,
void * user_data,
int depth,
const xmlChar * URL,
const xmlChar * ID,
xmlNodePtr * lst)
+
int	xmlParseExternalEntity		(xmlDocPtr doc, 
xmlSAXHandlerPtr sax,
void * user_data,
int depth,
const xmlChar * URL,
const xmlChar * ID,
xmlNodePtr * lst)
xmlDocPtr	xmlParseFile		(const char * filename)
xmlDocPtr	xmlParseMemory		(const char * buffer, 
int size)
void	xmlParserAddNodeInfo		(xmlParserCtxtPtr ctxt, 
const xmlParserNodeInfoPtr info)
const xmlParserNodeInfo *	xmlParserFindNodeInfo	(const xmlParserCtxtPtr ctx, 
const xmlNodePtr node)
unsigned long	xmlParserFindNodeInfoIndex	(const xmlParserNodeInfoSeqPtr seq, 
const xmlNodePtr node)
Function type: xmlParserInputDeallocate
-void	xmlParserInputDeallocate	(xmlChar * str)
+void	xmlParserInputDeallocate	(xmlChar * str)
 
int	xmlParserInputGrow		(xmlParserInputPtr in, 
int len)
int	xmlParserInputRead		(xmlParserInputPtr in, 
int len)
int	xmlPedanticParserDefault	(int val)
-
xmlDocPtr	xmlReadDoc		(const xmlChar * cur, 
const char * URL,
const char * encoding,
int options)
+
xmlDocPtr	xmlReadDoc		(const xmlChar * cur, 
const char * URL,
const char * encoding,
int options)
xmlDocPtr	xmlReadFd		(int fd, 
const char * URL,
const char * encoding,
int options)
xmlDocPtr	xmlReadFile		(const char * filename, 
const char * encoding,
int options)
xmlDocPtr	xmlReadIO		(xmlInputReadCallback ioread, 
xmlInputCloseCallback ioclose,
void * ioctx,
const char * URL,
const char * encoding,
int options)
xmlDocPtr	xmlReadMemory		(const char * buffer, 
int size,
const char * URL,
const char * encoding,
int options)
-
xmlDocPtr	xmlRecoverDoc		(xmlChar * cur)
+
xmlDocPtr	xmlRecoverDoc		(xmlChar * cur)
xmlDocPtr	xmlRecoverFile		(const char * filename)
xmlDocPtr	xmlRecoverMemory	(const char * buffer, 
int size)
-
xmlDtdPtr	xmlSAXParseDTD		(xmlSAXHandlerPtr sax, 
const xmlChar * ExternalID,
const xmlChar * SystemID)
-
xmlDocPtr	xmlSAXParseDoc		(xmlSAXHandlerPtr sax, 
xmlChar * cur,
int recovery)
+
xmlDtdPtr	xmlSAXParseDTD		(xmlSAXHandlerPtr sax, 
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
xmlDocPtr	xmlSAXParseDoc		(xmlSAXHandlerPtr sax, 
xmlChar * cur,
int recovery)
xmlDocPtr	xmlSAXParseEntity	(xmlSAXHandlerPtr sax, 
const char * filename)
xmlDocPtr	xmlSAXParseFile		(xmlSAXHandlerPtr sax, 
const char * filename,
int recovery)
xmlDocPtr	xmlSAXParseFileWithData	(xmlSAXHandlerPtr sax, 
const char * filename,
int recovery,
void * data)
@@ -180,26 +178,8 @@ void xmlParserInputDeallocate (int xmlSAXUserParseMemory (xmlSAXHandlerPtr sax,
void * user_data,
const char * buffer,
int size)
void	xmlSetExternalEntityLoader	(xmlExternalEntityLoader f)
int	xmlSetFeature			(xmlParserCtxtPtr ctxt, 
const char * name,
void * value)
-
void	xmlSetupParserForBuffer		(xmlParserCtxtPtr ctxt, 
const xmlChar * buffer,
const char * filename)
+
void	xmlSetupParserForBuffer		(xmlParserCtxtPtr ctxt, 
const xmlChar * buffer,
const char * filename)
void	xmlStopParser			(xmlParserCtxtPtr ctxt)
-
int	xmlStrEqual			(const xmlChar * str1, 
const xmlChar * str2)
-
int	xmlStrPrintf			(xmlChar * buf, 
int len,
const xmlChar * msg,
... ...)
-
int	xmlStrQEqual			(const xmlChar * pref, 
const xmlChar * name,
const xmlChar * str)
-
int	xmlStrVPrintf			(xmlChar * buf, 
int len,
const xmlChar * msg,
va_list ap)
-
int	xmlStrcasecmp			(const xmlChar * str1, 
const xmlChar * str2)
-
const xmlChar *	xmlStrcasestr		(const xmlChar * str, 
xmlChar * val)
-
xmlChar *	xmlStrcat		(xmlChar * cur, 
const xmlChar * add)
-
const xmlChar *	xmlStrchr		(const xmlChar * str, 
xmlChar val)
-
int	xmlStrcmp			(const xmlChar * str1, 
const xmlChar * str2)
-
xmlChar *	xmlStrdup		(const xmlChar * cur)
-
int	xmlStrlen			(const xmlChar * str)
-
int	xmlStrncasecmp			(const xmlChar * str1, 
const xmlChar * str2,
int len)
-
xmlChar *	xmlStrncat		(xmlChar * cur, 
const xmlChar * add,
int len)
-
xmlChar *	xmlStrncatNew		(const xmlChar * str1, 
const xmlChar * str2,
int len)
-
int	xmlStrncmp			(const xmlChar * str1, 
const xmlChar * str2,
int len)
-
xmlChar *	xmlStrndup		(const xmlChar * cur, 
int len)
-
const xmlChar *	xmlStrstr		(const xmlChar * str, 
const xmlChar * val)
-
xmlChar *	xmlStrsub		(const xmlChar * str, 
int start,
int len)
int	xmlSubstituteEntitiesDefault	(int val)

Description

Macro: XML_COMPLETE_ATTRS

#define XML_COMPLETE_ATTRS

Bit in the loadsubset context field to tell to do complete the elements attributes lists with the ones defaulted from the DTDs. Use it to initialize xmlLoadExtDtdDefaultValue.

@@ -284,49 +264,49 @@ void xmlParserInputDeallocate (externalSubsetSAXFunc externalSubset unsigned int initialized }

Function type: attributeDeclSAXFunc

Function type: attributeDeclSAXFunc
-void	attributeDeclSAXFunc		(void * ctx, 
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree) +void attributeDeclSAXFunc (void * ctx,
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)

An attribute definition has been parsed.

ctx:the user data (XML parser context)
elem:the name of the element
fullname:the attribute name
type:the attribute type
def:the type of default value
defaultValue:the attribute default value
tree:the tree of enumerated value set

Function type: attributeSAXFunc

Function type: attributeSAXFunc
-void	attributeSAXFunc		(void * ctx, 
const xmlChar * name,
const xmlChar * value) +void attributeSAXFunc (void * ctx,
const xmlChar * name,
const xmlChar * value)

Handle an attribute that has been read by the parser. The default handling is to convert the attribute into an DOM subtree and past it in a new xmlAttr element added to the element.

ctx:the user data (XML parser context)
name:The attribute name, including namespace prefix
value:The attribute value

Function type: cdataBlockSAXFunc

Function type: cdataBlockSAXFunc
-void	cdataBlockSAXFunc		(void * ctx, 
const xmlChar * value,
int len) +void cdataBlockSAXFunc (void * ctx,
const xmlChar * value,
int len)

Called when a pcdata block has been parsed.

ctx:the user data (XML parser context)
value:The pcdata content
len:the block length

Function type: charactersSAXFunc

Function type: charactersSAXFunc
-void	charactersSAXFunc		(void * ctx, 
const xmlChar * ch,
int len) -

Receiving some chars from the parser.

ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar

+void charactersSAXFunc (void * ctx,
const xmlChar * ch,
int len) +

Receiving some chars from the parser.

ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar

Function type: commentSAXFunc

Function type: commentSAXFunc
-void	commentSAXFunc			(void * ctx, 
const xmlChar * value) +void commentSAXFunc (void * ctx,
const xmlChar * value)

A comment has been parsed.

ctx:the user data (XML parser context)
value:the comment content

Function type: elementDeclSAXFunc

Function type: elementDeclSAXFunc
-void	elementDeclSAXFunc		(void * ctx, 
const xmlChar * name,
int type,
xmlElementContentPtr content) +void elementDeclSAXFunc (void * ctx,
const xmlChar * name,
int type,
xmlElementContentPtr content)

An element definition has been parsed.

ctx:the user data (XML parser context)
name:the element name
type:the element type
content:the element value tree

Function type: endDocumentSAXFunc

Function type: endDocumentSAXFunc
 void	endDocumentSAXFunc		(void * ctx)
 

Called when the document end has been detected.

ctx:the user data (XML parser context)

Function type: endElementNsSAX2Func

Function type: endElementNsSAX2Func
-void	endElementNsSAX2Func		(void * ctx, 
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI) +void endElementNsSAX2Func (void * ctx,
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI)

SAX2 callback when an element end has been detected by the parser. It provides the namespace informations for the element.

ctx:the user data (XML parser context)
localname:the local name of the element
prefix:the element namespace prefix if available
URI:the element namespace name if available

Function type: endElementSAXFunc

Function type: endElementSAXFunc
-void	endElementSAXFunc		(void * ctx, 
const xmlChar * name) +void endElementSAXFunc (void * ctx,
const xmlChar * name)

Called when the end of an element has been detected.

ctx:the user data (XML parser context)
name:The element name

Function type: entityDeclSAXFunc

Function type: entityDeclSAXFunc
-void	entityDeclSAXFunc		(void * ctx, 
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content) +void entityDeclSAXFunc (void * ctx,
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content)

An entity definition has been parsed.

ctx:the user data (XML parser context)
name:the entity name
type:the entity type
publicId:The public ID of the entity
systemId:The system ID of the entity
content:the entity value (without processing).

Function type: errorSAXFunc

Function type: errorSAXFunc
 void	errorSAXFunc			(void * ctx, 
const char * msg,
... ...)

Display and format an error messages, callback.

ctx:an XML parser context
msg:the message to display/transmit
...:extra parameters for the message display

Function type: externalSubsetSAXFunc

Function type: externalSubsetSAXFunc
-void	externalSubsetSAXFunc		(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID) +void externalSubsetSAXFunc (void * ctx,
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)

Callback on external subset declaration.

ctx:the user data (XML parser context)
name:the root element name
ExternalID:the external ID
SystemID:the SYSTEM ID (e.g. filename or URL)

Function type: fatalErrorSAXFunc

Function type: fatalErrorSAXFunc
 void	fatalErrorSAXFunc		(void * ctx, 
const char * msg,
... ...)

Display and format fatal error messages, callback. Note: so far fatalError() SAX callbacks are not used, error() get all the callbacks for errors.

ctx:an XML parser context
msg:the message to display/transmit
...:extra parameters for the message display

Function type: getEntitySAXFunc

Function type: getEntitySAXFunc
-xmlEntityPtr	getEntitySAXFunc	(void * ctx, 
const xmlChar * name) +xmlEntityPtr getEntitySAXFunc (void * ctx,
const xmlChar * name)

Get an entity by name.

ctx:the user data (XML parser context)
name:The entity name
Returns:the xmlEntityPtr if found.

Function type: getParameterEntitySAXFunc

Function type: getParameterEntitySAXFunc
-xmlEntityPtr	getParameterEntitySAXFunc	(void * ctx, 
const xmlChar * name) +xmlEntityPtr getParameterEntitySAXFunc (void * ctx,
const xmlChar * name)

Get a parameter entity by name.

ctx:the user data (XML parser context)
name:The entity name
Returns:the xmlEntityPtr if found.

Function type: hasExternalSubsetSAXFunc

Function type: hasExternalSubsetSAXFunc
 int	hasExternalSubsetSAXFunc	(void * ctx)
@@ -335,25 +315,25 @@ int	hasExternalSubsetSAXFunc	(void * ctx)
 int	hasInternalSubsetSAXFunc	(void * ctx)
 

Does this document has an internal subset.

ctx:the user data (XML parser context)
Returns:1 if true

Function type: ignorableWhitespaceSAXFunc

Function type: ignorableWhitespaceSAXFunc
-void	ignorableWhitespaceSAXFunc	(void * ctx, 
const xmlChar * ch,
int len) -

Receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use characters.

ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar

+void ignorableWhitespaceSAXFunc (void * ctx,
const xmlChar * ch,
int len) +

Receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use characters.

ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar

Function type: internalSubsetSAXFunc

Function type: internalSubsetSAXFunc
-void	internalSubsetSAXFunc		(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID) +void internalSubsetSAXFunc (void * ctx,
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)

Callback on internal subset declaration.

ctx:the user data (XML parser context)
name:the root element name
ExternalID:the external ID
SystemID:the SYSTEM ID (e.g. filename or URL)

Function type: isStandaloneSAXFunc

Function type: isStandaloneSAXFunc
 int	isStandaloneSAXFunc		(void * ctx)
 

Is this document tagged standalone?

ctx:the user data (XML parser context)
Returns:1 if true

Function type: notationDeclSAXFunc

Function type: notationDeclSAXFunc
-void	notationDeclSAXFunc		(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId) +void notationDeclSAXFunc (void * ctx,
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId)

What to do when a notation declaration has been parsed.

ctx:the user data (XML parser context)
name:The name of the notation
publicId:The public ID of the entity
systemId:The system ID of the entity

Function type: processingInstructionSAXFunc

Function type: processingInstructionSAXFunc
-void	processingInstructionSAXFunc	(void * ctx, 
const xmlChar * target,
const xmlChar * data) +void processingInstructionSAXFunc (void * ctx,
const xmlChar * target,
const xmlChar * data)

A processing instruction has been parsed.

ctx:the user data (XML parser context)
target:the target name
data:the PI data's

Function type: referenceSAXFunc

Function type: referenceSAXFunc
-void	referenceSAXFunc		(void * ctx, 
const xmlChar * name) +void referenceSAXFunc (void * ctx,
const xmlChar * name)

Called when an entity reference is detected.

ctx:the user data (XML parser context)
name:The entity name

Function type: resolveEntitySAXFunc

Function type: resolveEntitySAXFunc
-xmlParserInputPtr	resolveEntitySAXFunc	(void * ctx, 
const xmlChar * publicId,
const xmlChar * systemId) +xmlParserInputPtr resolveEntitySAXFunc (void * ctx,
const xmlChar * publicId,
const xmlChar * systemId)

Callback: The entity loader, to control the loading of external entities, the application can either: - override this resolveEntity() callback in the SAX block - or better use the xmlSetExternalEntityLoader() function to set up it's own entity resolution routine

ctx:the user data (XML parser context)
publicId:The public ID of the entity
systemId:The system ID of the entity
Returns:the xmlParserInputPtr if inlined or NULL for DOM behaviour.

Function type: setDocumentLocatorSAXFunc

Function type: setDocumentLocatorSAXFunc
 void	setDocumentLocatorSAXFunc	(void * ctx, 
xmlSAXLocatorPtr loc) @@ -362,34 +342,30 @@ void setDocumentLocatorSAXFunc (void * ctx,
ctx:the user data (XML parser context)

Function type: startElementNsSAX2Func

Function type: startElementNsSAX2Func
-void	startElementNsSAX2Func		(void * ctx, 
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI,
int nb_namespaces,
const xmlChar ** namespaces,
int nb_attributes,
int nb_defaulted,
const xmlChar ** attributes) +void startElementNsSAX2Func (void * ctx,
const xmlChar * localname,
const xmlChar * prefix,
const xmlChar * URI,
int nb_namespaces,
const xmlChar ** namespaces,
int nb_attributes,
int nb_defaulted,
const xmlChar ** attributes)

SAX2 callback when an element start has been detected by the parser. It provides the namespace informations for the element, as well as the new namespace declarations on the element.

ctx:the user data (XML parser context)
localname:the local name of the element
prefix:the element namespace prefix if available
URI:the element namespace name if available
nb_namespaces:number of namespace definitions on that node
namespaces:pointer to the array of prefix/URI pairs namespace definitions
nb_attributes:the number of attributes on that node
nb_defaulted:the number of defaulted attributes. The defaulted ones are at the end of the array
attributes:pointer to the array of (localname/prefix/URI/value/end) attribute values.

Function type: startElementSAXFunc

Function type: startElementSAXFunc
-void	startElementSAXFunc		(void * ctx, 
const xmlChar * name,
const xmlChar ** atts) +void startElementSAXFunc (void * ctx,
const xmlChar * name,
const xmlChar ** atts)

Called when an opening tag has been processed.

ctx:the user data (XML parser context)
name:The element name, including namespace prefix
atts:An array of name/value attributes pairs, NULL terminated

Function type: unparsedEntityDeclSAXFunc

Function type: unparsedEntityDeclSAXFunc
-void	unparsedEntityDeclSAXFunc	(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName) +void unparsedEntityDeclSAXFunc (void * ctx,
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName)

What to do when an unparsed entity declaration is parsed.

ctx:the user data (XML parser context)
name:The name of the entity
publicId:The public ID of the entity
systemId:The system ID of the entity
notationName:the name of the notation

Function type: warningSAXFunc

Function type: warningSAXFunc
 void	warningSAXFunc			(void * ctx, 
const char * msg,
... ...)

Display and format a warning messages, callback.

ctx:an XML parser context
msg:the message to display/transmit
...:extra parameters for the message display

-

Function: xmlCharStrdup

xmlChar *	xmlCharStrdup		(const char * cur)
-

a strdup for char's to xmlChar's

-
cur:the input char *
Returns:a new xmlChar * or NULL

Function: xmlCharStrndup

xmlChar *	xmlCharStrndup		(const char * cur, 
int len)
-

a strndup for char's to xmlChar's

-
cur:the input char *
len:the len of @cur
Returns:a new xmlChar * or NULL

Function: xmlCleanupParser

void	xmlCleanupParser		(void)
+

Function: xmlCleanupParser

void	xmlCleanupParser		(void)

Cleanup function for the XML library. It tries to reclaim all parsing related global memory allocated for the library processing. It doesn't deallocate any document related memory. Calling this function should not prevent reusing the library but one should call xmlCleanupParser() only when the process has finished using the library or XML document built with it.

Function: xmlClearNodeInfoSeq

void	xmlClearNodeInfoSeq		(xmlParserNodeInfoSeqPtr seq)

-- Clear (release memory and reinitialize) node info sequence

seq:a node info sequence pointer

Function: xmlClearParserCtxt

void	xmlClearParserCtxt		(xmlParserCtxtPtr ctxt)

Clear (release owned resources) and reinitialize a parser context

-
ctxt:an XML parser context

Function: xmlCreateDocParserCtxt

xmlParserCtxtPtr	xmlCreateDocParserCtxt	(const xmlChar * cur)
+
ctxt:an XML parser context

Function: xmlCreateDocParserCtxt

xmlParserCtxtPtr	xmlCreateDocParserCtxt	(const xmlChar * cur)

Creates a parser context for an XML in-memory document.

-
cur:a pointer to an array of xmlChar
Returns:the new parser context or NULL

Function: xmlCreateIOParserCtxt

xmlParserCtxtPtr	xmlCreateIOParserCtxt	(xmlSAXHandlerPtr sax, 
void * user_data,
xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void * ioctx,
xmlCharEncoding enc)
+
cur:a pointer to an array of xmlChar
Returns:the new parser context or NULL

Function: xmlCreateIOParserCtxt

xmlParserCtxtPtr	xmlCreateIOParserCtxt	(xmlSAXHandlerPtr sax, 
void * user_data,
xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void * ioctx,
xmlCharEncoding enc)

Create a parser context for using the XML parser with an existing I/O stream

sax:a SAX handler
user_data:The user data returned on SAX callbacks
ioread:an I/O read function
ioclose:an I/O close function
ioctx:an I/O handler
enc:the charset encoding if known
Returns:the new parser context or NULL

Function: xmlCreatePushParserCtxt

xmlParserCtxtPtr	xmlCreatePushParserCtxt	(xmlSAXHandlerPtr sax, 
void * user_data,
const char * chunk,
int size,
const char * filename)

Create a parser context for using the XML parser in push mode. If @buffer and @size are non-NULL, the data is used to detect the encoding. The remaining characters will be parsed so they don't need to be fed in again through xmlParseChunk. To allow content encoding detection, @size should be >= 4 The value of @filename is used for fetching external entities and error/warning reports.

-
sax:a SAX handler
user_data:The user data returned on SAX callbacks
chunk:a pointer to an array of chars
size:number of chars in the array
filename:an optional file name or URI
Returns:the new parser context or NULL

Function: xmlCtxtReadDoc

xmlDocPtr	xmlCtxtReadDoc		(xmlParserCtxtPtr ctxt, 
const xmlChar * cur,
const char * URL,
const char * encoding,
int options)
+
sax:a SAX handler
user_data:The user data returned on SAX callbacks
chunk:a pointer to an array of chars
size:number of chars in the array
filename:an optional file name or URI
Returns:the new parser context or NULL

Function: xmlCtxtReadDoc

xmlDocPtr	xmlCtxtReadDoc		(xmlParserCtxtPtr ctxt, 
const xmlChar * cur,
const char * URL,
const char * encoding,
int options)

parse an XML in-memory document and build a tree. This reuses the existing @ctxt parser context

ctxt:an XML parser context
cur:a pointer to a zero terminated string
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption
Returns:the resulting document tree

Function: xmlCtxtReadFd

xmlDocPtr	xmlCtxtReadFd		(xmlParserCtxtPtr ctxt, 
int fd,
const char * URL,
const char * encoding,
int options)

parse an XML from a file descriptor and build a tree. This reuses the existing @ctxt parser context NOTE that the file descriptor will not be closed when the reader is closed or reset.

@@ -425,7 +401,7 @@ void warningSAXFunc (void * ctx,
const char * msg,
...

Function: xmlInitParserCtxt

int	xmlInitParserCtxt		(xmlParserCtxtPtr ctxt)

Initialize a parser context

ctxt:an XML parser context
Returns:0 in case of success and -1 in case of error

Function: xmlKeepBlanksDefault

int	xmlKeepBlanksDefault		(int val)
-

Set and return the previous value for default blanks text nodes support. The 1.x version of the parser used an heuristic to try to detect ignorable white spaces. As a result the SAX callback was generating xmlSAX2IgnorableWhitespace() callbacks instead of characters() one, and when using the DOM output text nodes containing those blanks were not generated. The 2.x and later version will switch to the XML standard way and ignorableWhitespace() are only generated when running the parser in validating mode and when the current element doesn't allow CDATA or mixed content. This function is provided as a way to force the standard behavior on 1.X libs and to switch back to the old mode for compatibility when running 1.X client code on 2.X . Upgrade of 1.X code should be done by using xmlIsBlankNode() commodity function to detect the "empty" nodes generated. This value also affect autogeneration of indentation when saving code if blanks sections are kept, indentation is not generated.

+

Set and return the previous value for default blanks text nodes support. The 1.x version of the parser used an heuristic to try to detect ignorable white spaces. As a result the SAX callback was generating xmlSAX2IgnorableWhitespace() callbacks instead of characters() one, and when using the DOM output text nodes containing those blanks were not generated. The 2.x and later version will switch to the XML standard way and ignorableWhitespace() are only generated when running the parser in validating mode and when the current element doesn't allow CDATA or mixed content. This function is provided as a way to force the standard behavior on 1.X libs and to switch back to the old mode for compatibility when running 1.X client code on 2.X . Upgrade of 1.X code should be done by using xmlIsBlankNode() commodity function to detect the "empty" nodes generated. This value also affect autogeneration of indentation when saving code if blanks sections are kept, indentation is not generated.

val:int 0 or 1
Returns:the last value for 0 for no substitution, 1 for substitution.

Function: xmlLineNumbersDefault

int	xmlLineNumbersDefault		(int val)

Set and return the previous value for enabling line numbers in elements contents. This may break on old application and is turned off by default.

val:int 0 or 1
Returns:the last value for 0 for no substitution, 1 for substitution.

Function: xmlLoadExternalEntity

xmlParserInputPtr	xmlLoadExternalEntity	(const char * URL, 
const char * ID,
xmlParserCtxtPtr ctxt)
@@ -434,25 +410,25 @@ void warningSAXFunc (void * ctx,
const char * msg,
...

Create a new input stream structure encapsulating the @input into a stream suitable for the parser.

ctxt:an XML parser context
input:an I/O Input
enc:the charset encoding if known
Returns:the new input stream or NULL

Function: xmlNewParserCtxt

xmlParserCtxtPtr	xmlNewParserCtxt	(void)

Allocate and initialize a new parser context.

-
Returns:the xmlParserCtxtPtr or NULL

Function: xmlParseBalancedChunkMemory

int	xmlParseBalancedChunkMemory	(xmlDocPtr doc, 
xmlSAXHandlerPtr sax,
void * user_data,
int depth,
const xmlChar * string,
xmlNodePtr * lst)
+
Returns:the xmlParserCtxtPtr or NULL

Function: xmlParseBalancedChunkMemory

int	xmlParseBalancedChunkMemory	(xmlDocPtr doc, 
xmlSAXHandlerPtr sax,
void * user_data,
int depth,
const xmlChar * string,
xmlNodePtr * lst)

Parse a well-balanced chunk of an XML document called by the parser The allowed sequence for the Well Balanced Chunk is the one defined by the content production in the XML grammar: [43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*

-
doc:the document the chunk pertains to
sax:the SAX handler bloc (possibly NULL)
user_data:The user data returned on SAX callbacks (possibly NULL)
depth:Used for loop detection, use 0
string:the input string in UTF8 or ISO-Latin (zero terminated)
lst:the return value for the set of parsed nodes
Returns:0 if the chunk is well balanced, -1 in case of args problem and the parser error code otherwise

Function: xmlParseBalancedChunkMemoryRecover

int	xmlParseBalancedChunkMemoryRecover	(xmlDocPtr doc, 
xmlSAXHandlerPtr sax,
void * user_data,
int depth,
const xmlChar * string,
xmlNodePtr * lst,
int recover)
+
doc:the document the chunk pertains to
sax:the SAX handler bloc (possibly NULL)
user_data:The user data returned on SAX callbacks (possibly NULL)
depth:Used for loop detection, use 0
string:the input string in UTF8 or ISO-Latin (zero terminated)
lst:the return value for the set of parsed nodes
Returns:0 if the chunk is well balanced, -1 in case of args problem and the parser error code otherwise

Function: xmlParseBalancedChunkMemoryRecover

int	xmlParseBalancedChunkMemoryRecover	(xmlDocPtr doc, 
xmlSAXHandlerPtr sax,
void * user_data,
int depth,
const xmlChar * string,
xmlNodePtr * lst,
int recover)

Parse a well-balanced chunk of an XML document called by the parser The allowed sequence for the Well Balanced Chunk is the one defined by the content production in the XML grammar: [43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*

doc:the document the chunk pertains to
sax:the SAX handler bloc (possibly NULL)
user_data:The user data returned on SAX callbacks (possibly NULL)
depth:Used for loop detection, use 0
string:the input string in UTF8 or ISO-Latin (zero terminated)
lst:the return value for the set of parsed nodes
recover:return nodes even if the data is broken (use 0)
Returns:0 if the chunk is well balanced, -1 in case of args problem and the parser error code otherwise In case recover is set to 1, the nodelist will not be empty even if the parsed chunk is not well balanced.

Function: xmlParseChunk

int	xmlParseChunk			(xmlParserCtxtPtr ctxt, 
const char * chunk,
int size,
int terminate)

Parse a Chunk of memory

-
ctxt:an XML parser context
chunk:an char array
size:the size in byte of the chunk
terminate:last chunk indicator
Returns:zero if no error, the xmlParserErrors otherwise.

Function: xmlParseCtxtExternalEntity

int	xmlParseCtxtExternalEntity	(xmlParserCtxtPtr ctx, 
const xmlChar * URL,
const xmlChar * ID,
xmlNodePtr * lst)
+
ctxt:an XML parser context
chunk:an char array
size:the size in byte of the chunk
terminate:last chunk indicator
Returns:zero if no error, the xmlParserErrors otherwise.

Function: xmlParseCtxtExternalEntity

int	xmlParseCtxtExternalEntity	(xmlParserCtxtPtr ctx, 
const xmlChar * URL,
const xmlChar * ID,
xmlNodePtr * lst)

Parse an external general entity within an existing parsing context An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. [78] extParsedEnt ::= TextDecl? content

-
ctx:the existing parsing context
URL:the URL for the entity to load
ID:the System ID for the entity to load
lst:the return value for the set of parsed nodes
Returns:0 if the entity is well formed, -1 in case of args problem and the parser error code otherwise

Function: xmlParseDTD

xmlDtdPtr	xmlParseDTD		(const xmlChar * ExternalID, 
const xmlChar * SystemID)
+
ctx:the existing parsing context
URL:the URL for the entity to load
ID:the System ID for the entity to load
lst:the return value for the set of parsed nodes
Returns:0 if the entity is well formed, -1 in case of args problem and the parser error code otherwise

Function: xmlParseDTD

xmlDtdPtr	xmlParseDTD		(const xmlChar * ExternalID, 
const xmlChar * SystemID)

Load and parse an external subset.

-
ExternalID:a NAME* containing the External ID of the DTD
SystemID:a NAME* containing the URL to the DTD
Returns:the resulting xmlDtdPtr or NULL in case of error.

Function: xmlParseDoc

xmlDocPtr	xmlParseDoc		(xmlChar * cur)
+
ExternalID:a NAME* containing the External ID of the DTD
SystemID:a NAME* containing the URL to the DTD
Returns:the resulting xmlDtdPtr or NULL in case of error.

Function: xmlParseDoc

xmlDocPtr	xmlParseDoc		(xmlChar * cur)

parse an XML in-memory document and build a tree.

-
cur:a pointer to an array of xmlChar
Returns:the resulting document tree

Function: xmlParseDocument

int	xmlParseDocument		(xmlParserCtxtPtr ctxt)
+
cur:a pointer to an array of xmlChar
Returns:the resulting document tree

Function: xmlParseDocument

int	xmlParseDocument		(xmlParserCtxtPtr ctxt)

parse an XML document (and build a tree if using the standard SAX interface). [1] document ::= prolog element Misc* [22] prolog ::= XMLDecl? Misc* (doctypedecl Misc*)?

ctxt:an XML parser context
Returns:0, -1 in case of error. the parser context is augmented as a result of the parsing.

Function: xmlParseEntity

xmlDocPtr	xmlParseEntity		(const char * filename)
-

parse an XML external entity out of context and build a tree. [78] extParsedEnt ::= TextDecl? content This correspond to a "Well Balanced" chunk

+

parse an XML external entity out of context and build a tree. [78] extParsedEnt ::= TextDecl? content This correspond to a "Well Balanced" chunk

filename:the filename
Returns:the resulting document tree

Function: xmlParseExtParsedEnt

int	xmlParseExtParsedEnt		(xmlParserCtxtPtr ctxt)

parse a general parsed entity An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. [78] extParsedEnt ::= TextDecl? content

-
ctxt:an XML parser context
Returns:0, -1 in case of error. the parser context is augmented as a result of the parsing.

Function: xmlParseExternalEntity

int	xmlParseExternalEntity		(xmlDocPtr doc, 
xmlSAXHandlerPtr sax,
void * user_data,
int depth,
const xmlChar * URL,
const xmlChar * ID,
xmlNodePtr * lst)
+
ctxt:an XML parser context
Returns:0, -1 in case of error. the parser context is augmented as a result of the parsing.

Function: xmlParseExternalEntity

int	xmlParseExternalEntity		(xmlDocPtr doc, 
xmlSAXHandlerPtr sax,
void * user_data,
int depth,
const xmlChar * URL,
const xmlChar * ID,
xmlNodePtr * lst)

Parse an external general entity An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. [78] extParsedEnt ::= TextDecl? content

doc:the document the chunk pertains to
sax:the SAX handler bloc (possibly NULL)
user_data:The user data returned on SAX callbacks (possibly NULL)
depth:Used for loop detection, use 0
URL:the URL for the entity to load
ID:the System ID for the entity to load
lst:the return value for the set of parsed nodes
Returns:0 if the entity is well formed, -1 in case of args problem and the parser error code otherwise

Function: xmlParseFile

xmlDocPtr	xmlParseFile		(const char * filename)

parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.

@@ -465,7 +441,7 @@ void warningSAXFunc (void * ctx,
const char * msg,
...
ctx:an XML parser context
node:an XML node within the tree
Returns:an xmlParserNodeInfo block pointer or NULL

Function: xmlParserFindNodeInfoIndex

unsigned long	xmlParserFindNodeInfoIndex	(const xmlParserNodeInfoSeqPtr seq, 
const xmlNodePtr node)

xmlParserFindNodeInfoIndex : Find the index that the info record for the given node is or should be at in a sorted sequence

seq:a node info sequence pointer
node:an XML node pointer
Returns:a long indicating the position of the record

Function type: xmlParserInputDeallocate

Function type: xmlParserInputDeallocate
-void	xmlParserInputDeallocate	(xmlChar * str)
+void	xmlParserInputDeallocate	(xmlChar * str)
 

Callback for freeing some parser input allocations.

str:the string to deallocate

Function: xmlParserInputGrow

int	xmlParserInputGrow		(xmlParserInputPtr in, 
int len)

This function increase the input for the parser. It tries to preserve pointers to the input buffer, and keep already read data

@@ -473,7 +449,7 @@ void xmlParserInputDeallocate (xmlChar *

This function refresh the input for the parser. It doesn't try to preserve pointers to the input buffer, and discard already read data

in:an XML parser input
len:an indicative size for the lookahead
Returns:the number of xmlChars read, or -1 in case of error, 0 indicate the end of this entity

Function: xmlPedanticParserDefault

int	xmlPedanticParserDefault	(int val)

Set and return the previous value for enabling pedantic warnings.

-
val:int 0 or 1
Returns:the last value for 0 for no substitution, 1 for substitution.

Function: xmlReadDoc

xmlDocPtr	xmlReadDoc		(const xmlChar * cur, 
const char * URL,
const char * encoding,
int options)
+
val:int 0 or 1
Returns:the last value for 0 for no substitution, 1 for substitution.

Function: xmlReadDoc

xmlDocPtr	xmlReadDoc		(const xmlChar * cur, 
const char * URL,
const char * encoding,
int options)

parse an XML in-memory document and build a tree.

cur:a pointer to a zero terminated string
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption
Returns:the resulting document tree

Function: xmlReadFd

xmlDocPtr	xmlReadFd		(int fd, 
const char * URL,
const char * encoding,
int options)

parse an XML from a file descriptor and build a tree. NOTE that the file descriptor will not be closed when the reader is closed or reset.

@@ -483,18 +459,18 @@ void xmlParserInputDeallocate (xmlChar *

parse an XML document from I/O functions and source and build a tree.

ioread:an I/O read function
ioclose:an I/O close function
ioctx:an I/O handler
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption
Returns:the resulting document tree

Function: xmlReadMemory

xmlDocPtr	xmlReadMemory		(const char * buffer, 
int size,
const char * URL,
const char * encoding,
int options)

parse an XML in-memory document and build a tree.

-
buffer:a pointer to a char array
size:the size of the array
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption
Returns:the resulting document tree

Function: xmlRecoverDoc

xmlDocPtr	xmlRecoverDoc		(xmlChar * cur)
+
buffer:a pointer to a char array
size:the size of the array
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption
Returns:the resulting document tree

Function: xmlRecoverDoc

xmlDocPtr	xmlRecoverDoc		(xmlChar * cur)

parse an XML in-memory document and build a tree. In the case the document is not Well Formed, a tree is built anyway

-
cur:a pointer to an array of xmlChar
Returns:the resulting document tree

Function: xmlRecoverFile

xmlDocPtr	xmlRecoverFile		(const char * filename)
+
cur:a pointer to an array of xmlChar
Returns:the resulting document tree

Function: xmlRecoverFile

xmlDocPtr	xmlRecoverFile		(const char * filename)

parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. In the case the document is not Well Formed, a tree is built anyway

filename:the filename
Returns:the resulting document tree

Function: xmlRecoverMemory

xmlDocPtr	xmlRecoverMemory	(const char * buffer, 
int size)

parse an XML in-memory block and build a tree. In the case the document is not Well Formed, a tree is built anyway

-
buffer:an pointer to a char array
size:the size of the array
Returns:the resulting document tree

Function: xmlSAXParseDTD

xmlDtdPtr	xmlSAXParseDTD		(xmlSAXHandlerPtr sax, 
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
buffer:an pointer to a char array
size:the size of the array
Returns:the resulting document tree

Function: xmlSAXParseDTD

xmlDtdPtr	xmlSAXParseDTD		(xmlSAXHandlerPtr sax, 
const xmlChar * ExternalID,
const xmlChar * SystemID)

Load and parse an external subset.

-
sax:the SAX handler block
ExternalID:a NAME* containing the External ID of the DTD
SystemID:a NAME* containing the URL to the DTD
Returns:the resulting xmlDtdPtr or NULL in case of error.

Function: xmlSAXParseDoc

xmlDocPtr	xmlSAXParseDoc		(xmlSAXHandlerPtr sax, 
xmlChar * cur,
int recovery)
+
sax:the SAX handler block
ExternalID:a NAME* containing the External ID of the DTD
SystemID:a NAME* containing the URL to the DTD
Returns:the resulting xmlDtdPtr or NULL in case of error.

Function: xmlSAXParseDoc

xmlDocPtr	xmlSAXParseDoc		(xmlSAXHandlerPtr sax, 
xmlChar * cur,
int recovery)

parse an XML in-memory document and build a tree. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.

-
sax:the SAX handler block
cur:a pointer to an array of xmlChar
recovery:work in recovery mode, i.e. tries to read no Well Formed documents
Returns:the resulting document tree

Function: xmlSAXParseEntity

xmlDocPtr	xmlSAXParseEntity	(xmlSAXHandlerPtr sax, 
const char * filename)
-

parse an XML external entity out of context and build a tree. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. [78] extParsedEnt ::= TextDecl? content This correspond to a "Well Balanced" chunk

+
sax:the SAX handler block
cur:a pointer to an array of xmlChar
recovery:work in recovery mode, i.e. tries to read no Well Formed documents
Returns:the resulting document tree

Function: xmlSAXParseEntity

xmlDocPtr	xmlSAXParseEntity	(xmlSAXHandlerPtr sax, 
const char * filename)
+

parse an XML external entity out of context and build a tree. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. [78] extParsedEnt ::= TextDecl? content This correspond to a "Well Balanced" chunk

sax:the SAX handler block
filename:the filename
Returns:the resulting document tree

Function: xmlSAXParseFile

xmlDocPtr	xmlSAXParseFile		(xmlSAXHandlerPtr sax, 
const char * filename,
int recovery)

parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.

sax:the SAX handler block
filename:the filename
recovery:work in recovery mode, i.e. tries to read no Well Formed documents
Returns:the resulting document tree

Function: xmlSAXParseFileWithData

xmlDocPtr	xmlSAXParseFileWithData	(xmlSAXHandlerPtr sax, 
const char * filename,
int recovery,
void * data)
@@ -511,46 +487,10 @@ void xmlParserInputDeallocate (xmlChar *

Changes the defaultexternal entity resolver function for the application

f:the new entity resolver function

Function: xmlSetFeature

int	xmlSetFeature			(xmlParserCtxtPtr ctxt, 
const char * name,
void * value)

Change the current value of one feature of this parser instance

-
ctxt:an XML/HTML parser context
name:the feature name
value:pointer to the location of the new value
Returns:-1 in case or error, 0 otherwise

Function: xmlSetupParserForBuffer

void	xmlSetupParserForBuffer		(xmlParserCtxtPtr ctxt, 
const xmlChar * buffer,
const char * filename)
+
ctxt:an XML/HTML parser context
name:the feature name
value:pointer to the location of the new value
Returns:-1 in case or error, 0 otherwise

Function: xmlSetupParserForBuffer

void	xmlSetupParserForBuffer		(xmlParserCtxtPtr ctxt, 
const xmlChar * buffer,
const char * filename)

Setup the parser context to parse a new buffer; Clears any prior contents from the parser context. The buffer parameter must not be NULL, but the filename parameter can be

-
ctxt:an XML parser context
buffer:a xmlChar * buffer
filename:a file name

Function: xmlStopParser

void	xmlStopParser			(xmlParserCtxtPtr ctxt)
+
ctxt:an XML parser context
buffer:a xmlChar * buffer
filename:a file name

Function: xmlStopParser

void	xmlStopParser			(xmlParserCtxtPtr ctxt)

Blocks further parser processing

-
ctxt:an XML parser context

Function: xmlStrEqual

int	xmlStrEqual			(const xmlChar * str1, 
const xmlChar * str2)
-

Check if both string are equal of have same content Should be a bit more readable and faster than xmlStrEqual()

-
str1:the first xmlChar *
str2:the second xmlChar *
Returns:1 if they are equal, 0 if they are different

Function: xmlStrPrintf

int	xmlStrPrintf			(xmlChar * buf, 
int len,
const xmlChar * msg,
... ...)
-

Formats @msg and places result into @buf.

-
buf:the result buffer.
len:the result buffer length.
msg:the message with printf formatting.
...:extra parameters for the message.
Returns:the number of characters written to @buf or -1 if an error occurs.

Function: xmlStrQEqual

int	xmlStrQEqual			(const xmlChar * pref, 
const xmlChar * name,
const xmlChar * str)
-

Check if a QName is Equal to a given string

-
pref:the prefix of the QName
name:the localname of the QName
str:the second xmlChar *
Returns:1 if they are equal, 0 if they are different

Function: xmlStrVPrintf

int	xmlStrVPrintf			(xmlChar * buf, 
int len,
const xmlChar * msg,
va_list ap)
-

Formats @msg and places result into @buf.

-
buf:the result buffer.
len:the result buffer length.
msg:the message with printf formatting.
ap:extra parameters for the message.
Returns:the number of characters written to @buf or -1 if an error occurs.

Function: xmlStrcasecmp

int	xmlStrcasecmp			(const xmlChar * str1, 
const xmlChar * str2)
-

a strcasecmp for xmlChar's

-
str1:the first xmlChar *
str2:the second xmlChar *
Returns:the integer result of the comparison

Function: xmlStrcasestr

const xmlChar *	xmlStrcasestr		(const xmlChar * str, 
xmlChar * val)
-

a case-ignoring strstr for xmlChar's

-
str:the xmlChar * array (haystack)
val:the xmlChar to search (needle)
Returns:the xmlChar * for the first occurrence or NULL.

Function: xmlStrcat

xmlChar *	xmlStrcat		(xmlChar * cur, 
const xmlChar * add)
-

a strcat for array of xmlChar's. Since they are supposed to be encoded in UTF-8 or an encoding with 8bit based chars, we assume a termination mark of '0'.

-
cur:the original xmlChar * array
add:the xmlChar * array added
Returns:a new xmlChar * containing the concatenated string.

Function: xmlStrchr

const xmlChar *	xmlStrchr		(const xmlChar * str, 
xmlChar val)
-

a strchr for xmlChar's

-
str:the xmlChar * array
val:the xmlChar to search
Returns:the xmlChar * for the first occurrence or NULL.

Function: xmlStrcmp

int	xmlStrcmp			(const xmlChar * str1, 
const xmlChar * str2)
-

a strcmp for xmlChar's

-
str1:the first xmlChar *
str2:the second xmlChar *
Returns:the integer result of the comparison

Function: xmlStrdup

xmlChar *	xmlStrdup		(const xmlChar * cur)
-

a strdup for array of xmlChar's. Since they are supposed to be encoded in UTF-8 or an encoding with 8bit based chars, we assume a termination mark of '0'.

-
cur:the input xmlChar *
Returns:a new xmlChar * or NULL

Function: xmlStrlen

int	xmlStrlen			(const xmlChar * str)
-

length of a xmlChar's string

-
str:the xmlChar * array
Returns:the number of xmlChar contained in the ARRAY.

Function: xmlStrncasecmp

int	xmlStrncasecmp			(const xmlChar * str1, 
const xmlChar * str2,
int len)
-

a strncasecmp for xmlChar's

-
str1:the first xmlChar *
str2:the second xmlChar *
len:the max comparison length
Returns:the integer result of the comparison

Function: xmlStrncat

xmlChar *	xmlStrncat		(xmlChar * cur, 
const xmlChar * add,
int len)
-

a strncat for array of xmlChar's, it will extend @cur with the len first bytes of @add.

-
cur:the original xmlChar * array
add:the xmlChar * array added
len:the length of @add
Returns:a new xmlChar *, the original @cur is reallocated if needed and should not be freed

Function: xmlStrncatNew

xmlChar *	xmlStrncatNew		(const xmlChar * str1, 
const xmlChar * str2,
int len)
-

same as xmlStrncat, but creates a new string. The original two strings are not freed.

-
str1:first xmlChar string
str2:second xmlChar string
len:the len of @str2
Returns:a new xmlChar * or NULL

Function: xmlStrncmp

int	xmlStrncmp			(const xmlChar * str1, 
const xmlChar * str2,
int len)
-

a strncmp for xmlChar's

-
str1:the first xmlChar *
str2:the second xmlChar *
len:the max comparison length
Returns:the integer result of the comparison

Function: xmlStrndup

xmlChar *	xmlStrndup		(const xmlChar * cur, 
int len)
-

a strndup for array of xmlChar's

-
cur:the input xmlChar *
len:the len of @cur
Returns:a new xmlChar * or NULL

Function: xmlStrstr

const xmlChar *	xmlStrstr		(const xmlChar * str, 
const xmlChar * val)
-

a strstr for xmlChar's

-
str:the xmlChar * array (haystack)
val:the xmlChar to search (needle)
Returns:the xmlChar * for the first occurrence or NULL.

Function: xmlStrsub

xmlChar *	xmlStrsub		(const xmlChar * str, 
int start,
int len)
-

Extract a substring of a given string

-
str:the xmlChar * array (haystack)
start:the index of the first char (zero based)
len:the length of the substring
Returns:the xmlChar * for the first occurrence or NULL.

Function: xmlSubstituteEntitiesDefault

int	xmlSubstituteEntitiesDefault	(int val)
+
ctxt:an XML parser context

Function: xmlSubstituteEntitiesDefault

int	xmlSubstituteEntitiesDefault	(int val)

Set and return the previous value for default entity support. Initially the parser always keep entity references instead of substituting entity values in the output. This function has to be used to change the default parser behavior SAX::substituteEntities() has to be used for changing that on a file by file basis.

val:int 0 or 1
Returns:the last value for 0 for no substitution, 1 for substitution.

Daniel Veillard

diff --git a/doc/html/libxml-parserInternals.html b/doc/html/libxml-parserInternals.html index dfd3ad8e..55a7c202 100644 --- a/doc/html/libxml-parserInternals.html +++ b/doc/html/libxml-parserInternals.html @@ -14,19 +14,19 @@ A:link, A:visited, A:active { text-decoration: underline }
void	htmlInitAutoClose		(void)
xmlParserInputPtr	inputPop	(xmlParserCtxtPtr ctxt)
int	inputPush			(xmlParserCtxtPtr ctxt, 
xmlParserInputPtr value)
-
const xmlChar *	namePop			(xmlParserCtxtPtr ctxt)
-
int	namePush			(xmlParserCtxtPtr ctxt, 
const xmlChar * value)
+
const xmlChar *	namePop			(xmlParserCtxtPtr ctxt)
+
int	namePush			(xmlParserCtxtPtr ctxt, 
const xmlChar * value)
xmlNodePtr	nodePop			(xmlParserCtxtPtr ctxt)
int	nodePush			(xmlParserCtxtPtr ctxt, 
xmlNodePtr value)
-
int	xmlCheckLanguageID		(const xmlChar * lang)
-
int	xmlCopyChar			(int len, 
xmlChar * out,
int val)
-
int	xmlCopyCharMultiByte		(xmlChar * out, 
int val)
-
xmlParserCtxtPtr	xmlCreateEntityParserCtxt	(const xmlChar * URL, 
const xmlChar * ID,
const xmlChar * base)
+
int	xmlCheckLanguageID		(const xmlChar * lang)
+
int	xmlCopyChar			(int len, 
xmlChar * out,
int val)
+
int	xmlCopyCharMultiByte		(xmlChar * out, 
int val)
+
xmlParserCtxtPtr	xmlCreateEntityParserCtxt	(const xmlChar * URL, 
const xmlChar * ID,
const xmlChar * base)
xmlParserCtxtPtr	xmlCreateFileParserCtxt	(const char * filename)
xmlParserCtxtPtr	xmlCreateMemoryParserCtxt	(const char * buffer, 
int size)
xmlParserCtxtPtr	xmlCreateURLParserCtxt	(const char * filename, 
int options)
int	xmlCurrentChar			(xmlParserCtxtPtr ctxt, 
int * len)
-
xmlChar *	xmlDecodeEntities	(xmlParserCtxtPtr ctxt, 
int len,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3)
+
xmlChar *	xmlDecodeEntities	(xmlParserCtxtPtr ctxt, 
int len,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3)
Function type: xmlEntityReferenceFunc
 void	xmlEntityReferenceFunc		(xmlEntityPtr ent, 
xmlNodePtr firstNode,
xmlNodePtr lastNode)
@@ -34,16 +34,16 @@ void xmlEntityReferenceFunc (void xmlFreeInputStream (xmlParserInputPtr input)
void	xmlHandleEntity			(xmlParserCtxtPtr ctxt, 
xmlEntityPtr entity)
int	xmlIsLetter			(int c)
-
xmlChar *	xmlNamespaceParseNCName	(xmlParserCtxtPtr ctxt)
-
xmlChar *	xmlNamespaceParseNSDef	(xmlParserCtxtPtr ctxt)
-
xmlChar *	xmlNamespaceParseQName	(xmlParserCtxtPtr ctxt, 
xmlChar ** prefix)
+
xmlChar *	xmlNamespaceParseNCName	(xmlParserCtxtPtr ctxt)
+
xmlChar *	xmlNamespaceParseNSDef	(xmlParserCtxtPtr ctxt)
+
xmlChar *	xmlNamespaceParseQName	(xmlParserCtxtPtr ctxt, 
xmlChar ** prefix)
xmlParserInputPtr	xmlNewEntityInputStream	(xmlParserCtxtPtr ctxt, 
xmlEntityPtr entity)
xmlParserInputPtr	xmlNewInputFromFile	(xmlParserCtxtPtr ctxt, 
const char * filename)
xmlParserInputPtr	xmlNewInputStream	(xmlParserCtxtPtr ctxt)
-
xmlParserInputPtr	xmlNewStringInputStream	(xmlParserCtxtPtr ctxt, 
const xmlChar * buffer)
+
xmlParserInputPtr	xmlNewStringInputStream	(xmlParserCtxtPtr ctxt, 
const xmlChar * buffer)
void	xmlNextChar			(xmlParserCtxtPtr ctxt)
-
xmlChar *	xmlParseAttValue	(xmlParserCtxtPtr ctxt)
-
const xmlChar *	xmlParseAttribute	(xmlParserCtxtPtr ctxt, 
xmlChar ** value)
+
xmlChar *	xmlParseAttValue	(xmlParserCtxtPtr ctxt)
+
const xmlChar *	xmlParseAttribute	(xmlParserCtxtPtr ctxt, 
xmlChar ** value)
void	xmlParseAttributeListDecl	(xmlParserCtxtPtr ctxt)
int	xmlParseAttributeType		(xmlParserCtxtPtr ctxt, 
xmlEnumerationPtr * tree)
void	xmlParseCDSect			(xmlParserCtxtPtr ctxt)
@@ -51,55 +51,55 @@ void xmlEntityReferenceFunc (int xmlParseCharRef (xmlParserCtxtPtr ctxt)
void	xmlParseComment			(xmlParserCtxtPtr ctxt)
void	xmlParseContent			(xmlParserCtxtPtr ctxt)
-
int	xmlParseDefaultDecl		(xmlParserCtxtPtr ctxt, 
xmlChar ** value)
+
int	xmlParseDefaultDecl		(xmlParserCtxtPtr ctxt, 
xmlChar ** value)
void	xmlParseDocTypeDecl		(xmlParserCtxtPtr ctxt)
void	xmlParseElement			(xmlParserCtxtPtr ctxt)
xmlElementContentPtr	xmlParseElementChildrenContentDecl	(xmlParserCtxtPtr ctxt, 
int inputchk)
-
int	xmlParseElementContentDecl	(xmlParserCtxtPtr ctxt, 
const xmlChar * name,
xmlElementContentPtr * result)
+
int	xmlParseElementContentDecl	(xmlParserCtxtPtr ctxt, 
const xmlChar * name,
xmlElementContentPtr * result)
int	xmlParseElementDecl		(xmlParserCtxtPtr ctxt)
xmlElementContentPtr	xmlParseElementMixedContentDecl	(xmlParserCtxtPtr ctxt, 
int inputchk)
-
xmlChar *	xmlParseEncName		(xmlParserCtxtPtr ctxt)
-
const xmlChar *	xmlParseEncodingDecl	(xmlParserCtxtPtr ctxt)
+
xmlChar *	xmlParseEncName		(xmlParserCtxtPtr ctxt)
+
const xmlChar *	xmlParseEncodingDecl	(xmlParserCtxtPtr ctxt)
void	xmlParseEndTag			(xmlParserCtxtPtr ctxt)
void	xmlParseEntityDecl		(xmlParserCtxtPtr ctxt)
xmlEntityPtr	xmlParseEntityRef	(xmlParserCtxtPtr ctxt)
-
xmlChar *	xmlParseEntityValue	(xmlParserCtxtPtr ctxt, 
xmlChar ** orig)
+
xmlChar *	xmlParseEntityValue	(xmlParserCtxtPtr ctxt, 
xmlChar ** orig)
int	xmlParseEnumeratedType		(xmlParserCtxtPtr ctxt, 
xmlEnumerationPtr * tree)
xmlEnumerationPtr	xmlParseEnumerationType	(xmlParserCtxtPtr ctxt)
-
xmlChar *	xmlParseExternalID	(xmlParserCtxtPtr ctxt, 
xmlChar ** publicID,
int strict)
-
void	xmlParseExternalSubset		(xmlParserCtxtPtr ctxt, 
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
xmlChar *	xmlParseExternalID	(xmlParserCtxtPtr ctxt, 
xmlChar ** publicID,
int strict)
+
void	xmlParseExternalSubset		(xmlParserCtxtPtr ctxt, 
const xmlChar * ExternalID,
const xmlChar * SystemID)
void	xmlParseMarkupDecl		(xmlParserCtxtPtr ctxt)
void	xmlParseMisc			(xmlParserCtxtPtr ctxt)
-
const xmlChar *	xmlParseName		(xmlParserCtxtPtr ctxt)
+
const xmlChar *	xmlParseName		(xmlParserCtxtPtr ctxt)
void	xmlParseNamespace		(xmlParserCtxtPtr ctxt)
-
xmlChar *	xmlParseNmtoken		(xmlParserCtxtPtr ctxt)
+
xmlChar *	xmlParseNmtoken		(xmlParserCtxtPtr ctxt)
void	xmlParseNotationDecl		(xmlParserCtxtPtr ctxt)
xmlEnumerationPtr	xmlParseNotationType	(xmlParserCtxtPtr ctxt)
void	xmlParsePEReference		(xmlParserCtxtPtr ctxt)
void	xmlParsePI			(xmlParserCtxtPtr ctxt)
-
const xmlChar *	xmlParsePITarget	(xmlParserCtxtPtr ctxt)
-
xmlChar *	xmlParsePubidLiteral	(xmlParserCtxtPtr ctxt)
-
xmlChar *	xmlParseQuotedString	(xmlParserCtxtPtr ctxt)
+
const xmlChar *	xmlParsePITarget	(xmlParserCtxtPtr ctxt)
+
xmlChar *	xmlParsePubidLiteral	(xmlParserCtxtPtr ctxt)
+
xmlChar *	xmlParseQuotedString	(xmlParserCtxtPtr ctxt)
void	xmlParseReference		(xmlParserCtxtPtr ctxt)
int	xmlParseSDDecl			(xmlParserCtxtPtr ctxt)
-
const xmlChar *	xmlParseStartTag	(xmlParserCtxtPtr ctxt)
-
xmlChar *	xmlParseSystemLiteral	(xmlParserCtxtPtr ctxt)
+
const xmlChar *	xmlParseStartTag	(xmlParserCtxtPtr ctxt)
+
xmlChar *	xmlParseSystemLiteral	(xmlParserCtxtPtr ctxt)
void	xmlParseTextDecl		(xmlParserCtxtPtr ctxt)
-
xmlChar *	xmlParseVersionInfo	(xmlParserCtxtPtr ctxt)
-
xmlChar *	xmlParseVersionNum	(xmlParserCtxtPtr ctxt)
+
xmlChar *	xmlParseVersionInfo	(xmlParserCtxtPtr ctxt)
+
xmlChar *	xmlParseVersionNum	(xmlParserCtxtPtr ctxt)
void	xmlParseXMLDecl			(xmlParserCtxtPtr ctxt)
void	xmlParserHandlePEReference	(xmlParserCtxtPtr ctxt)
void	xmlParserHandleReference	(xmlParserCtxtPtr ctxt)
void	xmlParserInputShrink		(xmlParserInputPtr in)
-
xmlChar	xmlPopInput			(xmlParserCtxtPtr ctxt)
+
xmlChar	xmlPopInput			(xmlParserCtxtPtr ctxt)
void	xmlPushInput			(xmlParserCtxtPtr ctxt, 
xmlParserInputPtr input)
-
xmlChar *	xmlScanName		(xmlParserCtxtPtr ctxt)
+
xmlChar *	xmlScanName		(xmlParserCtxtPtr ctxt)
void	xmlSetEntityReferenceFunc	(xmlEntityReferenceFunc func)
int	xmlSkipBlankChars		(xmlParserCtxtPtr ctxt)
-
xmlChar *	xmlSplitQName		(xmlParserCtxtPtr ctxt, 
const xmlChar * name,
xmlChar ** prefix)
-
int	xmlStringCurrentChar		(xmlParserCtxtPtr ctxt, 
const xmlChar * cur,
int * len)
-
xmlChar *	xmlStringDecodeEntities	(xmlParserCtxtPtr ctxt, 
const xmlChar * str,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3)
-
xmlChar *	xmlStringLenDecodeEntities	(xmlParserCtxtPtr ctxt, 
const xmlChar * str,
int len,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3)
+
xmlChar *	xmlSplitQName		(xmlParserCtxtPtr ctxt, 
const xmlChar * name,
xmlChar ** prefix)
+
int	xmlStringCurrentChar		(xmlParserCtxtPtr ctxt, 
const xmlChar * cur,
int * len)
+
xmlChar *	xmlStringDecodeEntities	(xmlParserCtxtPtr ctxt, 
const xmlChar * str,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3)
+
xmlChar *	xmlStringLenDecodeEntities	(xmlParserCtxtPtr ctxt, 
const xmlChar * str,
int len,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3)
int	xmlSwitchEncoding		(xmlParserCtxtPtr ctxt, 
xmlCharEncoding enc)
int	xmlSwitchInputEncoding		(xmlParserCtxtPtr ctxt, 
xmlParserInputPtr input,
xmlCharEncodingHandlerPtr handler)
int	xmlSwitchToEncoding		(xmlParserCtxtPtr ctxt, 
xmlCharEncodingHandlerPtr handler)
@@ -138,21 +138,21 @@ void xmlEntityReferenceFunc (
ctxt:an XML parser context
Returns:the input just removed

Function: inputPush

int	inputPush			(xmlParserCtxtPtr ctxt, 
xmlParserInputPtr value)

Pushes a new parser input on top of the input stack

-
ctxt:an XML parser context
value:the parser input
Returns:0 in case of error, the index in the stack otherwise

Function: namePop

const xmlChar *	namePop			(xmlParserCtxtPtr ctxt)
+
ctxt:an XML parser context
value:the parser input
Returns:0 in case of error, the index in the stack otherwise

Function: namePop

const xmlChar *	namePop			(xmlParserCtxtPtr ctxt)

Pops the top element name from the name stack

-
ctxt:an XML parser context
Returns:the name just removed

Function: namePush

int	namePush			(xmlParserCtxtPtr ctxt, 
const xmlChar * value)
+
ctxt:an XML parser context
Returns:the name just removed

Function: namePush

int	namePush			(xmlParserCtxtPtr ctxt, 
const xmlChar * value)

Pushes a new element name on top of the name stack

ctxt:an XML parser context
value:the element name
Returns:-1 in case of error, the index in the stack otherwise

Function: nodePop

xmlNodePtr	nodePop			(xmlParserCtxtPtr ctxt)

Pops the top element node from the node stack

ctxt:an XML parser context
Returns:the node just removed

Function: nodePush

int	nodePush			(xmlParserCtxtPtr ctxt, 
xmlNodePtr value)

Pushes a new element node on top of the node stack

-
ctxt:an XML parser context
value:the element node
Returns:0 in case of error, the index in the stack otherwise

Function: xmlCheckLanguageID

int	xmlCheckLanguageID		(const xmlChar * lang)
+
ctxt:an XML parser context
value:the element node
Returns:0 in case of error, the index in the stack otherwise

Function: xmlCheckLanguageID

int	xmlCheckLanguageID		(const xmlChar * lang)

Checks that the value conforms to the LanguageID production: NOTE: this is somewhat deprecated, those productions were removed from the XML Second edition. [33] LanguageID ::= Langcode ('-' Subcode)* [34] Langcode ::= ISO639Code | IanaCode | UserCode [35] ISO639Code ::= ([a-z] | [A-Z]) ([a-z] | [A-Z]) [36] IanaCode ::= ('i' | 'I') '-' ([a-z] | [A-Z])+ [37] UserCode ::= ('x' | 'X') '-' ([a-z] | [A-Z])+ [38] Subcode ::= ([a-z] | [A-Z])+

-
lang:pointer to the string value
Returns:1 if correct 0 otherwise

Function: xmlCopyChar

int	xmlCopyChar			(int len, 
xmlChar * out,
int val)
+
lang:pointer to the string value
Returns:1 if correct 0 otherwise

Function: xmlCopyChar

int	xmlCopyChar			(int len, 
xmlChar * out,
int val)

append the char value in the array

-
len:Ignored, compatibility
out:pointer to an array of xmlChar
val:the char value
Returns:the number of xmlChar written

Function: xmlCopyCharMultiByte

int	xmlCopyCharMultiByte		(xmlChar * out, 
int val)
+
len:Ignored, compatibility
out:pointer to an array of xmlChar
val:the char value
Returns:the number of xmlChar written

Function: xmlCopyCharMultiByte

int	xmlCopyCharMultiByte		(xmlChar * out, 
int val)

append the char value in the array

-
out:pointer to an array of xmlChar
val:the char value
Returns:the number of xmlChar written

Function: xmlCreateEntityParserCtxt

xmlParserCtxtPtr	xmlCreateEntityParserCtxt	(const xmlChar * URL, 
const xmlChar * ID,
const xmlChar * base)
+
out:pointer to an array of xmlChar
val:the char value
Returns:the number of xmlChar written

Function: xmlCreateEntityParserCtxt

xmlParserCtxtPtr	xmlCreateEntityParserCtxt	(const xmlChar * URL, 
const xmlChar * ID,
const xmlChar * base)

Create a parser context for an external entity Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.

URL:the entity URL
ID:the entity PUBLIC ID
base:a possible base for the target URI
Returns:the new parser context or NULL

Function: xmlCreateFileParserCtxt

xmlParserCtxtPtr	xmlCreateFileParserCtxt	(const char * filename)

Create a parser context for a file content. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.

@@ -161,8 +161,8 @@ void xmlEntityReferenceFunc (
buffer:a pointer to a char array
size:the size of the array
Returns:the new parser context or NULL

Function: xmlCreateURLParserCtxt

xmlParserCtxtPtr	xmlCreateURLParserCtxt	(const char * filename, 
int options)

Create a parser context for a file or URL content. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time and for file accesses

filename:the filename or URL
options:a combination of xmlParserOption
Returns:the new parser context or NULL

Function: xmlCurrentChar

int	xmlCurrentChar			(xmlParserCtxtPtr ctxt, 
int * len)
-

The current char value, if using UTF-8 this may actually span multiple bytes in the input buffer. Implement the end of line normalization: 2.11 End-of-Line Handling Wherever an external parsed entity or the literal entity value of an internal parsed entity contains either the literal two-character sequence "#xD#xA" or a standalone literal #xD, an XML processor must pass to the application the single character #xA. This behavior can conveniently be produced by normalizing all line breaks to #xA on input, before parsing.)

-
ctxt:the XML parser context
len:pointer to the length of the char read
Returns:the current char value and its length

Function: xmlDecodeEntities

xmlChar *	xmlDecodeEntities	(xmlParserCtxtPtr ctxt, 
int len,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3)
+

The current char value, if using UTF-8 this may actually span multiple bytes in the input buffer. Implement the end of line normalization: 2.11 End-of-Line Handling Wherever an external parsed entity or the literal entity value of an internal parsed entity contains either the literal two-character sequence "#xD#xA" or a standalone literal #xD, an XML processor must pass to the application the single character #xA. This behavior can conveniently be produced by normalizing all line breaks to #xA on input, before parsing.)

+
ctxt:the XML parser context
len:pointer to the length of the char read
Returns:the current char value and its length

Function: xmlDecodeEntities

xmlChar *	xmlDecodeEntities	(xmlParserCtxtPtr ctxt, 
int len,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3)

This function is deprecated, we now always process entities content through xmlStringDecodeEntities TODO: remove it in next major release. [67] Reference ::= EntityRef | CharRef [69] PEReference ::= '%' Name ';'

ctxt:the parser context
len:the len to decode (in bytes !), -1 for no size limit
what:combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF
end:an end marker xmlChar, 0 if none
end2:an end marker xmlChar, 0 if none
end3:an end marker xmlChar, 0 if none
Returns:A newly allocated string with the substitution done. The caller must deallocate it !

Function type: xmlEntityReferenceFunc

Function type: xmlEntityReferenceFunc
 void	xmlEntityReferenceFunc		(xmlEntityPtr ent, 
xmlNodePtr firstNode,
xmlNodePtr lastNode) @@ -175,41 +175,41 @@ void xmlEntityReferenceFunc (xmlEntityP

Default handling of defined entities, when should we define a new input stream ? When do we just handle that as a set of chars ? OBSOLETE: to be removed at some point.

ctxt:an XML parser context
entity:an XML entity pointer.

Function: xmlIsLetter

int	xmlIsLetter			(int c)

Check whether the character is allowed by the production [84] Letter ::= BaseChar | Ideographic

-
c:an unicode character (int)
Returns:0 if not, non-zero otherwise

Function: xmlNamespaceParseNCName

xmlChar *	xmlNamespaceParseNCName	(xmlParserCtxtPtr ctxt)
+
c:an unicode character (int)
Returns:0 if not, non-zero otherwise

Function: xmlNamespaceParseNCName

xmlChar *	xmlNamespaceParseNCName	(xmlParserCtxtPtr ctxt)

parse an XML namespace name. TODO: this seems not in use anymore, the namespace handling is done on top of the SAX interfaces, i.e. not on raw input. [NS 3] NCName ::= (Letter | '_') (NCNameChar)* [NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender

-
ctxt:an XML parser context
Returns:the namespace name or NULL

Function: xmlNamespaceParseNSDef

xmlChar *	xmlNamespaceParseNSDef	(xmlParserCtxtPtr ctxt)
+
ctxt:an XML parser context
Returns:the namespace name or NULL

Function: xmlNamespaceParseNSDef

xmlChar *	xmlNamespaceParseNSDef	(xmlParserCtxtPtr ctxt)

parse a namespace prefix declaration TODO: this seems not in use anymore, the namespace handling is done on top of the SAX interfaces, i.e. not on raw input. [NS 1] NSDef ::= PrefixDef Eq SystemLiteral [NS 2] PrefixDef ::= 'xmlns' (':' NCName)?

-
ctxt:an XML parser context
Returns:the namespace name

Function: xmlNamespaceParseQName

xmlChar *	xmlNamespaceParseQName	(xmlParserCtxtPtr ctxt, 
xmlChar ** prefix)
+
ctxt:an XML parser context
Returns:the namespace name

Function: xmlNamespaceParseQName

xmlChar *	xmlNamespaceParseQName	(xmlParserCtxtPtr ctxt, 
xmlChar ** prefix)

TODO: this seems not in use anymore, the namespace handling is done on top of the SAX interfaces, i.e. not on raw input. parse an XML qualified name [NS 5] QName ::= (Prefix ':')? LocalPart [NS 6] Prefix ::= NCName [NS 7] LocalPart ::= NCName

-
ctxt:an XML parser context
prefix:a xmlChar **
Returns:the local part, and prefix is updated to get the Prefix if any.

Function: xmlNewEntityInputStream

xmlParserInputPtr	xmlNewEntityInputStream	(xmlParserCtxtPtr ctxt, 
xmlEntityPtr entity)
+
ctxt:an XML parser context
prefix:a xmlChar **
Returns:the local part, and prefix is updated to get the Prefix if any.

Function: xmlNewEntityInputStream

xmlParserInputPtr	xmlNewEntityInputStream	(xmlParserCtxtPtr ctxt, 
xmlEntityPtr entity)

Create a new input stream based on an xmlEntityPtr

ctxt:an XML parser context
entity:an Entity pointer
Returns:the new input stream or NULL

Function: xmlNewInputFromFile

xmlParserInputPtr	xmlNewInputFromFile	(xmlParserCtxtPtr ctxt, 
const char * filename)

Create a new input stream based on a file or an URL.

ctxt:an XML parser context
filename:the filename to use as entity
Returns:the new input stream or NULL in case of error

Function: xmlNewInputStream

xmlParserInputPtr	xmlNewInputStream	(xmlParserCtxtPtr ctxt)

Create a new input stream structure

-
ctxt:an XML parser context
Returns:the new input stream or NULL

Function: xmlNewStringInputStream

xmlParserInputPtr	xmlNewStringInputStream	(xmlParserCtxtPtr ctxt, 
const xmlChar * buffer)
+
ctxt:an XML parser context
Returns:the new input stream or NULL

Function: xmlNewStringInputStream

xmlParserInputPtr	xmlNewStringInputStream	(xmlParserCtxtPtr ctxt, 
const xmlChar * buffer)

Create a new input stream based on a memory buffer.

ctxt:an XML parser context
buffer:an memory buffer
Returns:the new input stream

Function: xmlNextChar

void	xmlNextChar			(xmlParserCtxtPtr ctxt)

Skip to the next char input char.

-
ctxt:the XML parser context

Function: xmlParseAttValue

xmlChar *	xmlParseAttValue	(xmlParserCtxtPtr ctxt)
-

parse a value for an attribute Note: the parser won't do substitution of entities here, this will be handled later in xmlStringGetNodeList [10] AttValue ::= '"' ([^<&"] | Reference)* '"' | "'" ([^<&'] | Reference)* "'" 3.3.3 Attribute-Value Normalization: Before the value of an attribute is passed to the application or checked for validity, the XML processor must normalize it as follows: - a character reference is processed by appending the referenced character to the attribute value - an entity reference is processed by recursively processing the replacement text of the entity - a whitespace character (#x20, #xD, #xA, #x9) is processed by appending #x20 to the normalized value, except that only a single #x20 is appended for a "#xD#xA" sequence that is part of an external parsed entity or the literal entity value of an internal parsed entity - other characters are processed by appending them to the normalized value If the declared value is not CDATA, then the XML processor must further process the normalized attribute value by discarding any leading and trailing space (#x20) characters, and by replacing sequences of space (#x20) characters by a single space (#x20) character. All attributes for which no declaration has been read should be treated by a non-validating parser as if declared CDATA.

-
ctxt:an XML parser context
Returns:the AttValue parsed or NULL. The value has to be freed by the caller.

Function: xmlParseAttribute

const xmlChar *	xmlParseAttribute	(xmlParserCtxtPtr ctxt, 
xmlChar ** value)
-

parse an attribute [41] Attribute ::= Name Eq AttValue [ WFC: No External Entity References ] Attribute values cannot contain direct or indirect entity references to external entities. [ WFC: No < in Attribute Values ] The replacement text of any entity referred to directly or indirectly in an attribute value (other than "&lt;") must not contain a <. [ VC: Attribute Value Type ] The attribute must have been declared; the value must be of the type declared for it. [25] Eq ::= S? '=' S? With namespace: [NS 11] Attribute ::= QName Eq AttValue Also the case QName == xmlns:??? is handled independently as a namespace definition.

-
ctxt:an XML parser context
value:a xmlChar ** used to store the value of the attribute
Returns:the attribute name, and the value in *value.

Function: xmlParseAttributeListDecl

void	xmlParseAttributeListDecl	(xmlParserCtxtPtr ctxt)
+
ctxt:the XML parser context

Function: xmlParseAttValue

xmlChar *	xmlParseAttValue	(xmlParserCtxtPtr ctxt)
+

parse a value for an attribute Note: the parser won't do substitution of entities here, this will be handled later in xmlStringGetNodeList [10] AttValue ::= '"' ([^<&"] | Reference)* '"' | "'" ([^<&'] | Reference)* "'" 3.3.3 Attribute-Value Normalization: Before the value of an attribute is passed to the application or checked for validity, the XML processor must normalize it as follows: - a character reference is processed by appending the referenced character to the attribute value - an entity reference is processed by recursively processing the replacement text of the entity - a whitespace character (#x20, #xD, #xA, #x9) is processed by appending #x20 to the normalized value, except that only a single #x20 is appended for a "#xD#xA" sequence that is part of an external parsed entity or the literal entity value of an internal parsed entity - other characters are processed by appending them to the normalized value If the declared value is not CDATA, then the XML processor must further process the normalized attribute value by discarding any leading and trailing space (#x20) characters, and by replacing sequences of space (#x20) characters by a single space (#x20) character. All attributes for which no declaration has been read should be treated by a non-validating parser as if declared CDATA.

+
ctxt:an XML parser context
Returns:the AttValue parsed or NULL. The value has to be freed by the caller.

Function: xmlParseAttribute

const xmlChar *	xmlParseAttribute	(xmlParserCtxtPtr ctxt, 
xmlChar ** value)
+

parse an attribute [41] Attribute ::= Name Eq AttValue [ WFC: No External Entity References ] Attribute values cannot contain direct or indirect entity references to external entities. [ WFC: No < in Attribute Values ] The replacement text of any entity referred to directly or indirectly in an attribute value (other than "&lt;") must not contain a <. [ VC: Attribute Value Type ] The attribute must have been declared; the value must be of the type declared for it. [25] Eq ::= S? '=' S? With namespace: [NS 11] Attribute ::= QName Eq AttValue Also the case QName == xmlns:??? is handled independently as a namespace definition.

+
ctxt:an XML parser context
value:a xmlChar ** used to store the value of the attribute
Returns:the attribute name, and the value in *value.

Function: xmlParseAttributeListDecl

void	xmlParseAttributeListDecl	(xmlParserCtxtPtr ctxt)

: parse the Attribute list def for an element [52] AttlistDecl ::= '<!ATTLIST' S Name AttDef* S? '>' [53] AttDef ::= S Name S AttType S DefaultDecl

ctxt:an XML parser context

Function: xmlParseAttributeType

int	xmlParseAttributeType		(xmlParserCtxtPtr ctxt, 
xmlEnumerationPtr * tree)

parse the Attribute list def for an element [54] AttType ::= StringType | TokenizedType | EnumeratedType [55] StringType ::= 'CDATA' [56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' | 'ENTITIES' | 'NMTOKEN' | 'NMTOKENS' Validity constraints for attribute values syntax are checked in xmlValidateAttributeValue() [ VC: ID ] Values of type ID must match the Name production. A name must not appear more than once in an XML document as a value of this type; i.e., ID values must uniquely identify the elements which bear them. [ VC: One ID per Element Type ] No element type may have more than one ID attribute specified. [ VC: ID Attribute Default ] An ID attribute must have a declared default of #IMPLIED or #REQUIRED. [ VC: IDREF ] Values of type IDREF must match the Name production, and values of type IDREFS must match Names; each IDREF Name must match the value of an ID attribute on some element in the XML document; i.e. IDREF values must match the value of some ID attribute. [ VC: Entity Name ] Values of type ENTITY must match the Name production, values of type ENTITIES must match Names; each Entity Name must match the name of an unparsed entity declared in the DTD. [ VC: Name Token ] Values of type NMTOKEN must match the Nmtoken production; values of type NMTOKENS must match Nmtokens.

ctxt:an XML parser context
tree:the enumeration tree built while parsing
Returns:the attribute type

Function: xmlParseCDSect

void	xmlParseCDSect			(xmlParserCtxtPtr ctxt)

Parse escaped pure raw content. [18] CDSect ::= CDStart CData CDEnd [19] CDStart ::= '<![CDATA[' [20] Data ::= (Char* - (Char* ']]>' Char*)) [21] CDEnd ::= ']]>'

ctxt:an XML parser context

Function: xmlParseCharData

void	xmlParseCharData		(xmlParserCtxtPtr ctxt, 
int cdata)
-

parse a CharData section. if we are within a CDATA section ']]>' marks an end of section. The right angle bracket (>) may be represented using the string "&gt;", and must, for compatibility, be escaped using "&gt;" or a character reference when it appears in the string "]]>" in content, when that string is not marking the end of a CDATA section. [14] CharData ::= [^<&]* - ([^<&]* ']]>' [^<&]*)

+

parse a CharData section. if we are within a CDATA section ']]>' marks an end of section. The right angle bracket (>) may be represented using the string "&gt;", and must, for compatibility, be escaped using "&gt;" or a character reference when it appears in the string "]]>" in content, when that string is not marking the end of a CDATA section. [14] CharData ::= [^<&]* - ([^<&]* ']]>' [^<

ctxt:an XML parser context
cdata:int indicating whether we are within a CDATA section

Function: xmlParseCharRef

int	xmlParseCharRef			(xmlParserCtxtPtr ctxt)

parse Reference declarations [66] CharRef ::= '&#' [0-9]+ ';' | '&#x' [0-9a-fA-F]+ ';' [ WFC: Legal Character ] Characters referred to using character references must match the production for Char.

ctxt:an XML parser context
Returns:the value parsed (as an int), 0 in case of error

Function: xmlParseComment

void	xmlParseComment			(xmlParserCtxtPtr ctxt)
-

Skip an XML (SGML) comment <!-- .... --> The spec says that "For compatibility, the string "--" (double-hyphen) must not occur within comments. " [15] Comment ::= '<!--' ((Char - '-') | ('-' (Char - '-')))* '-->'

+

Skip an XML (SGML) comment <!-- .... --> The spec says that "For compatibility, the string "--" (double-hyphen) must not occur within comments. " [15] Comment ::= '<!--' ((Char - '-') | ('-' (Char - '-')))* '-->'

ctxt:an XML parser context

Function: xmlParseContent

void	xmlParseContent			(xmlParserCtxtPtr ctxt)

Parse a content: [43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*

-
ctxt:an XML parser context

Function: xmlParseDefaultDecl

int	xmlParseDefaultDecl		(xmlParserCtxtPtr ctxt, 
xmlChar ** value)
+
ctxt:an XML parser context

Function: xmlParseDefaultDecl

int	xmlParseDefaultDecl		(xmlParserCtxtPtr ctxt, 
xmlChar ** value)

Parse an attribute default declaration [60] DefaultDecl ::= '#REQUIRED' | '#IMPLIED' | (('#FIXED' S)? AttValue) [ VC: Required Attribute ] if the default declaration is the keyword #REQUIRED, then the attribute must be specified for all elements of the type in the attribute-list declaration. [ VC: Attribute Default Legal ] The declared default value must meet the lexical constraints of the declared attribute type c.f. xmlValidateAttributeDecl() [ VC: Fixed Attribute Default ] if an attribute has a default value declared with the #FIXED keyword, instances of that attribute must match the default value. [ WFC: No < in Attribute Values ] handled in xmlParseAttValue()

ctxt:an XML parser context
value:Receive a possible fixed default value for the attribute
Returns:XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED or XML_ATTRIBUTE_FIXED.

Function: xmlParseDocTypeDecl

void	xmlParseDocTypeDecl		(xmlParserCtxtPtr ctxt)

parse a DOCTYPE declaration [28] doctypedecl ::= '<!DOCTYPE' S Name (S ExternalID)? S? ('[' (markupdecl | PEReference | S)* ']' S?)? '>' [ VC: Root Element Type ] The Name in the document type declaration must match the element type of the root element.

@@ -217,95 +217,95 @@ void xmlEntityReferenceFunc (xmlEntityP

parse an XML element, this is highly recursive [39] element ::= EmptyElemTag | STag content ETag [ WFC: Element Type Match ] The Name in an element's end-tag must match the element type in the start-tag.

ctxt:an XML parser context

Function: xmlParseElementChildrenContentDecl

xmlElementContentPtr	xmlParseElementChildrenContentDecl	(xmlParserCtxtPtr ctxt, 
int inputchk)

parse the declaration for a Mixed Element content The leading '(' and spaces have been skipped in xmlParseElementContentDecl [47] children ::= (choice | seq) ('?' | '*' | '+')? [48] cp ::= (Name | choice | seq) ('?' | '*' | '+')? [49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')' [50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')' [ VC: Proper Group/PE Nesting ] applies to [49] and [50] TODO Parameter-entity replacement text must be properly nested with parenthesized groups. That is to say, if either of the opening or closing parentheses in a choice, seq, or Mixed construct is contained in the replacement text for a parameter entity, both must be contained in the same replacement text. For interoperability, if a parameter-entity reference appears in a choice, seq, or Mixed construct, its replacement text should not be empty, and neither the first nor last non-blank character of the replacement text should be a connector (| or ,).

-
ctxt:an XML parser context
inputchk:the input used for the current entity, needed for boundary checks
Returns:the tree of xmlElementContentPtr describing the element hierarchy.

Function: xmlParseElementContentDecl

int	xmlParseElementContentDecl	(xmlParserCtxtPtr ctxt, 
const xmlChar * name,
xmlElementContentPtr * result)
+
ctxt:an XML parser context
inputchk:the input used for the current entity, needed for boundary checks
Returns:the tree of xmlElementContentPtr describing the element hierarchy.

Function: xmlParseElementContentDecl

int	xmlParseElementContentDecl	(xmlParserCtxtPtr ctxt, 
const xmlChar * name,
xmlElementContentPtr * result)

parse the declaration for an Element content either Mixed or Children, the cases EMPTY and ANY are handled directly in xmlParseElementDecl [46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children

ctxt:an XML parser context
name:the name of the element being defined.
result:the Element Content pointer will be stored here if any
Returns:the type of element content XML_ELEMENT_TYPE_xxx

Function: xmlParseElementDecl

int	xmlParseElementDecl		(xmlParserCtxtPtr ctxt)

parse an Element declaration. [45] elementdecl ::= '<!ELEMENT' S Name S contentspec S? '>' [ VC: Unique Element Type Declaration ] No element type may be declared more than once

ctxt:an XML parser context
Returns:the type of the element, or -1 in case of error

Function: xmlParseElementMixedContentDecl

xmlElementContentPtr	xmlParseElementMixedContentDecl	(xmlParserCtxtPtr ctxt, 
int inputchk)

parse the declaration for a Mixed Element content The leading '(' and spaces have been skipped in xmlParseElementContentDecl [51] Mixed ::= '(' S? '#PCDATA' (S? '|' S? Name)* S? ')*' | '(' S? '#PCDATA' S? ')' [ VC: Proper Group/PE Nesting ] applies to [51] too (see [49]) [ VC: No Duplicate Types ] The same name must not appear more than once in a single mixed-content declaration.

-
ctxt:an XML parser context
inputchk:the input used for the current entity, needed for boundary checks
Returns:the list of the xmlElementContentPtr describing the element choices

Function: xmlParseEncName

xmlChar *	xmlParseEncName		(xmlParserCtxtPtr ctxt)
+
ctxt:an XML parser context
inputchk:the input used for the current entity, needed for boundary checks
Returns:the list of the xmlElementContentPtr describing the element choices

Function: xmlParseEncName

xmlChar *	xmlParseEncName		(xmlParserCtxtPtr ctxt)

parse the XML encoding name [81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*

-
ctxt:an XML parser context
Returns:the encoding name value or NULL

Function: xmlParseEncodingDecl

const xmlChar *	xmlParseEncodingDecl	(xmlParserCtxtPtr ctxt)
-

parse the XML encoding declaration [80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'") this setups the conversion filters.

+
ctxt:an XML parser context
Returns:the encoding name value or NULL

Function: xmlParseEncodingDecl

const xmlChar *	xmlParseEncodingDecl	(xmlParserCtxtPtr ctxt)
+

parse the XML encoding declaration [80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'") this setups the conversion filters.

ctxt:an XML parser context
Returns:the encoding value or NULL

Function: xmlParseEndTag

void	xmlParseEndTag			(xmlParserCtxtPtr ctxt)

parse an end of tag [42] ETag ::= '</' Name S? '>' With namespace [NS 9] ETag ::= '</' QName S? '>'

ctxt:an XML parser context

Function: xmlParseEntityDecl

void	xmlParseEntityDecl		(xmlParserCtxtPtr ctxt)

parse <!ENTITY declarations [70] EntityDecl ::= GEDecl | PEDecl [71] GEDecl ::= '<!ENTITY' S Name S EntityDef S? '>' [72] PEDecl ::= '<!ENTITY' S '%' S Name S PEDef S? '>' [73] EntityDef ::= EntityValue | (ExternalID NDataDecl?) [74] PEDef ::= EntityValue | ExternalID [76] NDataDecl ::= S 'NDATA' S Name [ VC: Notation Declared ] The Name must match the declared name of a notation.

ctxt:an XML parser context

Function: xmlParseEntityRef

xmlEntityPtr	xmlParseEntityRef	(xmlParserCtxtPtr ctxt)
-

parse ENTITY references declarations [68] EntityRef ::= '&' Name ';' [ WFC: Entity Declared ] In a document without any DTD, a document with only an internal DTD subset which contains no parameter entity references, or a document with "standalone='yes'", the Name given in the entity reference must match that in an entity declaration, except that well-formed documents need not declare any of the following entities: amp, lt, gt, apos, quot. The declaration of a parameter entity must precede any reference to it. Similarly, the declaration of a general entity must precede any reference to it which appears in a default value in an attribute-list declaration. Note that if entities are declared in the external subset or in external parameter entities, a non-validating processor is not obligated to read and process their declarations; for such documents, the rule that an entity must be declared is a well-formedness constraint only if standalone='yes'. [ WFC: Parsed Entity ] An entity reference must not contain the name of an unparsed entity

-
ctxt:an XML parser context
Returns:the xmlEntityPtr if found, or NULL otherwise.

Function: xmlParseEntityValue

xmlChar *	xmlParseEntityValue	(xmlParserCtxtPtr ctxt, 
xmlChar ** orig)
-

parse a value for ENTITY declarations [9] EntityValue ::= '"' ([^%&"] | PEReference | Reference)* '"' | "'" ([^%&'] | PEReference | Reference)* "'"

+

parse ENTITY references declarations [68] EntityRef ::= '&' Name ';' [ WFC: Entity Declared ] In a document without any DTD, a document with only an internal DTD subset which contains no parameter entity references, or a document with "standalone='yes'", the Name given in the entity reference must match that in an entity declaration, except that well-formed documents need not declare any of the following entities: amp, lt, gt, apos, quot. The declaration of a parameter entity must precede any reference to it. Similarly, the declaration of a general entity must precede any reference to it which appears in a default value in an attribute-list declaration. Note that if entities are declared in the external subset or in external parameter entities, a non-validating processor is not obligated to read and process their declarations; for such documents, the rule that an entity must be declared is a well-formedness constraint only if standalone='yes'. [ WFC: Parsed Entity ] An entity reference must not contain the name of an unparsed entity

+
ctxt:an XML parser context
Returns:the xmlEntityPtr if found, or NULL otherwise.

Function: xmlParseEntityValue

xmlChar *	xmlParseEntityValue	(xmlParserCtxtPtr ctxt, 
xmlChar ** orig)
+

parse a value for ENTITY declarations [9] EntityValue ::= '"' ([^%&"] | PEReference | Reference)* '"' | "'" ([^%&'] | PEReference | Reference)* "'"

ctxt:an XML parser context
orig:if non-NULL store a copy of the original entity value
Returns:the EntityValue parsed with reference substituted or NULL

Function: xmlParseEnumeratedType

int	xmlParseEnumeratedType		(xmlParserCtxtPtr ctxt, 
xmlEnumerationPtr * tree)

parse an Enumerated attribute type. [57] EnumeratedType ::= NotationType | Enumeration [58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'

ctxt:an XML parser context
tree:the enumeration tree built while parsing
Returns:XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION

Function: xmlParseEnumerationType

xmlEnumerationPtr	xmlParseEnumerationType	(xmlParserCtxtPtr ctxt)

parse an Enumeration attribute type. [59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')' [ VC: Enumeration ] Values of this type must match one of the Nmtoken tokens in the declaration

-
ctxt:an XML parser context
Returns:the enumeration attribute tree built while parsing

Function: xmlParseExternalID

xmlChar *	xmlParseExternalID	(xmlParserCtxtPtr ctxt, 
xmlChar ** publicID,
int strict)
+
ctxt:an XML parser context
Returns:the enumeration attribute tree built while parsing

Function: xmlParseExternalID

xmlChar *	xmlParseExternalID	(xmlParserCtxtPtr ctxt, 
xmlChar ** publicID,
int strict)

Parse an External ID or a Public ID NOTE: Productions [75] and [83] interact badly since [75] can generate 'PUBLIC' S PubidLiteral S SystemLiteral [75] ExternalID ::= 'SYSTEM' S SystemLiteral | 'PUBLIC' S PubidLiteral S SystemLiteral [83] PublicID ::= 'PUBLIC' S PubidLiteral

-
ctxt:an XML parser context
publicID:a xmlChar** receiving PubidLiteral
strict:indicate whether we should restrict parsing to only production [75], see NOTE below
Returns:the function returns SystemLiteral and in the second case publicID receives PubidLiteral, is strict is off it is possible to return NULL and have publicID set.

Function: xmlParseExternalSubset

void	xmlParseExternalSubset		(xmlParserCtxtPtr ctxt, 
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
ctxt:an XML parser context
publicID:a xmlChar** receiving PubidLiteral
strict:indicate whether we should restrict parsing to only production [75], see NOTE below
Returns:the function returns SystemLiteral and in the second case publicID receives PubidLiteral, is strict is off it is possible to return NULL and have publicID set.

Function: xmlParseExternalSubset

void	xmlParseExternalSubset		(xmlParserCtxtPtr ctxt, 
const xmlChar * ExternalID,
const xmlChar * SystemID)

parse Markup declarations from an external subset [30] extSubset ::= textDecl? extSubsetDecl [31] extSubsetDecl ::= (markupdecl | conditionalSect | PEReference | S) *

ctxt:an XML parser context
ExternalID:the external identifier
SystemID:the system identifier (or URL)

Function: xmlParseMarkupDecl

void	xmlParseMarkupDecl		(xmlParserCtxtPtr ctxt)

parse Markup declarations [29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl | NotationDecl | PI | Comment [ VC: Proper Declaration/PE Nesting ] Parameter-entity replacement text must be properly nested with markup declarations. That is to say, if either the first character or the last character of a markup declaration (markupdecl above) is contained in the replacement text for a parameter-entity reference, both must be contained in the same replacement text. [ WFC: PEs in Internal Subset ] In the internal DTD subset, parameter-entity references can occur only where markup declarations can occur, not within markup declarations. (This does not apply to references that occur in external parameter entities or to the external subset.)

ctxt:an XML parser context

Function: xmlParseMisc

void	xmlParseMisc			(xmlParserCtxtPtr ctxt)

parse an XML Misc* optional field. [27] Misc ::= Comment | PI | S

-
ctxt:an XML parser context

Function: xmlParseName

const xmlChar *	xmlParseName		(xmlParserCtxtPtr ctxt)
+
ctxt:an XML parser context

Function: xmlParseName

const xmlChar *	xmlParseName		(xmlParserCtxtPtr ctxt)

parse an XML name. [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)* [6] Names ::= Name (S Name)*

ctxt:an XML parser context
Returns:the Name parsed or NULL

Function: xmlParseNamespace

void	xmlParseNamespace		(xmlParserCtxtPtr ctxt)

xmlParseNamespace: parse specific PI '<?namespace ...' constructs. This is what the older xml-name Working Draft specified, a bunch of other stuff may still rely on it, so support is still here as if it was declared on the root of the Tree:-( TODO: remove from library To be removed at next drop of binary compatibility

-
ctxt:an XML parser context

Function: xmlParseNmtoken

xmlChar *	xmlParseNmtoken		(xmlParserCtxtPtr ctxt)
+
ctxt:an XML parser context

Function: xmlParseNmtoken

xmlChar *	xmlParseNmtoken		(xmlParserCtxtPtr ctxt)

parse an XML Nmtoken. [7] Nmtoken ::= (NameChar)+ [8] Nmtokens ::= Nmtoken (S Nmtoken)*

ctxt:an XML parser context
Returns:the Nmtoken parsed or NULL

Function: xmlParseNotationDecl

void	xmlParseNotationDecl		(xmlParserCtxtPtr ctxt)

parse a notation declaration [82] NotationDecl ::= '<!NOTATION' S Name S (ExternalID | PublicID) S? '>' Hence there is actually 3 choices: 'PUBLIC' S PubidLiteral 'PUBLIC' S PubidLiteral S SystemLiteral and 'SYSTEM' S SystemLiteral See the NOTE on xmlParseExternalID().

ctxt:an XML parser context

Function: xmlParseNotationType

xmlEnumerationPtr	xmlParseNotationType	(xmlParserCtxtPtr ctxt)

parse an Notation attribute type. Note: the leading 'NOTATION' S part has already being parsed... [58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')' [ VC: Notation Attributes ] Values of this type must match one of the notation names included in the declaration; all notation names in the declaration must be declared.

ctxt:an XML parser context
Returns:the notation attribute tree built while parsing

Function: xmlParsePEReference

void	xmlParsePEReference		(xmlParserCtxtPtr ctxt)
-

parse PEReference declarations The entity content is handled directly by pushing it's content as a new input stream. [69] PEReference ::= '%' Name ';' [ WFC: No Recursion ] A parsed entity must not contain a recursive reference to itself, either directly or indirectly. [ WFC: Entity Declared ] In a document without any DTD, a document with only an internal DTD subset which contains no parameter entity references, or a document with "standalone='yes'", ... ... The declaration of a parameter entity must precede any reference to it... [ VC: Entity Declared ] In a document with an external subset or external parameter entities with "standalone='no'", ... ... The declaration of a parameter entity must precede any reference to it... [ WFC: In DTD ] Parameter-entity references may only appear in the DTD. NOTE: misleading but this is handled.

+

parse PEReference declarations The entity content is handled directly by pushing it's content as a new input stream. [69] PEReference ::= '%' Name ';' [ WFC: No Recursion ] A parsed entity must not contain a recursive reference to itself, either directly or indirectly. [ WFC: Entity Declared ] In a document without any DTD, a document with only an internal DTD subset which contains no parameter entity references, or a document with "standalone='yes'", ... ... The declaration of a parameter entity must precede any reference to it... [ VC: Entity Declared ] In a document with an external subset or external parameter entities with "standalone='no'", ... ... The declaration of a parameter entity must precede any reference to it... [ WFC: In DTD ] Parameter-entity references may only appear in the DTD. NOTE: misleading but this is handled.

ctxt:an XML parser context

Function: xmlParsePI

void	xmlParsePI			(xmlParserCtxtPtr ctxt)

parse an XML Processing Instruction. [16] PI ::= '<?' PITarget (S (Char* - (Char* '?>' Char*)))? '?>' The processing is transfered to SAX once parsed.

-
ctxt:an XML parser context

Function: xmlParsePITarget

const xmlChar *	xmlParsePITarget	(xmlParserCtxtPtr ctxt)
+
ctxt:an XML parser context

Function: xmlParsePITarget

const xmlChar *	xmlParsePITarget	(xmlParserCtxtPtr ctxt)

parse the name of a PI [17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))

-
ctxt:an XML parser context
Returns:the PITarget name or NULL

Function: xmlParsePubidLiteral

xmlChar *	xmlParsePubidLiteral	(xmlParserCtxtPtr ctxt)
-

parse an XML public literal [12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"

-
ctxt:an XML parser context
Returns:the PubidLiteral parsed or NULL.

Function: xmlParseQuotedString

xmlChar *	xmlParseQuotedString	(xmlParserCtxtPtr ctxt)
+
ctxt:an XML parser context
Returns:the PITarget name or NULL

Function: xmlParsePubidLiteral

xmlChar *	xmlParsePubidLiteral	(xmlParserCtxtPtr ctxt)
+

parse an XML public literal [12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"

+
ctxt:an XML parser context
Returns:the PubidLiteral parsed or NULL.

Function: xmlParseQuotedString

xmlChar *	xmlParseQuotedString	(xmlParserCtxtPtr ctxt)

Parse and return a string between quotes or doublequotes TODO: Deprecated, to be removed at next drop of binary compatibility

ctxt:an XML parser context
Returns:the string parser or NULL.

Function: xmlParseReference

void	xmlParseReference		(xmlParserCtxtPtr ctxt)

parse and handle entity references in content, depending on the SAX interface, this may end-up in a call to character() if this is a CharRef, a predefined entity, if there is no reference() callback. or if the parser was asked to switch to that mode. [67] Reference ::= EntityRef | CharRef

ctxt:an XML parser context

Function: xmlParseSDDecl

int	xmlParseSDDecl			(xmlParserCtxtPtr ctxt)
-

parse the XML standalone declaration [32] SDDecl ::= S 'standalone' Eq (("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"')) [ VC: Standalone Document Declaration ] TODO The standalone document declaration must have the value "no" if any external markup declarations contain declarations of: - attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or - entities (other than amp, lt, gt, apos, quot), if references to those entities appear in the document, or - attributes with values subject to normalization, where the attribute appears in the document with a value which will change as a result of normalization, or - element types with element content, if white space occurs directly within any instance of those types.

-
ctxt:an XML parser context
Returns:1 if standalone, 0 otherwise

Function: xmlParseStartTag

const xmlChar *	xmlParseStartTag	(xmlParserCtxtPtr ctxt)
+

parse the XML standalone declaration [32] SDDecl ::= S 'standalone' Eq (("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"')) [ VC: Standalone Document Declaration ] TODO The standalone document declaration must have the value "no" if any external markup declarations contain declarations of: - attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or - entities (other than amp, lt, gt, apos, quot), if references to those entities appear in the document, or - attributes with values subject to normalization, where the attribute appears in the document with a value which will change as a result of normalization, or - element types with element content, if white space occurs directly within any instance of those types.

+
ctxt:an XML parser context
Returns:1 if standalone, 0 otherwise

Function: xmlParseStartTag

const xmlChar *	xmlParseStartTag	(xmlParserCtxtPtr ctxt)

parse a start of tag either for rule element or EmptyElement. In both case we don't parse the tag closing chars. [40] STag ::= '<' Name (S Attribute)* S? '>' [ WFC: Unique Att Spec ] No attribute name may appear more than once in the same start-tag or empty-element tag. [44] EmptyElemTag ::= '<' Name (S Attribute)* S? '/>' [ WFC: Unique Att Spec ] No attribute name may appear more than once in the same start-tag or empty-element tag. With namespace: [NS 8] STag ::= '<' QName (S Attribute)* S? '>' [NS 10] EmptyElement ::= '<' QName (S Attribute)* S? '/>'

-
ctxt:an XML parser context
Returns:the element name parsed

Function: xmlParseSystemLiteral

xmlChar *	xmlParseSystemLiteral	(xmlParserCtxtPtr ctxt)
-

parse an XML Literal [11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")

+
ctxt:an XML parser context
Returns:the element name parsed

Function: xmlParseSystemLiteral

xmlChar *	xmlParseSystemLiteral	(xmlParserCtxtPtr ctxt)
+

parse an XML Literal [11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")

ctxt:an XML parser context
Returns:the SystemLiteral parsed or NULL

Function: xmlParseTextDecl

void	xmlParseTextDecl		(xmlParserCtxtPtr ctxt)

parse an XML declaration header for external entities [77] TextDecl ::= '<?xml' VersionInfo? EncodingDecl S? '?>' Question: Seems that EncodingDecl is mandatory ? Is that a typo ?

-
ctxt:an XML parser context

Function: xmlParseVersionInfo

xmlChar *	xmlParseVersionInfo	(xmlParserCtxtPtr ctxt)
-

parse the XML version. [24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ") [25] Eq ::= S? '=' S?

-
ctxt:an XML parser context
Returns:the version string, e.g. "1.0"

Function: xmlParseVersionNum

xmlChar *	xmlParseVersionNum	(xmlParserCtxtPtr ctxt)
+
ctxt:an XML parser context

Function: xmlParseVersionInfo

xmlChar *	xmlParseVersionInfo	(xmlParserCtxtPtr ctxt)
+

parse the XML version. [24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ") [25] Eq ::= S? '=' S?

+
ctxt:an XML parser context
Returns:the version string, e.g. "1.0"

Function: xmlParseVersionNum

xmlChar *	xmlParseVersionNum	(xmlParserCtxtPtr ctxt)

parse the XML version value. [26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+

ctxt:an XML parser context
Returns:the string giving the XML version number, or NULL

Function: xmlParseXMLDecl

void	xmlParseXMLDecl			(xmlParserCtxtPtr ctxt)

parse an XML declaration header [23] XMLDecl ::= '<?xml' VersionInfo EncodingDecl? SDDecl? S? '?>'

ctxt:an XML parser context

Function: xmlParserHandlePEReference

void	xmlParserHandlePEReference	(xmlParserCtxtPtr ctxt)
-

[69] PEReference ::= '%' Name ';' [ WFC: No Recursion ] A parsed entity must not contain a recursive reference to itself, either directly or indirectly. [ WFC: Entity Declared ] In a document without any DTD, a document with only an internal DTD subset which contains no parameter entity references, or a document with "standalone='yes'", ... ... The declaration of a parameter entity must precede any reference to it... [ VC: Entity Declared ] In a document with an external subset or external parameter entities with "standalone='no'", ... ... The declaration of a parameter entity must precede any reference to it... [ WFC: In DTD ] Parameter-entity references may only appear in the DTD. NOTE: misleading but this is handled. A PEReference may have been detected in the current input stream the handling is done accordingly to http://www.w3.org/TR/REC-xml#entproc i.e. - Included in literal in entity values - Included as Parameter Entity reference within DTDs

+

[69] PEReference ::= '%' Name ';' [ WFC: No Recursion ] A parsed entity must not contain a recursive reference to itself, either directly or indirectly. [ WFC: Entity Declared ] In a document without any DTD, a document with only an internal DTD subset which contains no parameter entity references, or a document with "standalone='yes'", ... ... The declaration of a parameter entity must precede any reference to it... [ VC: Entity Declared ] In a document with an external subset or external parameter entities with "standalone='no'", ... ... The declaration of a parameter entity must precede any reference to it... [ WFC: In DTD ] Parameter-entity references may only appear in the DTD. NOTE: misleading but this is handled. A PEReference may have been detected in the current input stream the handling is done accordingly to http://www.w3.org/TR/REC-xml#entproc i.e. - Included in literal in entity values - Included as Parameter Entity reference within DTDs

ctxt:the parser context

Function: xmlParserHandleReference

void	xmlParserHandleReference	(xmlParserCtxtPtr ctxt)

TODO: Remove, now deprecated ... the test is done directly in the content parsing routines. [67] Reference ::= EntityRef | CharRef [68] EntityRef ::= '&' Name ';' [ WFC: Entity Declared ] the Name given in the entity reference must match that in an entity declaration, except that well-formed documents need not declare any of the following entities: amp, lt, gt, apos, quot. [ WFC: Parsed Entity ] An entity reference must not contain the name of an unparsed entity [66] CharRef ::= '&#' [0-9]+ ';' | '&#x' [0-9a-fA-F]+ ';' A PEReference may have been detected in the current input stream the handling is done accordingly to http://www.w3.org/TR/REC-xml#entproc

ctxt:the parser context

Function: xmlParserInputShrink

void	xmlParserInputShrink		(xmlParserInputPtr in)

This function removes used input for the parser.

-
in:an XML parser input

Function: xmlPopInput

xmlChar	xmlPopInput			(xmlParserCtxtPtr ctxt)
+
in:an XML parser input

Function: xmlPopInput

xmlChar	xmlPopInput			(xmlParserCtxtPtr ctxt)

xmlPopInput: the current input pointed by ctxt->input came to an end pop it and return the next char.

-
ctxt:an XML parser context
Returns:the current xmlChar in the parser context

Function: xmlPushInput

void	xmlPushInput			(xmlParserCtxtPtr ctxt, 
xmlParserInputPtr input)
+
ctxt:an XML parser context
Returns:the current xmlChar in the parser context

Function: xmlPushInput

void	xmlPushInput			(xmlParserCtxtPtr ctxt, 
xmlParserInputPtr input)

xmlPushInput: switch to a new input stream which is stacked on top of the previous one(s).

-
ctxt:an XML parser context
input:an XML parser input fragment (entity, XML fragment ...).

Function: xmlScanName

xmlChar *	xmlScanName		(xmlParserCtxtPtr ctxt)
+
ctxt:an XML parser context
input:an XML parser input fragment (entity, XML fragment ...).

Function: xmlScanName

xmlChar *	xmlScanName		(xmlParserCtxtPtr ctxt)

Trickery: parse an XML name but without consuming the input flow Needed for rollback cases. Used only when parsing entities references. TODO: seems deprecated now, only used in the default part of xmlParserHandleReference [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)* [6] Names ::= Name (S Name)*

ctxt:an XML parser context
Returns:the Name parsed or NULL

Function: xmlSetEntityReferenceFunc

void	xmlSetEntityReferenceFunc	(xmlEntityReferenceFunc func)

Set the function to call call back when a xml reference has been made

func:A valid function

Function: xmlSkipBlankChars

int	xmlSkipBlankChars		(xmlParserCtxtPtr ctxt)

skip all blanks character found at that point in the input streams. It pops up finished entities in the process if allowable at that point.

-
ctxt:the XML parser context
Returns:the number of space chars skipped

Function: xmlSplitQName

xmlChar *	xmlSplitQName		(xmlParserCtxtPtr ctxt, 
const xmlChar * name,
xmlChar ** prefix)
+
ctxt:the XML parser context
Returns:the number of space chars skipped

Function: xmlSplitQName

xmlChar *	xmlSplitQName		(xmlParserCtxtPtr ctxt, 
const xmlChar * name,
xmlChar ** prefix)

parse an UTF8 encoded XML qualified name string [NS 5] QName ::= (Prefix ':')? LocalPart [NS 6] Prefix ::= NCName [NS 7] LocalPart ::= NCName

-
ctxt:an XML parser context
name:an XML parser context
prefix:a xmlChar **
Returns:the local part, and prefix is updated to get the Prefix if any.

Function: xmlStringCurrentChar

int	xmlStringCurrentChar		(xmlParserCtxtPtr ctxt, 
const xmlChar * cur,
int * len)
+
ctxt:an XML parser context
name:an XML parser context
prefix:a xmlChar **
Returns:the local part, and prefix is updated to get the Prefix if any.

Function: xmlStringCurrentChar

int	xmlStringCurrentChar		(xmlParserCtxtPtr ctxt, 
const xmlChar * cur,
int * len)

The current char value, if using UTF-8 this may actually span multiple bytes in the input buffer.

-
ctxt:the XML parser context
cur:pointer to the beginning of the char
len:pointer to the length of the char read
Returns:the current char value and its length

Function: xmlStringDecodeEntities

xmlChar *	xmlStringDecodeEntities	(xmlParserCtxtPtr ctxt, 
const xmlChar * str,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3)
+
ctxt:the XML parser context
cur:pointer to the beginning of the char
len:pointer to the length of the char read
Returns:the current char value and its length

Function: xmlStringDecodeEntities

xmlChar *	xmlStringDecodeEntities	(xmlParserCtxtPtr ctxt, 
const xmlChar * str,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3)

Takes a entity string content and process to do the adequate substitutions. [67] Reference ::= EntityRef | CharRef [69] PEReference ::= '%' Name ';'

-
ctxt:the parser context
str:the input string
what:combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF
end:an end marker xmlChar, 0 if none
end2:an end marker xmlChar, 0 if none
end3:an end marker xmlChar, 0 if none
Returns:A newly allocated string with the substitution done. The caller must deallocate it !

Function: xmlStringLenDecodeEntities

xmlChar *	xmlStringLenDecodeEntities	(xmlParserCtxtPtr ctxt, 
const xmlChar * str,
int len,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3)
+
ctxt:the parser context
str:the input string
what:combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF
end:an end marker xmlChar, 0 if none
end2:an end marker xmlChar, 0 if none
end3:an end marker xmlChar, 0 if none
Returns:A newly allocated string with the substitution done. The caller must deallocate it !

Function: xmlStringLenDecodeEntities

xmlChar *	xmlStringLenDecodeEntities	(xmlParserCtxtPtr ctxt, 
const xmlChar * str,
int len,
int what,
xmlChar end,
xmlChar end2,
xmlChar end3)

Takes a entity string content and process to do the adequate substitutions. [67] Reference ::= EntityRef | CharRef [69] PEReference ::= '%' Name ';'

ctxt:the parser context
str:the input string
len:the string length
what:combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF
end:an end marker xmlChar, 0 if none
end2:an end marker xmlChar, 0 if none
end3:an end marker xmlChar, 0 if none
Returns:A newly allocated string with the substitution done. The caller must deallocate it !

Function: xmlSwitchEncoding

int	xmlSwitchEncoding		(xmlParserCtxtPtr ctxt, 
xmlCharEncoding enc)

change the input functions when discovering the character encoding of a given entity.

diff --git a/doc/html/libxml-pattern.html b/doc/html/libxml-pattern.html index 108e0e17..6c06a93b 100644 --- a/doc/html/libxml-pattern.html +++ b/doc/html/libxml-pattern.html @@ -16,7 +16,7 @@ The content of this structure is not made public by the API.
void	xmlFreePattern			(xmlPatternPtr comp)
void	xmlFreePatternList		(xmlPatternPtr comp)
int	xmlPatternMatch			(xmlPatternPtr comp, 
xmlNodePtr node)
-
xmlPatternPtr	xmlPatterncompile	(const xmlChar * pattern, 
xmlDict * dict,
int flags,
const xmlChar ** namespaces)
+
xmlPatternPtr	xmlPatterncompile	(const xmlChar * pattern, 
xmlDict * dict,
int flags,
const xmlChar ** namespaces)

Description

Structure xmlPattern

Structure xmlPattern
struct _xmlPattern { The content of this structure is not made public by the API. @@ -26,6 +26,6 @@ The content of this structure is not made public by the API.

Free up the memory allocated by all the elements of @comp

comp:an XSLT comp list

Function: xmlPatternMatch

int	xmlPatternMatch			(xmlPatternPtr comp, 
xmlNodePtr node)

Test wether the node matches the pattern

-
comp:the precompiled pattern
node:a node
Returns:1 if it matches, 0 if it doesn't and -1 in case of failure

Function: xmlPatterncompile

xmlPatternPtr	xmlPatterncompile	(const xmlChar * pattern, 
xmlDict * dict,
int flags,
const xmlChar ** namespaces)
+
comp:the precompiled pattern
node:a node
Returns:1 if it matches, 0 if it doesn't and -1 in case of failure

Function: xmlPatterncompile

xmlPatternPtr	xmlPatterncompile	(const xmlChar * pattern, 
xmlDict * dict,
int flags,
const xmlChar ** namespaces)

Compile a pattern.

pattern:the pattern to compile
dict:an optional dictionnary for interned strings
flags:compilation flags, undefined yet
namespaces:the prefix definitions, array of [URI, prefix] or NULL
Returns:the compiled for of the pattern or NULL in case of error

Daniel Veillard

diff --git a/doc/html/libxml-relaxng.html b/doc/html/libxml-relaxng.html index 8af1741e..515870b4 100644 --- a/doc/html/libxml-relaxng.html +++ b/doc/html/libxml-relaxng.html @@ -38,7 +38,7 @@ The content of this structure is not made public by the API.
int	xmlRelaxNGValidateDoc		(xmlRelaxNGValidCtxtPtr ctxt, 
xmlDocPtr doc)
int	xmlRelaxNGValidateFullElement	(xmlRelaxNGValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem)
int	xmlRelaxNGValidatePopElement	(xmlRelaxNGValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem)
-
int	xmlRelaxNGValidatePushCData	(xmlRelaxNGValidCtxtPtr ctxt, 
const xmlChar * data,
int len)
+
int	xmlRelaxNGValidatePushCData	(xmlRelaxNGValidCtxtPtr ctxt, 
const xmlChar * data,
int len)
int	xmlRelaxNGValidatePushElement	(xmlRelaxNGValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem)
Function type: xmlRelaxNGValidityErrorFunc
 void	xmlRelaxNGValidityErrorFunc	(void * ctx, 
const char * msg,
... ...) @@ -131,7 +131,7 @@ The content of this structure is not made public by the API.

Validate a full subtree when xmlRelaxNGValidatePushElement() returned 0 and the content of the node has been expanded.

ctxt:the validation context
doc:a document instance
elem:an element instance
Returns:1 if no validation problem was found or -1 in case of error.

Function: xmlRelaxNGValidatePopElement

int	xmlRelaxNGValidatePopElement	(xmlRelaxNGValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem)

Pop the element end from the RelaxNG validation stack.

-
ctxt:the RelaxNG validation context
doc:a document instance
elem:an element instance
Returns:1 if no validation problem was found or 0 otherwise

Function: xmlRelaxNGValidatePushCData

int	xmlRelaxNGValidatePushCData	(xmlRelaxNGValidCtxtPtr ctxt, 
const xmlChar * data,
int len)
+
ctxt:the RelaxNG validation context
doc:a document instance
elem:an element instance
Returns:1 if no validation problem was found or 0 otherwise

Function: xmlRelaxNGValidatePushCData

int	xmlRelaxNGValidatePushCData	(xmlRelaxNGValidCtxtPtr ctxt, 
const xmlChar * data,
int len)

check the CData parsed for validation in the current stack

ctxt:the RelaxNG validation context
data:some character data read
len:the lenght of the data
Returns:1 if no validation problem was found or -1 otherwise

Function: xmlRelaxNGValidatePushElement

int	xmlRelaxNGValidatePushElement	(xmlRelaxNGValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem)

Push a new element start on the RelaxNG validation stack.

diff --git a/doc/html/libxml-schemasInternals.html b/doc/html/libxml-schemasInternals.html index f4c49211..096373e3 100644 --- a/doc/html/libxml-schemasInternals.html +++ b/doc/html/libxml-schemasInternals.html @@ -56,27 +56,27 @@ The content of this structure is not made public by the API. }

Structure xmlSchemaAttribute

Structure xmlSchemaAttribute
struct _xmlSchemaAttribute { xmlSchemaTypeType type : The kind of type struct _xmlSchemaAttribute * next : the next attribute if in a group ... - const xmlChar * name - const xmlChar * id - const xmlChar * ref - const xmlChar * refNs - const xmlChar * typeName - const xmlChar * typeNs + const xmlChar * name + const xmlChar * id + const xmlChar * ref + const xmlChar * refNs + const xmlChar * typeName + const xmlChar * typeNs xmlSchemaAnnotPtr annot xmlSchemaTypePtr base int occurs - const xmlChar * defValue + const xmlChar * defValue xmlSchemaTypePtr subtypes xmlNodePtr node - const xmlChar * targetNamespace + const xmlChar * targetNamespace int flags }

Structure xmlSchemaAttributeGroup

Structure xmlSchemaAttributeGroup
struct _xmlSchemaAttributeGroup { xmlSchemaTypeType type : The kind of type struct _xmlSchemaAttribute * next : the next attribute if in a group ... - const xmlChar * name - const xmlChar * id - const xmlChar * ref - const xmlChar * refNs + const xmlChar * name + const xmlChar * id + const xmlChar * ref + const xmlChar * refNs xmlSchemaAnnotPtr annot xmlSchemaAttributePtr attributes xmlNodePtr node @@ -93,10 +93,10 @@ The content of this structure is not made public by the API.

Structure xmlSchemaElement

Structure xmlSchemaElement
struct _xmlSchemaElement { xmlSchemaTypeType type : The kind of type struct _xmlSchemaType * next : the next type if in a sequence ... - const xmlChar * name - const xmlChar * id - const xmlChar * ref - const xmlChar * refNs + const xmlChar * name + const xmlChar * id + const xmlChar * ref + const xmlChar * refNs xmlSchemaAnnotPtr annot xmlSchemaTypePtr subtypes xmlSchemaAttributePtr attributes @@ -104,21 +104,21 @@ The content of this structure is not made public by the API. int minOccurs int maxOccurs int flags - const xmlChar * targetNamespace - const xmlChar * namedType - const xmlChar * namedTypeNs - const xmlChar * substGroup - const xmlChar * substGroupNs - const xmlChar * scope - const xmlChar * value + const xmlChar * targetNamespace + const xmlChar * namedType + const xmlChar * namedTypeNs + const xmlChar * substGroup + const xmlChar * substGroupNs + const xmlChar * scope + const xmlChar * value struct _xmlSchemaElement * refDecl xmlRegexpPtr contModel xmlSchemaContentType contentType }

Structure xmlSchemaFacet

Structure xmlSchemaFacet
struct _xmlSchemaFacet { xmlSchemaTypeType type : The kind of type struct _xmlSchemaFacet * next : the next type if in a sequence ... - const xmlChar * value - const xmlChar * id + const xmlChar * value + const xmlChar * id xmlSchemaAnnotPtr annot xmlNodePtr node int fixed @@ -127,16 +127,16 @@ The content of this structure is not made public by the API. xmlRegexpPtr regexp }

Structure xmlSchemaNotation

Structure xmlSchemaNotation
struct _xmlSchemaNotation { xmlSchemaTypeType type : The kind of type - const xmlChar * name + const xmlChar * name xmlSchemaAnnotPtr annot - const xmlChar * identifier + const xmlChar * identifier }

Structure xmlSchemaType

Structure xmlSchemaType
struct _xmlSchemaType { xmlSchemaTypeType type : The kind of type struct _xmlSchemaType * next : the next type if in a sequence ... - const xmlChar * name - const xmlChar * id - const xmlChar * ref - const xmlChar * refNs + const xmlChar * name + const xmlChar * id + const xmlChar * ref + const xmlChar * refNs xmlSchemaAnnotPtr annot xmlSchemaTypePtr subtypes xmlSchemaAttributePtr attributes @@ -145,8 +145,8 @@ The content of this structure is not made public by the API. int maxOccurs int flags xmlSchemaContentType contentType - const xmlChar * base - const xmlChar * baseNs + const xmlChar * base + const xmlChar * baseNs xmlSchemaTypePtr baseType xmlSchemaFacetPtr facets struct _xmlSchemaType * redef : possible redefinitions for the type diff --git a/doc/html/libxml-tree.html b/doc/html/libxml-tree.html index 0725885e..77372974 100644 --- a/doc/html/libxml-tree.html +++ b/doc/html/libxml-tree.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module tree from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module tree from libxml2

API Menu
API Indexes
Related links

this module describes the structures found in an tree resulting from an XML or HTML parsing, as well as the API provided for various processing on that tree

Table of Contents

#define BAD_CAST
#define BASE_BUFFER_SIZE
#define XML_GET_CONTENT
#define XML_GET_LINE
#define XML_LOCAL_NAMESPACE
#define XML_XML_NAMESPACE
#define xmlChildrenNode
#define xmlRootNode
Structure xmlAttr
struct _xmlAttr + Module tree from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module tree from libxml2

API Menu
API Indexes
Related links

this module describes the structures found in an tree resulting from an XML or HTML parsing, as well as the API provided for various processing on that tree

Table of Contents

#define BASE_BUFFER_SIZE
#define XML_GET_CONTENT
#define XML_GET_LINE
#define XML_LOCAL_NAMESPACE
#define XML_XML_NAMESPACE
#define xmlChildrenNode
#define xmlRootNode
Structure xmlAttr
struct _xmlAttr
Typedef xmlAttr * xmlAttrPtr
 
Structure xmlAttribute
struct _xmlAttribute
Enum xmlAttributeDefault
@@ -19,7 +19,6 @@ A:link, A:visited, A:active { text-decoration: underline }
 
Structure xmlBuffer
struct _xmlBuffer
Enum xmlBufferAllocationScheme
 
Typedef xmlBuffer * xmlBufferPtr
-
Typedef unsigned char xmlChar
 
Structure xmlDoc
struct _xmlDoc
Typedef xmlDoc * xmlDocPtr
 
Structure xmlDtd
struct _xmlDtd @@ -64,11 +63,11 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlNodePtr	xmlAddNextSibling	(xmlNodePtr cur, 
xmlNodePtr elem)
xmlNodePtr	xmlAddPrevSibling	(xmlNodePtr cur, 
xmlNodePtr elem)
xmlNodePtr	xmlAddSibling		(xmlNodePtr cur, 
xmlNodePtr elem)
-
void	xmlBufferAdd			(xmlBufferPtr buf, 
const xmlChar * str,
int len)
-
void	xmlBufferAddHead		(xmlBufferPtr buf, 
const xmlChar * str,
int len)
+
void	xmlBufferAdd			(xmlBufferPtr buf, 
const xmlChar * str,
int len)
+
void	xmlBufferAddHead		(xmlBufferPtr buf, 
const xmlChar * str,
int len)
void	xmlBufferCCat			(xmlBufferPtr buf, 
const char * str)
-
void	xmlBufferCat			(xmlBufferPtr buf, 
const xmlChar * str)
-
const xmlChar *	xmlBufferContent	(const xmlBufferPtr buf)
+
void	xmlBufferCat			(xmlBufferPtr buf, 
const xmlChar * str)
+
const xmlChar *	xmlBufferContent	(const xmlBufferPtr buf)
xmlBufferPtr	xmlBufferCreate		(void)
xmlBufferPtr	xmlBufferCreateSize	(size_t size)
xmlBufferPtr	xmlBufferCreateStatic	(void * mem, 
size_t size)
@@ -80,10 +79,10 @@ A:link, A:visited, A:active { text-decoration: underline }
int	xmlBufferResize			(xmlBufferPtr buf, 
unsigned int size)
void	xmlBufferSetAllocationScheme	(xmlBufferPtr buf, 
xmlBufferAllocationScheme scheme)
int	xmlBufferShrink			(xmlBufferPtr buf, 
unsigned int len)
-
void	xmlBufferWriteCHAR		(xmlBufferPtr buf, 
const xmlChar * string)
+
void	xmlBufferWriteCHAR		(xmlBufferPtr buf, 
const xmlChar * string)
void	xmlBufferWriteChar		(xmlBufferPtr buf, 
const char * string)
-
void	xmlBufferWriteQuotedString	(xmlBufferPtr buf, 
const xmlChar * string)
-
xmlChar *	xmlBuildQName		(const xmlChar * ncname, 
const xmlChar * prefix,
xmlChar * memory,
int len)
+
void	xmlBufferWriteQuotedString	(xmlBufferPtr buf, 
const xmlChar * string)
+
xmlChar *	xmlBuildQName		(const xmlChar * ncname, 
const xmlChar * prefix,
xmlChar * memory,
int len)
xmlDocPtr	xmlCopyDoc		(xmlDocPtr doc, 
int recursive)
xmlDtdPtr	xmlCopyDtd		(xmlDtdPtr dtd)
xmlNsPtr	xmlCopyNamespace	(xmlNsPtr cur)
@@ -92,13 +91,13 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlNodePtr	xmlCopyNodeList		(const xmlNodePtr node)
xmlAttrPtr	xmlCopyProp		(xmlNodePtr target, 
xmlAttrPtr cur)
xmlAttrPtr	xmlCopyPropList		(xmlNodePtr target, 
xmlAttrPtr cur)
-
xmlDtdPtr	xmlCreateIntSubset	(xmlDocPtr doc, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
xmlDtdPtr	xmlCreateIntSubset	(xmlDocPtr doc, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
xmlNodePtr	xmlDocCopyNode		(const xmlNodePtr node, 
xmlDocPtr doc,
int recursive)
int	xmlDocDump			(FILE * f, 
xmlDocPtr cur)
-
void	xmlDocDumpFormatMemory		(xmlDocPtr cur, 
xmlChar ** mem,
int * size,
int format)
-
void	xmlDocDumpFormatMemoryEnc	(xmlDocPtr out_doc, 
xmlChar ** doc_txt_ptr,
int * doc_txt_len,
const char * txt_encoding,
int format)
-
void	xmlDocDumpMemory		(xmlDocPtr cur, 
xmlChar ** mem,
int * size)
-
void	xmlDocDumpMemoryEnc		(xmlDocPtr out_doc, 
xmlChar ** doc_txt_ptr,
int * doc_txt_len,
const char * txt_encoding)
+
void	xmlDocDumpFormatMemory		(xmlDocPtr cur, 
xmlChar ** mem,
int * size,
int format)
+
void	xmlDocDumpFormatMemoryEnc	(xmlDocPtr out_doc, 
xmlChar ** doc_txt_ptr,
int * doc_txt_len,
const char * txt_encoding,
int format)
+
void	xmlDocDumpMemory		(xmlDocPtr cur, 
xmlChar ** mem,
int * size)
+
void	xmlDocDumpMemoryEnc		(xmlDocPtr out_doc, 
xmlChar ** doc_txt_ptr,
int * doc_txt_len,
const char * txt_encoding)
int	xmlDocFormatDump		(FILE * f, 
xmlDocPtr cur,
int format)
xmlNodePtr	xmlDocGetRootElement	(xmlDocPtr doc)
xmlNodePtr	xmlDocSetRootElement	(xmlDocPtr doc, 
xmlNodePtr root)
@@ -117,58 +116,58 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlDtdPtr	xmlGetIntSubset		(xmlDocPtr doc)
xmlNodePtr	xmlGetLastChild		(xmlNodePtr parent)
long	xmlGetLineNo			(xmlNodePtr node)
-
xmlChar *	xmlGetNoNsProp		(xmlNodePtr node, 
const xmlChar * name)
-
xmlChar *	xmlGetNodePath		(xmlNodePtr node)
+
xmlChar *	xmlGetNoNsProp		(xmlNodePtr node, 
const xmlChar * name)
+
xmlChar *	xmlGetNodePath		(xmlNodePtr node)
xmlNsPtr *	xmlGetNsList		(xmlDocPtr doc, 
xmlNodePtr node)
-
xmlChar *	xmlGetNsProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * nameSpace)
-
xmlChar *	xmlGetProp		(xmlNodePtr node, 
const xmlChar * name)
-
xmlAttrPtr	xmlHasNsProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * nameSpace)
-
xmlAttrPtr	xmlHasProp		(xmlNodePtr node, 
const xmlChar * name)
+
xmlChar *	xmlGetNsProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * nameSpace)
+
xmlChar *	xmlGetProp		(xmlNodePtr node, 
const xmlChar * name)
+
xmlAttrPtr	xmlHasNsProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * nameSpace)
+
xmlAttrPtr	xmlHasProp		(xmlNodePtr node, 
const xmlChar * name)
int	xmlIsBlankNode			(xmlNodePtr node)
-
int	xmlIsXHTML			(const xmlChar * systemID, 
const xmlChar * publicID)
-
xmlNodePtr	xmlNewCDataBlock	(xmlDocPtr doc, 
const xmlChar * content,
int len)
-
xmlNodePtr	xmlNewCharRef		(xmlDocPtr doc, 
const xmlChar * name)
-
xmlNodePtr	xmlNewChild		(xmlNodePtr parent, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)
-
xmlNodePtr	xmlNewComment		(const xmlChar * content)
-
xmlDocPtr	xmlNewDoc		(const xmlChar * version)
-
xmlNodePtr	xmlNewDocComment	(xmlDocPtr doc, 
const xmlChar * content)
+
int	xmlIsXHTML			(const xmlChar * systemID, 
const xmlChar * publicID)
+
xmlNodePtr	xmlNewCDataBlock	(xmlDocPtr doc, 
const xmlChar * content,
int len)
+
xmlNodePtr	xmlNewCharRef		(xmlDocPtr doc, 
const xmlChar * name)
+
xmlNodePtr	xmlNewChild		(xmlNodePtr parent, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)
+
xmlNodePtr	xmlNewComment		(const xmlChar * content)
+
xmlDocPtr	xmlNewDoc		(const xmlChar * version)
+
xmlNodePtr	xmlNewDocComment	(xmlDocPtr doc, 
const xmlChar * content)
xmlNodePtr	xmlNewDocFragment	(xmlDocPtr doc)
-
xmlNodePtr	xmlNewDocNode		(xmlDocPtr doc, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)
-
xmlNodePtr	xmlNewDocNodeEatName	(xmlDocPtr doc, 
xmlNsPtr ns,
xmlChar * name,
const xmlChar * content)
-
xmlAttrPtr	xmlNewDocProp		(xmlDocPtr doc, 
const xmlChar * name,
const xmlChar * value)
-
xmlNodePtr	xmlNewDocRawNode	(xmlDocPtr doc, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)
-
xmlNodePtr	xmlNewDocText		(xmlDocPtr doc, 
const xmlChar * content)
-
xmlNodePtr	xmlNewDocTextLen	(xmlDocPtr doc, 
const xmlChar * content,
int len)
-
xmlDtdPtr	xmlNewDtd		(xmlDocPtr doc, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
-
xmlNsPtr	xmlNewGlobalNs		(xmlDocPtr doc, 
const xmlChar * href,
const xmlChar * prefix)
-
xmlNodePtr	xmlNewNode		(xmlNsPtr ns, 
const xmlChar * name)
-
xmlNodePtr	xmlNewNodeEatName	(xmlNsPtr ns, 
xmlChar * name)
-
xmlNsPtr	xmlNewNs		(xmlNodePtr node, 
const xmlChar * href,
const xmlChar * prefix)
-
xmlAttrPtr	xmlNewNsProp		(xmlNodePtr node, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * value)
-
xmlAttrPtr	xmlNewNsPropEatName	(xmlNodePtr node, 
xmlNsPtr ns,
xmlChar * name,
const xmlChar * value)
-
xmlNodePtr	xmlNewPI		(const xmlChar * name, 
const xmlChar * content)
-
xmlAttrPtr	xmlNewProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * value)
-
xmlNodePtr	xmlNewReference		(xmlDocPtr doc, 
const xmlChar * name)
-
xmlNodePtr	xmlNewText		(const xmlChar * content)
-
xmlNodePtr	xmlNewTextChild		(xmlNodePtr parent, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)
-
xmlNodePtr	xmlNewTextLen		(const xmlChar * content, 
int len)
-
void	xmlNodeAddContent		(xmlNodePtr cur, 
const xmlChar * content)
-
void	xmlNodeAddContentLen		(xmlNodePtr cur, 
const xmlChar * content,
int len)
+
xmlNodePtr	xmlNewDocNode		(xmlDocPtr doc, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)
+
xmlNodePtr	xmlNewDocNodeEatName	(xmlDocPtr doc, 
xmlNsPtr ns,
xmlChar * name,
const xmlChar * content)
+
xmlAttrPtr	xmlNewDocProp		(xmlDocPtr doc, 
const xmlChar * name,
const xmlChar * value)
+
xmlNodePtr	xmlNewDocRawNode	(xmlDocPtr doc, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)
+
xmlNodePtr	xmlNewDocText		(xmlDocPtr doc, 
const xmlChar * content)
+
xmlNodePtr	xmlNewDocTextLen	(xmlDocPtr doc, 
const xmlChar * content,
int len)
+
xmlDtdPtr	xmlNewDtd		(xmlDocPtr doc, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
xmlNsPtr	xmlNewGlobalNs		(xmlDocPtr doc, 
const xmlChar * href,
const xmlChar * prefix)
+
xmlNodePtr	xmlNewNode		(xmlNsPtr ns, 
const xmlChar * name)
+
xmlNodePtr	xmlNewNodeEatName	(xmlNsPtr ns, 
xmlChar * name)
+
xmlNsPtr	xmlNewNs		(xmlNodePtr node, 
const xmlChar * href,
const xmlChar * prefix)
+
xmlAttrPtr	xmlNewNsProp		(xmlNodePtr node, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * value)
+
xmlAttrPtr	xmlNewNsPropEatName	(xmlNodePtr node, 
xmlNsPtr ns,
xmlChar * name,
const xmlChar * value)
+
xmlNodePtr	xmlNewPI		(const xmlChar * name, 
const xmlChar * content)
+
xmlAttrPtr	xmlNewProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * value)
+
xmlNodePtr	xmlNewReference		(xmlDocPtr doc, 
const xmlChar * name)
+
xmlNodePtr	xmlNewText		(const xmlChar * content)
+
xmlNodePtr	xmlNewTextChild		(xmlNodePtr parent, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)
+
xmlNodePtr	xmlNewTextLen		(const xmlChar * content, 
int len)
+
void	xmlNodeAddContent		(xmlNodePtr cur, 
const xmlChar * content)
+
void	xmlNodeAddContentLen		(xmlNodePtr cur, 
const xmlChar * content,
int len)
int	xmlNodeBufGetContent		(xmlBufferPtr buffer, 
xmlNodePtr cur)
int	xmlNodeDump			(xmlBufferPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur,
int level,
int format)
void	xmlNodeDumpOutput		(xmlOutputBufferPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur,
int level,
int format,
const char * encoding)
-
xmlChar *	xmlNodeGetBase		(xmlDocPtr doc, 
xmlNodePtr cur)
-
xmlChar *	xmlNodeGetContent	(xmlNodePtr cur)
-
xmlChar *	xmlNodeGetLang		(xmlNodePtr cur)
+
xmlChar *	xmlNodeGetBase		(xmlDocPtr doc, 
xmlNodePtr cur)
+
xmlChar *	xmlNodeGetContent	(xmlNodePtr cur)
+
xmlChar *	xmlNodeGetLang		(xmlNodePtr cur)
int	xmlNodeGetSpacePreserve		(xmlNodePtr cur)
int	xmlNodeIsText			(xmlNodePtr node)
-
xmlChar *	xmlNodeListGetRawString	(xmlDocPtr doc, 
xmlNodePtr list,
int inLine)
-
xmlChar *	xmlNodeListGetString	(xmlDocPtr doc, 
xmlNodePtr list,
int inLine)
-
void	xmlNodeSetBase			(xmlNodePtr cur, 
const xmlChar * uri)
-
void	xmlNodeSetContent		(xmlNodePtr cur, 
const xmlChar * content)
-
void	xmlNodeSetContentLen		(xmlNodePtr cur, 
const xmlChar * content,
int len)
-
void	xmlNodeSetLang			(xmlNodePtr cur, 
const xmlChar * lang)
-
void	xmlNodeSetName			(xmlNodePtr cur, 
const xmlChar * name)
+
xmlChar *	xmlNodeListGetRawString	(xmlDocPtr doc, 
xmlNodePtr list,
int inLine)
+
xmlChar *	xmlNodeListGetString	(xmlDocPtr doc, 
xmlNodePtr list,
int inLine)
+
void	xmlNodeSetBase			(xmlNodePtr cur, 
const xmlChar * uri)
+
void	xmlNodeSetContent		(xmlNodePtr cur, 
const xmlChar * content)
+
void	xmlNodeSetContentLen		(xmlNodePtr cur, 
const xmlChar * content,
int len)
+
void	xmlNodeSetLang			(xmlNodePtr cur, 
const xmlChar * lang)
+
void	xmlNodeSetName			(xmlNodePtr cur, 
const xmlChar * name)
void	xmlNodeSetSpacePreserve		(xmlNodePtr cur, 
int val)
int	xmlReconciliateNs		(xmlDocPtr doc, 
xmlNodePtr tree)
int	xmlRemoveProp			(xmlAttrPtr cur)
@@ -179,42 +178,41 @@ A:link, A:visited, A:active { text-decoration: underline }
int	xmlSaveFormatFile		(const char * filename, 
xmlDocPtr cur,
int format)
int	xmlSaveFormatFileEnc		(const char * filename, 
xmlDocPtr cur,
const char * encoding,
int format)
int	xmlSaveFormatFileTo		(xmlOutputBufferPtr buf, 
xmlDocPtr cur,
const char * encoding,
int format)
-
xmlNsPtr	xmlSearchNs		(xmlDocPtr doc, 
xmlNodePtr node,
const xmlChar * nameSpace)
-
xmlNsPtr	xmlSearchNsByHref	(xmlDocPtr doc, 
xmlNodePtr node,
const xmlChar * href)
+
xmlNsPtr	xmlSearchNs		(xmlDocPtr doc, 
xmlNodePtr node,
const xmlChar * nameSpace)
+
xmlNsPtr	xmlSearchNsByHref	(xmlDocPtr doc, 
xmlNodePtr node,
const xmlChar * href)
void	xmlSetBufferAllocationScheme	(xmlBufferAllocationScheme scheme)
void	xmlSetCompressMode		(int mode)
void	xmlSetDocCompressMode		(xmlDocPtr doc, 
int mode)
void	xmlSetListDoc			(xmlNodePtr list, 
xmlDocPtr doc)
void	xmlSetNs			(xmlNodePtr node, 
xmlNsPtr ns)
-
xmlAttrPtr	xmlSetNsProp		(xmlNodePtr node, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * value)
-
xmlAttrPtr	xmlSetProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * value)
+
xmlAttrPtr	xmlSetNsProp		(xmlNodePtr node, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * value)
+
xmlAttrPtr	xmlSetProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * value)
void	xmlSetTreeDoc			(xmlNodePtr tree, 
xmlDocPtr doc)
-
xmlChar *	xmlSplitQName2		(const xmlChar * name, 
xmlChar ** prefix)
-
const xmlChar *	xmlSplitQName3		(const xmlChar * name, 
int * len)
-
xmlNodePtr	xmlStringGetNodeList	(xmlDocPtr doc, 
const xmlChar * value)
-
xmlNodePtr	xmlStringLenGetNodeList	(xmlDocPtr doc, 
const xmlChar * value,
int len)
-
int	xmlTextConcat			(xmlNodePtr node, 
const xmlChar * content,
int len)
+
xmlChar *	xmlSplitQName2		(const xmlChar * name, 
xmlChar ** prefix)
+
const xmlChar *	xmlSplitQName3		(const xmlChar * name, 
int * len)
+
xmlNodePtr	xmlStringGetNodeList	(xmlDocPtr doc, 
const xmlChar * value)
+
xmlNodePtr	xmlStringLenGetNodeList	(xmlDocPtr doc, 
const xmlChar * value,
int len)
+
int	xmlTextConcat			(xmlNodePtr node, 
const xmlChar * content,
int len)
xmlNodePtr	xmlTextMerge		(xmlNodePtr first, 
xmlNodePtr second)
void	xmlUnlinkNode			(xmlNodePtr cur)
-
int	xmlUnsetNsProp			(xmlNodePtr node, 
xmlNsPtr ns,
const xmlChar * name)
-
int	xmlUnsetProp			(xmlNodePtr node, 
const xmlChar * name)
-
int	xmlValidateNCName		(const xmlChar * value, 
int space)
-
int	xmlValidateNMToken		(const xmlChar * value, 
int space)
-
int	xmlValidateName			(const xmlChar * value, 
int space)
-
int	xmlValidateQName		(const xmlChar * value, 
int space)
+
int	xmlUnsetNsProp			(xmlNodePtr node, 
xmlNsPtr ns,
const xmlChar * name)
+
int	xmlUnsetProp			(xmlNodePtr node, 
const xmlChar * name)
+
int	xmlValidateNCName		(const xmlChar * value, 
int space)
+
int	xmlValidateNMToken		(const xmlChar * value, 
int space)
+
int	xmlValidateName			(const xmlChar * value, 
int space)
+
int	xmlValidateQName		(const xmlChar * value, 
int space)

Description

-

Macro: BAD_CAST

#define BAD_CAST

Macro to cast a string to an xmlChar * when one know its safe.

Macro: BASE_BUFFER_SIZE

#define BASE_BUFFER_SIZE

default buffer size 4000.

Macro: XML_GET_CONTENT

#define XML_GET_CONTENT

Macro to extract the content pointer of a node.

Macro: XML_GET_LINE

#define XML_GET_LINE

Macro to extract the line number of an element node.

Macro: XML_LOCAL_NAMESPACE

#define XML_LOCAL_NAMESPACE

A namespace declaration node.

Macro: XML_XML_NAMESPACE

#define XML_XML_NAMESPACE

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

-

Macro: xmlChildrenNode

#define xmlChildrenNode

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

-

Macro: xmlRootNode

#define xmlRootNode

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

+

Macro: xmlChildrenNode

#define xmlChildrenNode

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

+

Macro: xmlRootNode

#define xmlRootNode

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

Structure xmlAttr

Structure xmlAttr
struct _xmlAttr { void * _private : application data xmlElementType type : XML_ATTRIBUTE_NODE, must be second ! - const xmlChar * name : the name of the property + const xmlChar * name : the name of the property struct _xmlNode * children : the value of the property struct _xmlNode * last : NULL struct _xmlNode * parent : child->parent link @@ -227,7 +225,7 @@ A:link, A:visited, A:active { text-decoration: underline } }

Structure xmlAttribute

Structure xmlAttribute
struct _xmlAttribute { void * _private : application data xmlElementType type : XML_ATTRIBUTE_DECL, must be second ! - const xmlChar * name : Attribute name + const xmlChar * name : Attribute name struct _xmlNode * children : NULL struct _xmlNode * last : NULL struct _xmlDtd * parent : -> DTD @@ -237,10 +235,10 @@ A:link, A:visited, A:active { text-decoration: underline } struct _xmlAttribute * nexth : next in hash table xmlAttributeType atype : The attribute type xmlAttributeDefault def : the default - const xmlChar * defaultValue : or the default value + const xmlChar * defaultValue : or the default value xmlEnumerationPtr tree : or the enumeration tree if any - const xmlChar * prefix : the namespace prefix if any - const xmlChar * elem : Element holding the attribute + const xmlChar * prefix : the namespace prefix if any + const xmlChar * elem : Element holding the attribute }

Enum xmlAttributeDefault

Enum xmlAttributeDefault {
     XML_ATTRIBUTE_NONE = 1
     XML_ATTRIBUTE_REQUIRED = 2
@@ -260,7 +258,7 @@ A:link, A:visited, A:active { text-decoration: underline }
     XML_ATTRIBUTE_NOTATION = 10
 }
 

Structure xmlBuffer

Structure xmlBuffer
struct _xmlBuffer { - xmlChar * content : The buffer content UTF8 + xmlChar * content : The buffer content UTF8 unsigned int use : The buffer size used unsigned int size : The buffer size xmlBufferAllocationScheme alloc : The realloc method @@ -284,18 +282,18 @@ A:link, A:visited, A:active { text-decoration: underline } struct _xmlDtd * intSubset : the document internal subset struct _xmlDtd * extSubset : the document external subset struct _xmlNs * oldNs : Global namespace, the old way - const xmlChar * version : the XML version string - const xmlChar * encoding : external initial encoding, if any + const xmlChar * version : the XML version string + const xmlChar * encoding : external initial encoding, if any void * ids : Hash table for ID attributes if any void * refs : Hash table for IDREFs attributes if any - const xmlChar * URL : The URI for that document + const xmlChar * URL : The URI for that document int charset : encoding of the in-memory content actua struct _xmlDict * dict : dict used to allocate names or NULL void * psvi : for type/PSVI informations }

Structure xmlDtd

Structure xmlDtd
struct _xmlDtd { void * _private : application data xmlElementType type : XML_DTD_NODE, must be second ! - const xmlChar * name : Name of the DTD + const xmlChar * name : Name of the DTD struct _xmlNode * children : the value of the property link struct _xmlNode * last : last child link struct _xmlDoc * parent : child->parent link @@ -306,13 +304,13 @@ A:link, A:visited, A:active { text-decoration: underline } void * elements : Hash table for elements if any void * attributes : Hash table for attributes if any void * entities : Hash table for entities if any - const xmlChar * ExternalID : External identifier for PUBLIC DTD - const xmlChar * SystemID : URI for a SYSTEM or PUBLIC DTD + const xmlChar * ExternalID : External identifier for PUBLIC DTD + const xmlChar * SystemID : URI for a SYSTEM or PUBLIC DTD void * pentities : Hash table for param entities if any }

Structure xmlElement

Structure xmlElement
struct _xmlElement { void * _private : application data xmlElementType type : XML_ELEMENT_DECL, must be second ! - const xmlChar * name : Element name + const xmlChar * name : Element name struct _xmlNode * children : NULL struct _xmlNode * last : NULL struct _xmlDtd * parent : -> DTD @@ -322,17 +320,17 @@ A:link, A:visited, A:active { text-decoration: underline } xmlElementTypeVal etype : The type xmlElementContentPtr content : the allowed element content xmlAttributePtr attributes : List of the declared attributes - const xmlChar * prefix : the namespace prefix if any + const xmlChar * prefix : the namespace prefix if any xmlRegexpPtr contModel : the validating regexp void * contModel }

Structure xmlElementContent

Structure xmlElementContent
struct _xmlElementContent { xmlElementContentType type : PCDATA, ELEMENT, SEQ or OR xmlElementContentOccur ocur : ONCE, OPT, MULT or PLUS - const xmlChar * name : Element name + const xmlChar * name : Element name struct _xmlElementContent * c1 : first child struct _xmlElementContent * c2 : second child struct _xmlElementContent * parent : parent - const xmlChar * prefix : Namespace prefix + const xmlChar * prefix : Namespace prefix }

Enum xmlElementContentOccur

Enum xmlElementContentOccur {
     XML_ELEMENT_CONTENT_ONCE = 1
     XML_ELEMENT_CONTENT_OPT = 2
@@ -378,36 +376,36 @@ A:link, A:visited, A:active { text-decoration: underline }
 

Structure xmlEntity

Structure xmlEntity
struct _xmlEntity { void * _private : application data xmlElementType type : XML_ENTITY_DECL, must be second ! - const xmlChar * name : Entity name + const xmlChar * name : Entity name struct _xmlNode * children : First child link struct _xmlNode * last : Last child link struct _xmlDtd * parent : -> DTD struct _xmlNode * next : next sibling link struct _xmlNode * prev : previous sibling link struct _xmlDoc * doc : the containing document - xmlChar * orig : content without ref substitution - xmlChar * content : content or ndata if unparsed + xmlChar * orig : content without ref substitution + xmlChar * content : content or ndata if unparsed int length : the content length xmlEntityType etype : The entity type - const xmlChar * ExternalID : External identifier for PUBLIC - const xmlChar * SystemID : URI for a SYSTEM or PUBLIC Entity + const xmlChar * ExternalID : External identifier for PUBLIC + const xmlChar * SystemID : URI for a SYSTEM or PUBLIC Entity struct _xmlEntity * nexte : unused - const xmlChar * URI : the full URI as computed + const xmlChar * URI : the full URI as computed int owner : does the entity own the childrens }

Structure xmlEnumeration

Structure xmlEnumeration
struct _xmlEnumeration { struct _xmlEnumeration * next : next one - const xmlChar * name : Enumeration name + const xmlChar * name : Enumeration name }

Structure xmlID

Structure xmlID
struct _xmlID { struct _xmlID * next : next ID - const xmlChar * value : The ID name + const xmlChar * value : The ID name xmlAttrPtr attr : The attribute holding it - const xmlChar * name : The attribute if attr is not available + const xmlChar * name : The attribute if attr is not available int lineno : The line number if attr is not availabl struct _xmlDoc * doc : The document holding the ID }

Structure xmlNode

Structure xmlNode
struct _xmlNode { void * _private : application data xmlElementType type : type number, must be second ! - const xmlChar * name : the name of the node, or the entity + const xmlChar * name : the name of the node, or the entity struct _xmlNode * children : parent->childs link struct _xmlNode * last : last child link struct _xmlNode * parent : child->parent link @@ -415,21 +413,21 @@ A:link, A:visited, A:active { text-decoration: underline } struct _xmlNode * prev : previous sibling link struct _xmlDoc * doc : the containing document End of common p xmlNs * ns : pointer to the associated namespace - xmlChar * content : the content + xmlChar * content : the content struct _xmlAttr * properties : properties list xmlNs * nsDef : namespace definitions on this node void * psvi : for type/PSVI informations unsigned short line : line number unsigned short extra : extra data for XPath/XSLT }

Structure xmlNotation

Structure xmlNotation
struct _xmlNotation { - const xmlChar * name : Notation name - const xmlChar * PublicID : Public identifier, if any - const xmlChar * SystemID : System identifier, if any + const xmlChar * name : Notation name + const xmlChar * PublicID : Public identifier, if any + const xmlChar * SystemID : System identifier, if any }

Structure xmlNs

Structure xmlNs
struct _xmlNs { struct _xmlNs * next : next Ns link for this node xmlNsType type : global or local - const xmlChar * href : URL for the namespace - const xmlChar * prefix : prefix for the namespace + const xmlChar * href : URL for the namespace + const xmlChar * prefix : prefix for the namespace void * _private : application data }

Structure xmlOutputBuffer

Structure xmlOutputBuffer
struct _xmlOutputBuffer { void * context @@ -446,8 +444,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlDocPtr myDoc : the document being built int wellFormed : is the document well formed int replaceEntities : shall we replace entities ? - const xmlChar * version : the XML version string - const xmlChar * encoding : the declared encoding, if any + const xmlChar * version : the XML version string + const xmlChar * encoding : the declared encoding, if any int standalone : standalone document int html : an HTML(1)/Docbook(2) document Input st xmlParserInputPtr input : Current input stream @@ -470,18 +468,18 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParserInputState instate : current type of input int token : next char look-ahead char * directory : the data directory Node name stack - const xmlChar * name : Current parsed Node + const xmlChar * name : Current parsed Node int nameNr : Depth of the parsing stack int nameMax : Max depth of the parsing stack - const xmlChar * * nameTab : array of nodes - long nbChars : number of xmlChar processed + const xmlChar * * nameTab : array of nodes + long nbChars : number of xmlChar processed long checkIndex : used by progressive parsing lookup int keepBlanks : ugly but ... int disableSAX : SAX callbacks are disabled int inSubset : Parsing is in int 1/ext 2 subset - const xmlChar * intSubName : name of subset - xmlChar * extSubURI : URI of external subset - xmlChar * extSubSystem : SYSTEM ID of external subset xml:space + const xmlChar * intSubName : name of subset + xmlChar * extSubURI : URI of external subset + xmlChar * extSubSystem : SYSTEM ID of external subset xml:space int * space : Should the parser preserve spaces int spaceNr : Depth of the parsing stack int spaceMax : Max depth of the parsing stack @@ -499,16 +497,16 @@ A:link, A:visited, A:active { text-decoration: underline } int recovery : run in recovery mode int progressive : is this a progressive parsing xmlDictPtr dict : dictionnary for the parser - const xmlChar * * atts : array for the attributes callbacks + const xmlChar * * atts : array for the attributes callbacks int maxatts : the size of the array int docdict : * pre-interned strings * - const xmlChar * str_xml - const xmlChar * str_xmlns - const xmlChar * str_xml_ns : * Everything below is used only by the n + const xmlChar * str_xml + const xmlChar * str_xmlns + const xmlChar * str_xml_ns : * Everything below is used only by the n int sax2 : operating in the new SAX mode int nsNr : the number of inherited namespaces int nsMax : the size of the arrays - const xmlChar * * nsTab : the array of prefix/namespace name + const xmlChar * * nsTab : the array of prefix/namespace name int * attallocs : which attribute were allocated void * * pushTab : array of data for push xmlHashTablePtr attsDefault : defaulted attributes if any @@ -525,16 +523,16 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParserInputBufferPtr buf : UTF-8 encoded buffer const char * filename : The file analyzed, if any const char * directory : the directory/base of the file - const xmlChar * base : Base of the array to parse - const xmlChar * cur : Current char being parsed - const xmlChar * end : end of the array to parse + const xmlChar * base : Base of the array to parse + const xmlChar * cur : Current char being parsed + const xmlChar * end : end of the array to parse int length : length if known int line : Current line int col : * NOTE: consumed is only tested for equa unsigned long consumed : How many xmlChars already consumed xmlParserInputDeallocate free : function to deallocate the base - const xmlChar * encoding : the encoding string for entity - const xmlChar * version : the version string for entity + const xmlChar * encoding : the encoding string for entity + const xmlChar * version : the version string for entity int standalone : Was that entity marked standalone int id : an unique identifier for the entity }

Structure xmlParserInputBuffer

Structure xmlParserInputBuffer
struct _xmlParserInputBuffer { @@ -548,9 +546,9 @@ A:link, A:visited, A:active { text-decoration: underline } int error }

Structure xmlRef

Structure xmlRef
struct _xmlRef { struct _xmlRef * next : next Ref - const xmlChar * value : The Ref name + const xmlChar * value : The Ref name xmlAttrPtr attr : The attribute holding it - const xmlChar * name : The attribute if attr is not available + const xmlChar * name : The attribute if attr is not available int lineno : The line number if attr is not availabl }

Structure xmlSAXHandler

Structure xmlSAXHandler
struct _xmlSAXHandler { internalSubsetSAXFunc internalSubset @@ -586,8 +584,8 @@ A:link, A:visited, A:active { text-decoration: underline } endElementNsSAX2Func endElementNs xmlStructuredErrorFunc serror }

Structure xmlSAXLocator

Structure xmlSAXLocator
struct _xmlSAXLocator { - const xmlChar *(*getPublicId) getPublicId - const xmlChar *(*getSystemId) getSystemId + const xmlChar *(*getPublicId) getPublicId + const xmlChar *(*getSystemId) getSystemId int(*getLineNumber) getLineNumber int(*getColumnNumber) getColumnNumber }

Function: xmlAddChild

xmlNodePtr	xmlAddChild		(xmlNodePtr parent, 
xmlNodePtr cur)
@@ -600,15 +598,15 @@ A:link, A:visited, A:active { text-decoration: underline }

Add a new node @elem as the previous sibling of @cur merging adjacent TEXT nodes (@elem may be freed) If the new node was already inserted in a document it is first unlinked from its existing context. If the new node is ATTRIBUTE, it is added into properties instead of children. If there is an attribute with equal name, it is first destroyed.

cur:the child node
elem:the new node
Returns:the new node or NULL in case of error.

Function: xmlAddSibling

xmlNodePtr	xmlAddSibling		(xmlNodePtr cur, 
xmlNodePtr elem)

Add a new element @elem to the list of siblings of @cur merging adjacent TEXT nodes (@elem may be freed) If the new element was already inserted in a document it is first unlinked from its existing context.

-
cur:the child node
elem:the new node
Returns:the new element or NULL in case of error.

Function: xmlBufferAdd

void	xmlBufferAdd			(xmlBufferPtr buf, 
const xmlChar * str,
int len)
+
cur:the child node
elem:the new node
Returns:the new element or NULL in case of error.

Function: xmlBufferAdd

void	xmlBufferAdd			(xmlBufferPtr buf, 
const xmlChar * str,
int len)

Add a string range to an XML buffer. if len == -1, the length of str is recomputed.

-
buf:the buffer to dump
str:the #xmlChar string
len:the number of #xmlChar to add

Function: xmlBufferAddHead

void	xmlBufferAddHead		(xmlBufferPtr buf, 
const xmlChar * str,
int len)
+
buf:the buffer to dump
str:the #xmlChar string
len:the number of #xmlChar to add

Function: xmlBufferAddHead

void	xmlBufferAddHead		(xmlBufferPtr buf, 
const xmlChar * str,
int len)

Add a string range to the beginning of an XML buffer. if len == -1, the length of @str is recomputed.

buf:the buffer
str:the #xmlChar string
len:the number of #xmlChar to add

Function: xmlBufferCCat

void	xmlBufferCCat			(xmlBufferPtr buf, 
const char * str)

Append a zero terminated C string to an XML buffer.

-
buf:the buffer to dump
str:the C char string

Function: xmlBufferCat

void	xmlBufferCat			(xmlBufferPtr buf, 
const xmlChar * str)
+
buf:the buffer to dump
str:the C char string

Function: xmlBufferCat

void	xmlBufferCat			(xmlBufferPtr buf, 
const xmlChar * str)

Append a zero terminated string to an XML buffer.

-
buf:the buffer to dump
str:the #xmlChar string

Function: xmlBufferContent

const xmlChar *	xmlBufferContent	(const xmlBufferPtr buf)
+
buf:the buffer to dump
str:the #xmlChar string

Function: xmlBufferContent

const xmlChar *	xmlBufferContent	(const xmlBufferPtr buf)

Function to extract the content of a buffer

buf:the buffer
Returns:the internal content

Function: xmlBufferCreate

xmlBufferPtr	xmlBufferCreate		(void)

routine to create an XML buffer.

@@ -632,13 +630,13 @@ A:link, A:visited, A:active { text-decoration: underline }

Sets the allocation scheme for this buffer

buf:the buffer to tune
scheme:allocation scheme to use

Function: xmlBufferShrink

int	xmlBufferShrink			(xmlBufferPtr buf, 
unsigned int len)

Remove the beginning of an XML buffer.

-
buf:the buffer to dump
len:the number of xmlChar to remove
Returns:the number of #xmlChar removed, or -1 in case of failure.

Function: xmlBufferWriteCHAR

void	xmlBufferWriteCHAR		(xmlBufferPtr buf, 
const xmlChar * string)
+
buf:the buffer to dump
len:the number of xmlChar to remove
Returns:the number of #xmlChar removed, or -1 in case of failure.

Function: xmlBufferWriteCHAR

void	xmlBufferWriteCHAR		(xmlBufferPtr buf, 
const xmlChar * string)

routine which manages and grows an output buffer. This one adds xmlChars at the end of the buffer.

buf:the XML buffer
string:the string to add

Function: xmlBufferWriteChar

void	xmlBufferWriteChar		(xmlBufferPtr buf, 
const char * string)

routine which manage and grows an output buffer. This one add C chars at the end of the array.

-
buf:the XML buffer output
string:the string to add

Function: xmlBufferWriteQuotedString

void	xmlBufferWriteQuotedString	(xmlBufferPtr buf, 
const xmlChar * string)
+
buf:the XML buffer output
string:the string to add

Function: xmlBufferWriteQuotedString

void	xmlBufferWriteQuotedString	(xmlBufferPtr buf, 
const xmlChar * string)

routine which manage and grows an output buffer. This one writes a quoted or double quoted #xmlChar string, checking first if it holds quote or double-quotes internally

-
buf:the XML buffer output
string:the string to add

Function: xmlBuildQName

xmlChar *	xmlBuildQName		(const xmlChar * ncname, 
const xmlChar * prefix,
xmlChar * memory,
int len)
+
buf:the XML buffer output
string:the string to add

Function: xmlBuildQName

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

Builds the QName @prefix:@ncname in @memory if there is enough space and prefix is not NULL nor empty, otherwise allocate a new string. If prefix is NULL or empty it returns ncname.

ncname:the Name
prefix:the prefix
memory:preallocated memory
len:preallocated memory length
Returns:the new string which must be freed by the caller if different from @memory and @ncname or NULL in case of error

Function: xmlCopyDoc

xmlDocPtr	xmlCopyDoc		(xmlDocPtr doc, 
int recursive)

Do a copy of the document info. If recursive, the content tree will be copied too as well as DTD, namespaces and entities.

@@ -656,19 +654,19 @@ A:link, A:visited, A:active { text-decoration: underline }

Do a copy of the attribute.

target:the element where the attribute will be grafted
cur:the attribute
Returns:a new #xmlAttrPtr, or NULL in case of error.

Function: xmlCopyPropList

xmlAttrPtr	xmlCopyPropList		(xmlNodePtr target, 
xmlAttrPtr cur)

Do a copy of an attribute list.

-
target:the element where the attributes will be grafted
cur:the first attribute
Returns:a new #xmlAttrPtr, or NULL in case of error.

Function: xmlCreateIntSubset

xmlDtdPtr	xmlCreateIntSubset	(xmlDocPtr doc, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
target:the element where the attributes will be grafted
cur:the first attribute
Returns:a new #xmlAttrPtr, or NULL in case of error.

Function: xmlCreateIntSubset

xmlDtdPtr	xmlCreateIntSubset	(xmlDocPtr doc, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)

Create the internal subset of a document

doc:the document pointer
name:the DTD name
ExternalID:the external (PUBLIC) ID
SystemID:the system ID
Returns:a pointer to the new DTD structure

Function: xmlDocCopyNode

xmlNodePtr	xmlDocCopyNode		(const xmlNodePtr node, 
xmlDocPtr doc,
int recursive)

Do a copy of the node to a given document.

node:the node
doc:the document
recursive:if 1 do a recursive copy.
Returns:a new #xmlNodePtr, or NULL in case of error.

Function: xmlDocDump

int	xmlDocDump			(FILE * f, 
xmlDocPtr cur)

Dump an XML document to an open FILE.

-
f:the FILE*
cur:the document
Returns:the number of bytes written or -1 in case of failure.

Function: xmlDocDumpFormatMemory

void	xmlDocDumpFormatMemory		(xmlDocPtr cur, 
xmlChar ** mem,
int * size,
int format)
+
f:the FILE*
cur:the document
Returns:the number of bytes written or -1 in case of failure.

Function: xmlDocDumpFormatMemory

void	xmlDocDumpFormatMemory		(xmlDocPtr cur, 
xmlChar ** mem,
int * size,
int format)

Dump an XML document in memory and return the #xmlChar * and it's size. It's up to the caller to free the memory with xmlFree(). Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called

-
cur:the document
mem:OUT: the memory pointer
size:OUT: the memory length
format:should formatting spaces been added

Function: xmlDocDumpFormatMemoryEnc

void	xmlDocDumpFormatMemoryEnc	(xmlDocPtr out_doc, 
xmlChar ** doc_txt_ptr,
int * doc_txt_len,
const char * txt_encoding,
int format)
+
cur:the document
mem:OUT: the memory pointer
size:OUT: the memory length
format:should formatting spaces been added

Function: xmlDocDumpFormatMemoryEnc

void	xmlDocDumpFormatMemoryEnc	(xmlDocPtr out_doc, 
xmlChar ** doc_txt_ptr,
int * doc_txt_len,
const char * txt_encoding,
int format)

Dump the current DOM tree into memory using the character encoding specified by the caller. Note it is up to the caller of this function to free the allocated memory with xmlFree(). Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called

-
out_doc:Document to generate XML text from
doc_txt_ptr:Memory pointer for allocated XML text
doc_txt_len:Length of the generated XML text
txt_encoding:Character encoding to use when generating XML text
format:should formatting spaces been added

Function: xmlDocDumpMemory

void	xmlDocDumpMemory		(xmlDocPtr cur, 
xmlChar ** mem,
int * size)
+
out_doc:Document to generate XML text from
doc_txt_ptr:Memory pointer for allocated XML text
doc_txt_len:Length of the generated XML text
txt_encoding:Character encoding to use when generating XML text
format:should formatting spaces been added

Function: xmlDocDumpMemory

void	xmlDocDumpMemory		(xmlDocPtr cur, 
xmlChar ** mem,
int * size)

Dump an XML document in memory and return the #xmlChar * and it's size. It's up to the caller to free the memory with xmlFree().

-
cur:the document
mem:OUT: the memory pointer
size:OUT: the memory length

Function: xmlDocDumpMemoryEnc

void	xmlDocDumpMemoryEnc		(xmlDocPtr out_doc, 
xmlChar ** doc_txt_ptr,
int * doc_txt_len,
const char * txt_encoding)
+
cur:the document
mem:OUT: the memory pointer
size:OUT: the memory length

Function: xmlDocDumpMemoryEnc

void	xmlDocDumpMemoryEnc		(xmlDocPtr out_doc, 
xmlChar ** doc_txt_ptr,
int * doc_txt_len,
const char * txt_encoding)

Dump the current DOM tree into memory using the character encoding specified by the caller. Note it is up to the caller of this function to free the allocated memory with xmlFree().

out_doc:Document to generate XML text from
doc_txt_ptr:Memory pointer for allocated XML text
doc_txt_len:Length of the generated XML text
txt_encoding:Character encoding to use when generating XML text

Function: xmlDocFormatDump

int	xmlDocFormatDump		(FILE * f, 
xmlDocPtr cur,
int format)

Dump an XML document to an open FILE.

@@ -706,79 +704,79 @@ A:link, A:visited, A:active { text-decoration: underline }

Search the last child of a node.

parent:the parent node
Returns:the last child or NULL if none.

Function: xmlGetLineNo

long	xmlGetLineNo			(xmlNodePtr node)

Get line number of @node. This requires activation of this option before invoking the parser by calling xmlLineNumbersDefault(1)

-
node:valid node
Returns:the line number if successful, -1 otherwise

Function: xmlGetNoNsProp

xmlChar *	xmlGetNoNsProp		(xmlNodePtr node, 
const xmlChar * name)
+
node:valid node
Returns:the line number if successful, -1 otherwise

Function: xmlGetNoNsProp

xmlChar *	xmlGetNoNsProp		(xmlNodePtr node, 
const xmlChar * name)

Search and get the value of an attribute associated to a node This does the entity substitution. This function looks in DTD attribute declaration for #FIXED or default declaration values unless DTD use has been turned off. This function is similar to xmlGetProp except it will accept only an attribute in no namespace.

-
node:the node
name:the attribute name
Returns:the attribute value or NULL if not found. It's up to the caller to free the memory with xmlFree().

Function: xmlGetNodePath

xmlChar *	xmlGetNodePath		(xmlNodePtr node)
+
node:the node
name:the attribute name
Returns:the attribute value or NULL if not found. It's up to the caller to free the memory with xmlFree().

Function: xmlGetNodePath

xmlChar *	xmlGetNodePath		(xmlNodePtr node)

Build a structure based Path for the given node

node:a node
Returns:the new path or NULL in case of error. The caller must free the returned string

Function: xmlGetNsList

xmlNsPtr *	xmlGetNsList		(xmlDocPtr doc, 
xmlNodePtr node)

Search all the namespace applying to a given element.

-
doc:the document
node:the current node
Returns:an NULL terminated array of all the #xmlNsPtr found that need to be freed by the caller or NULL if no namespace if defined

Function: xmlGetNsProp

xmlChar *	xmlGetNsProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * nameSpace)
+
doc:the document
node:the current node
Returns:an NULL terminated array of all the #xmlNsPtr found that need to be freed by the caller or NULL if no namespace if defined

Function: xmlGetNsProp

xmlChar *	xmlGetNsProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * nameSpace)

Search and get the value of an attribute associated to a node This attribute has to be anchored in the namespace specified. This does the entity substitution. This function looks in DTD attribute declaration for #FIXED or default declaration values unless DTD use has been turned off.

-
node:the node
name:the attribute name
nameSpace:the URI of the namespace
Returns:the attribute value or NULL if not found. It's up to the caller to free the memory with xmlFree().

Function: xmlGetProp

xmlChar *	xmlGetProp		(xmlNodePtr node, 
const xmlChar * name)
+
node:the node
name:the attribute name
nameSpace:the URI of the namespace
Returns:the attribute value or NULL if not found. It's up to the caller to free the memory with xmlFree().

Function: xmlGetProp

xmlChar *	xmlGetProp		(xmlNodePtr node, 
const xmlChar * name)

Search and get the value of an attribute associated to a node This does the entity substitution. This function looks in DTD attribute declaration for #FIXED or default declaration values unless DTD use has been turned off. NOTE: this function acts independently of namespaces associated to the attribute. Use xmlGetNsProp() or xmlGetNoNsProp() for namespace aware processing.

-
node:the node
name:the attribute name
Returns:the attribute value or NULL if not found. It's up to the caller to free the memory with xmlFree().

Function: xmlHasNsProp

xmlAttrPtr	xmlHasNsProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * nameSpace)
+
node:the node
name:the attribute name
Returns:the attribute value or NULL if not found. It's up to the caller to free the memory with xmlFree().

Function: xmlHasNsProp

xmlAttrPtr	xmlHasNsProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * nameSpace)

Search for an attribute associated to a node This attribute has to be anchored in the namespace specified. This does the entity substitution. This function looks in DTD attribute declaration for #FIXED or default declaration values unless DTD use has been turned off.

-
node:the node
name:the attribute name
nameSpace:the URI of the namespace
Returns:the attribute or the attribute declaration or NULL if neither was found.

Function: xmlHasProp

xmlAttrPtr	xmlHasProp		(xmlNodePtr node, 
const xmlChar * name)
+
node:the node
name:the attribute name
nameSpace:the URI of the namespace
Returns:the attribute or the attribute declaration or NULL if neither was found.

Function: xmlHasProp

xmlAttrPtr	xmlHasProp		(xmlNodePtr node, 
const xmlChar * name)

Search an attribute associated to a node This function also looks in DTD attribute declaration for #FIXED or default declaration values unless DTD use has been turned off.

node:the node
name:the attribute name
Returns:the attribute or the attribute declaration or NULL if neither was found.

Function: xmlIsBlankNode

int	xmlIsBlankNode			(xmlNodePtr node)

Checks whether this node is an empty or whitespace only (and possibly ignorable) text-node.

-
node:the node
Returns:1 yes, 0 no

Function: xmlIsXHTML

int	xmlIsXHTML			(const xmlChar * systemID, 
const xmlChar * publicID)
+
node:the node
Returns:1 yes, 0 no

Function: xmlIsXHTML

int	xmlIsXHTML			(const xmlChar * systemID, 
const xmlChar * publicID)

Try to find if the document correspond to an XHTML DTD

-
systemID:the system identifier
publicID:the public identifier
Returns:1 if true, 0 if not and -1 in case of error

Function: xmlNewCDataBlock

xmlNodePtr	xmlNewCDataBlock	(xmlDocPtr doc, 
const xmlChar * content,
int len)
+
systemID:the system identifier
publicID:the public identifier
Returns:1 if true, 0 if not and -1 in case of error

Function: xmlNewCDataBlock

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

Creation of a new node containing a CDATA block.

-
doc:the document
content:the CDATA block content content
len:the length of the block
Returns:a pointer to the new node object.

Function: xmlNewCharRef

xmlNodePtr	xmlNewCharRef		(xmlDocPtr doc, 
const xmlChar * name)
+
doc:the document
content:the CDATA block content content
len:the length of the block
Returns:a pointer to the new node object.

Function: xmlNewCharRef

xmlNodePtr	xmlNewCharRef		(xmlDocPtr doc, 
const xmlChar * name)

Creation of a new character reference node.

-
doc:the document
name:the char ref string, starting with # or "&# ... ;"
Returns:a pointer to the new node object.

Function: xmlNewChild

xmlNodePtr	xmlNewChild		(xmlNodePtr parent, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)
+
doc:the document
name:the char ref string, starting with # or "&# ... ;"
Returns:a pointer to the new node object.

Function: xmlNewChild

xmlNodePtr	xmlNewChild		(xmlNodePtr parent, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)

Creation of a new child element, added at the end of @parent children list. @ns and @content parameters are optional (NULL). If @ns is NULL, the newly created element inherits the namespace of @parent. If @content is non NULL, a child list containing the TEXTs and ENTITY_REFs node will be created. NOTE: @content is supposed to be a piece of XML CDATA, so it allows entity references. XML special chars must be escaped first by using xmlEncodeEntitiesReentrant(), or xmlNewTextChild() should be used.

-
parent:the parent node
ns:a namespace if any
name:the name of the child
content:the XML content of the child if any.
Returns:a pointer to the new node object.

Function: xmlNewComment

xmlNodePtr	xmlNewComment		(const xmlChar * content)
+
parent:the parent node
ns:a namespace if any
name:the name of the child
content:the XML content of the child if any.
Returns:a pointer to the new node object.

Function: xmlNewComment

xmlNodePtr	xmlNewComment		(const xmlChar * content)

Creation of a new node containing a comment.

-
content:the comment content
Returns:a pointer to the new node object.

Function: xmlNewDoc

xmlDocPtr	xmlNewDoc		(const xmlChar * version)
+
content:the comment content
Returns:a pointer to the new node object.

Function: xmlNewDoc

xmlDocPtr	xmlNewDoc		(const xmlChar * version)

Creates a new XML document

-
version:xmlChar string giving the version of XML "1.0"
Returns:a new document

Function: xmlNewDocComment

xmlNodePtr	xmlNewDocComment	(xmlDocPtr doc, 
const xmlChar * content)
+
version:xmlChar string giving the version of XML "1.0"
Returns:a new document

Function: xmlNewDocComment

xmlNodePtr	xmlNewDocComment	(xmlDocPtr doc, 
const xmlChar * content)

Creation of a new node containing a comment within a document.

doc:the document
content:the comment content
Returns:a pointer to the new node object.

Function: xmlNewDocFragment

xmlNodePtr	xmlNewDocFragment	(xmlDocPtr doc)

Creation of a new Fragment node.

-
doc:the document owning the fragment
Returns:a pointer to the new node object.

Function: xmlNewDocNode

xmlNodePtr	xmlNewDocNode		(xmlDocPtr doc, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)
+
doc:the document owning the fragment
Returns:a pointer to the new node object.

Function: xmlNewDocNode

xmlNodePtr	xmlNewDocNode		(xmlDocPtr doc, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)

Creation of a new node element within a document. @ns and @content are optional (NULL). NOTE: @content is supposed to be a piece of XML CDATA, so it allow entities references, but XML special chars need to be escaped first by using xmlEncodeEntitiesReentrant(). Use xmlNewDocRawNode() if you don't need entities support.

-
doc:the document
ns:namespace if any
name:the node name
content:the XML text content if any
Returns:a pointer to the new node object.

Function: xmlNewDocNodeEatName

xmlNodePtr	xmlNewDocNodeEatName	(xmlDocPtr doc, 
xmlNsPtr ns,
xmlChar * name,
const xmlChar * content)
+
doc:the document
ns:namespace if any
name:the node name
content:the XML text content if any
Returns:a pointer to the new node object.

Function: xmlNewDocNodeEatName

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

Creation of a new node element within a document. @ns and @content are optional (NULL). NOTE: @content is supposed to be a piece of XML CDATA, so it allow entities references, but XML special chars need to be escaped first by using xmlEncodeEntitiesReentrant(). Use xmlNewDocRawNode() if you don't need entities support.

-
doc:the document
ns:namespace if any
name:the node name
content:the XML text content if any
Returns:a pointer to the new node object.

Function: xmlNewDocProp

xmlAttrPtr	xmlNewDocProp		(xmlDocPtr doc, 
const xmlChar * name,
const xmlChar * value)
+
doc:the document
ns:namespace if any
name:the node name
content:the XML text content if any
Returns:a pointer to the new node object.

Function: xmlNewDocProp

xmlAttrPtr	xmlNewDocProp		(xmlDocPtr doc, 
const xmlChar * name,
const xmlChar * value)

Create a new property carried by a document.

-
doc:the document
name:the name of the attribute
value:the value of the attribute
Returns:a pointer to the attribute

Function: xmlNewDocRawNode

xmlNodePtr	xmlNewDocRawNode	(xmlDocPtr doc, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)
+
doc:the document
name:the name of the attribute
value:the value of the attribute
Returns:a pointer to the attribute

Function: xmlNewDocRawNode

xmlNodePtr	xmlNewDocRawNode	(xmlDocPtr doc, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)

Creation of a new node element within a document. @ns and @content are optional (NULL).

-
doc:the document
ns:namespace if any
name:the node name
content:the text content if any
Returns:a pointer to the new node object.

Function: xmlNewDocText

xmlNodePtr	xmlNewDocText		(xmlDocPtr doc, 
const xmlChar * content)
+
doc:the document
ns:namespace if any
name:the node name
content:the text content if any
Returns:a pointer to the new node object.

Function: xmlNewDocText

xmlNodePtr	xmlNewDocText		(xmlDocPtr doc, 
const xmlChar * content)

Creation of a new text node within a document.

-
doc:the document
content:the text content
Returns:a pointer to the new node object.

Function: xmlNewDocTextLen

xmlNodePtr	xmlNewDocTextLen	(xmlDocPtr doc, 
const xmlChar * content,
int len)
+
doc:the document
content:the text content
Returns:a pointer to the new node object.

Function: xmlNewDocTextLen

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

Creation of a new text node with an extra content length parameter. The text node pertain to a given document.

-
doc:the document
content:the text content
len:the text len.
Returns:a pointer to the new node object.

Function: xmlNewDtd

xmlDtdPtr	xmlNewDtd		(xmlDocPtr doc, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
doc:the document
content:the text content
len:the text len.
Returns:a pointer to the new node object.

Function: xmlNewDtd

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

Creation of a new DTD for the external subset. To create an internal subset, use xmlCreateIntSubset().

-
doc:the document pointer
name:the DTD name
ExternalID:the external ID
SystemID:the system ID
Returns:a pointer to the new DTD structure

Function: xmlNewGlobalNs

xmlNsPtr	xmlNewGlobalNs		(xmlDocPtr doc, 
const xmlChar * href,
const xmlChar * prefix)
+
doc:the document pointer
name:the DTD name
ExternalID:the external ID
SystemID:the system ID
Returns:a pointer to the new DTD structure

Function: xmlNewGlobalNs

xmlNsPtr	xmlNewGlobalNs		(xmlDocPtr doc, 
const xmlChar * href,
const xmlChar * prefix)

Creation of a Namespace, the old way using PI and without scoping DEPRECATED !!! It now create a namespace on the root element of the document if found.

-
doc:the document carrying the namespace
href:the URI associated
prefix:the prefix for the namespace
Returns:NULL this functionality had been removed

Function: xmlNewNode

xmlNodePtr	xmlNewNode		(xmlNsPtr ns, 
const xmlChar * name)
+
doc:the document carrying the namespace
href:the URI associated
prefix:the prefix for the namespace
Returns:NULL this functionality had been removed

Function: xmlNewNode

xmlNodePtr	xmlNewNode		(xmlNsPtr ns, 
const xmlChar * name)

Creation of a new node element. @ns is optional (NULL).

-
ns:namespace if any
name:the node name
Returns:a pointer to the new node object. Uses xmlStrdup() to make copy of @name.

Function: xmlNewNodeEatName

xmlNodePtr	xmlNewNodeEatName	(xmlNsPtr ns, 
xmlChar * name)
+
ns:namespace if any
name:the node name
Returns:a pointer to the new node object. Uses xmlStrdup() to make copy of @name.

Function: xmlNewNodeEatName

xmlNodePtr	xmlNewNodeEatName	(xmlNsPtr ns, 
xmlChar * name)

Creation of a new node element. @ns is optional (NULL).

-
ns:namespace if any
name:the node name
Returns:a pointer to the new node object, with pointer @name as new node's name. Use xmlNewNode() if a copy of @name string is is needed as new node's name.

Function: xmlNewNs

xmlNsPtr	xmlNewNs		(xmlNodePtr node, 
const xmlChar * href,
const xmlChar * prefix)
+
ns:namespace if any
name:the node name
Returns:a pointer to the new node object, with pointer @name as new node's name. Use xmlNewNode() if a copy of @name string is is needed as new node's name.

Function: xmlNewNs

xmlNsPtr	xmlNewNs		(xmlNodePtr node, 
const xmlChar * href,
const xmlChar * prefix)

Creation of a new Namespace. This function will refuse to create a namespace with a similar prefix than an existing one present on this node. We use href==NULL in the case of an element creation where the namespace was not defined.

-
node:the element carrying the namespace
href:the URI associated
prefix:the prefix for the namespace
Returns:a new namespace pointer or NULL

Function: xmlNewNsProp

xmlAttrPtr	xmlNewNsProp		(xmlNodePtr node, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * value)
+
node:the element carrying the namespace
href:the URI associated
prefix:the prefix for the namespace
Returns:a new namespace pointer or NULL

Function: xmlNewNsProp

xmlAttrPtr	xmlNewNsProp		(xmlNodePtr node, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * value)

Create a new property tagged with a namespace and carried by a node.

-
node:the holding node
ns:the namespace
name:the name of the attribute
value:the value of the attribute
Returns:a pointer to the attribute

Function: xmlNewNsPropEatName

xmlAttrPtr	xmlNewNsPropEatName	(xmlNodePtr node, 
xmlNsPtr ns,
xmlChar * name,
const xmlChar * value)
+
node:the holding node
ns:the namespace
name:the name of the attribute
value:the value of the attribute
Returns:a pointer to the attribute

Function: xmlNewNsPropEatName

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

Create a new property tagged with a namespace and carried by a node.

-
node:the holding node
ns:the namespace
name:the name of the attribute
value:the value of the attribute
Returns:a pointer to the attribute

Function: xmlNewPI

xmlNodePtr	xmlNewPI		(const xmlChar * name, 
const xmlChar * content)
+
node:the holding node
ns:the namespace
name:the name of the attribute
value:the value of the attribute
Returns:a pointer to the attribute

Function: xmlNewPI

xmlNodePtr	xmlNewPI		(const xmlChar * name, 
const xmlChar * content)

Creation of a processing instruction element.

-
name:the processing instruction name
content:the PI content
Returns:a pointer to the new node object.

Function: xmlNewProp

xmlAttrPtr	xmlNewProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * value)
+
name:the processing instruction name
content:the PI content
Returns:a pointer to the new node object.

Function: xmlNewProp

xmlAttrPtr	xmlNewProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * value)

Create a new property carried by a node.

-
node:the holding node
name:the name of the attribute
value:the value of the attribute
Returns:a pointer to the attribute

Function: xmlNewReference

xmlNodePtr	xmlNewReference		(xmlDocPtr doc, 
const xmlChar * name)
+
node:the holding node
name:the name of the attribute
value:the value of the attribute
Returns:a pointer to the attribute

Function: xmlNewReference

xmlNodePtr	xmlNewReference		(xmlDocPtr doc, 
const xmlChar * name)

Creation of a new reference node.

-
doc:the document
name:the reference name, or the reference string with & and ;
Returns:a pointer to the new node object.

Function: xmlNewText

xmlNodePtr	xmlNewText		(const xmlChar * content)
+
doc:the document
name:the reference name, or the reference string with & and ;
Returns:a pointer to the new node object.

Function: xmlNewText

xmlNodePtr	xmlNewText		(const xmlChar * content)

Creation of a new text node.

-
content:the text content
Returns:a pointer to the new node object.

Function: xmlNewTextChild

xmlNodePtr	xmlNewTextChild		(xmlNodePtr parent, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)
+
content:the text content
Returns:a pointer to the new node object.

Function: xmlNewTextChild

xmlNodePtr	xmlNewTextChild		(xmlNodePtr parent, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * content)

Creation of a new child element, added at the end of @parent children list. @ns and @content parameters are optional (NULL). If @ns is NULL, the newly created element inherits the namespace of @parent. If @content is non NULL, a child TEXT node will be created containing the string @content. NOTE: Use xmlNewChild() if @content will contain entities that need to be preserved. Use this function, xmlNewTextChild(), if you need to ensure that reserved XML chars that might appear in @content, such as the ampersand, greater-than or less-than signs, are automatically replaced by their XML escaped entity representations.

-
parent:the parent node
ns:a namespace if any
name:the name of the child
content:the text content of the child if any.
Returns:a pointer to the new node object.

Function: xmlNewTextLen

xmlNodePtr	xmlNewTextLen		(const xmlChar * content, 
int len)
+
parent:the parent node
ns:a namespace if any
name:the name of the child
content:the text content of the child if any.
Returns:a pointer to the new node object.

Function: xmlNewTextLen

xmlNodePtr	xmlNewTextLen		(const xmlChar * content, 
int len)

Creation of a new text node with an extra parameter for the content's length

-
content:the text content
len:the text len.
Returns:a pointer to the new node object.

Function: xmlNodeAddContent

void	xmlNodeAddContent		(xmlNodePtr cur, 
const xmlChar * content)
+
content:the text content
len:the text len.
Returns:a pointer to the new node object.

Function: xmlNodeAddContent

void	xmlNodeAddContent		(xmlNodePtr cur, 
const xmlChar * content)

Append the extra substring to the node content.

-
cur:the node being modified
content:extra content

Function: xmlNodeAddContentLen

void	xmlNodeAddContentLen		(xmlNodePtr cur, 
const xmlChar * content,
int len)
+
cur:the node being modified
content:extra content

Function: xmlNodeAddContentLen

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

Append the extra substring to the node content.

cur:the node being modified
content:extra content
len:the size of @content

Function: xmlNodeBufGetContent

int	xmlNodeBufGetContent		(xmlBufferPtr buffer, 
xmlNodePtr cur)

Read the value of a node @cur, this can be either the text carried directly by this node if it's a TEXT node or the aggregate string of the values carried by this node child's (TEXT and ENTITY_REF). Entity references are substituted. Fills up the buffer @buffer with this value

@@ -786,53 +784,53 @@ A:link, A:visited, A:active { text-decoration: underline }

Dump an XML node, recursive behaviour,children are printed too. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called

buf:the XML buffer output
doc:the document
cur:the current node
level:the imbrication level for indenting
format:is formatting allowed
Returns:the number of bytes written to the buffer or -1 in case of error

Function: xmlNodeDumpOutput

void	xmlNodeDumpOutput		(xmlOutputBufferPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur,
int level,
int format,
const char * encoding)

Dump an XML node, recursive behaviour, children are printed too. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called

-
buf:the XML buffer output
doc:the document
cur:the current node
level:the imbrication level for indenting
format:is formatting allowed
encoding:an optional encoding string

Function: xmlNodeGetBase

xmlChar *	xmlNodeGetBase		(xmlDocPtr doc, 
xmlNodePtr cur)
+
buf:the XML buffer output
doc:the document
cur:the current node
level:the imbrication level for indenting
format:is formatting allowed
encoding:an optional encoding string

Function: xmlNodeGetBase

xmlChar *	xmlNodeGetBase		(xmlDocPtr doc, 
xmlNodePtr cur)

Searches for the BASE URL. The code should work on both XML and HTML document even if base mechanisms are completely different. It returns the base as defined in RFC 2396 sections 5.1.1. Base URI within Document Content and 5.1.2. Base URI from the Encapsulating Entity However it does not return the document base (5.1.3), use xmlDocumentGetBase() for this

-
doc:the document the node pertains to
cur:the node being checked
Returns:a pointer to the base URL, or NULL if not found It's up to the caller to free the memory with xmlFree().

Function: xmlNodeGetContent

xmlChar *	xmlNodeGetContent	(xmlNodePtr cur)
+
doc:the document the node pertains to
cur:the node being checked
Returns:a pointer to the base URL, or NULL if not found It's up to the caller to free the memory with xmlFree().

Function: xmlNodeGetContent

xmlChar *	xmlNodeGetContent	(xmlNodePtr cur)

Read the value of a node, this can be either the text carried directly by this node if it's a TEXT node or the aggregate string of the values carried by this node child's (TEXT and ENTITY_REF). Entity references are substituted.

-
cur:the node being read
Returns:a new #xmlChar * or NULL if no content is available. It's up to the caller to free the memory with xmlFree().

Function: xmlNodeGetLang

xmlChar *	xmlNodeGetLang		(xmlNodePtr cur)
+
cur:the node being read
Returns:a new #xmlChar * or NULL if no content is available. It's up to the caller to free the memory with xmlFree().

Function: xmlNodeGetLang

xmlChar *	xmlNodeGetLang		(xmlNodePtr cur)

Searches the language of a node, i.e. the values of the xml:lang attribute or the one carried by the nearest ancestor.

cur:the node being checked
Returns:a pointer to the lang value, or NULL if not found It's up to the caller to free the memory with xmlFree().

Function: xmlNodeGetSpacePreserve

int	xmlNodeGetSpacePreserve		(xmlNodePtr cur)

Searches the space preserving behaviour of a node, i.e. the values of the xml:space attribute or the one carried by the nearest ancestor.

-
cur:the node being checked
Returns:-1 if xml:space is not inherited, 0 if "default", 1 if "preserve"

Function: xmlNodeIsText

int	xmlNodeIsText			(xmlNodePtr node)
+
cur:the node being checked
Returns:-1 if xml:space is not inherited, 0 if "default", 1 if "preserve"

Function: xmlNodeIsText

int	xmlNodeIsText			(xmlNodePtr node)

Is this node a Text node ?

-
node:the node
Returns:1 yes, 0 no

Function: xmlNodeListGetRawString

xmlChar *	xmlNodeListGetRawString	(xmlDocPtr doc, 
xmlNodePtr list,
int inLine)
+
node:the node
Returns:1 yes, 0 no

Function: xmlNodeListGetRawString

xmlChar *	xmlNodeListGetRawString	(xmlDocPtr doc, 
xmlNodePtr list,
int inLine)

Builds the string equivalent to the text contained in the Node list made of TEXTs and ENTITY_REFs, contrary to xmlNodeListGetString() this function doesn't do any character encoding handling.

-
doc:the document
list:a Node list
inLine:should we replace entity contents or show their external form
Returns:a pointer to the string copy, the caller must free it with xmlFree().

Function: xmlNodeListGetString

xmlChar *	xmlNodeListGetString	(xmlDocPtr doc, 
xmlNodePtr list,
int inLine)
+
doc:the document
list:a Node list
inLine:should we replace entity contents or show their external form
Returns:a pointer to the string copy, the caller must free it with xmlFree().

Function: xmlNodeListGetString

xmlChar *	xmlNodeListGetString	(xmlDocPtr doc, 
xmlNodePtr list,
int inLine)

Build the string equivalent to the text contained in the Node list made of TEXTs and ENTITY_REFs

-
doc:the document
list:a Node list
inLine:should we replace entity contents or show their external form
Returns:a pointer to the string copy, the caller must free it with xmlFree().

Function: xmlNodeSetBase

void	xmlNodeSetBase			(xmlNodePtr cur, 
const xmlChar * uri)
+
doc:the document
list:a Node list
inLine:should we replace entity contents or show their external form
Returns:a pointer to the string copy, the caller must free it with xmlFree().

Function: xmlNodeSetBase

void	xmlNodeSetBase			(xmlNodePtr cur, 
const xmlChar * uri)

Set (or reset) the base URI of a node, i.e. the value of the xml:base attribute.

-
cur:the node being changed
uri:the new base URI

Function: xmlNodeSetContent

void	xmlNodeSetContent		(xmlNodePtr cur, 
const xmlChar * content)
+
cur:the node being changed
uri:the new base URI

Function: xmlNodeSetContent

void	xmlNodeSetContent		(xmlNodePtr cur, 
const xmlChar * content)

Replace the content of a node.

-
cur:the node being modified
content:the new value of the content

Function: xmlNodeSetContentLen

void	xmlNodeSetContentLen		(xmlNodePtr cur, 
const xmlChar * content,
int len)
+
cur:the node being modified
content:the new value of the content

Function: xmlNodeSetContentLen

void	xmlNodeSetContentLen		(xmlNodePtr cur, 
const xmlChar * content,
int len)

Replace the content of a node.

-
cur:the node being modified
content:the new value of the content
len:the size of @content

Function: xmlNodeSetLang

void	xmlNodeSetLang			(xmlNodePtr cur, 
const xmlChar * lang)
+
cur:the node being modified
content:the new value of the content
len:the size of @content

Function: xmlNodeSetLang

void	xmlNodeSetLang			(xmlNodePtr cur, 
const xmlChar * lang)

Set the language of a node, i.e. the values of the xml:lang attribute.

-
cur:the node being changed
lang:the language description

Function: xmlNodeSetName

void	xmlNodeSetName			(xmlNodePtr cur, 
const xmlChar * name)
+
cur:the node being changed
lang:the language description

Function: xmlNodeSetName

void	xmlNodeSetName			(xmlNodePtr cur, 
const xmlChar * name)

Set (or reset) the name of a node.

cur:the node being changed
name:the new tag name

Function: xmlNodeSetSpacePreserve

void	xmlNodeSetSpacePreserve		(xmlNodePtr cur, 
int val)

Set (or reset) the space preserving behaviour of a node, i.e. the value of the xml:space attribute.

-
cur:the node being changed
val:the xml:space value ("0": default, 1: "preserve")

Function: xmlReconciliateNs

int	xmlReconciliateNs		(xmlDocPtr doc, 
xmlNodePtr tree)
+
cur:the node being changed
val:the xml:space value ("0": default, 1: "preserve")

Function: xmlReconciliateNs

int	xmlReconciliateNs		(xmlDocPtr doc, 
xmlNodePtr tree)

This function checks that all the namespaces declared within the given tree are properly declared. This is needed for example after Copy or Cut and then paste operations. The subtree may still hold pointers to namespace declarations outside the subtree or invalid/masked. As much as possible the function try to reuse the existing namespaces found in the new environment. If not possible the new namespaces are redeclared on @tree at the top of the given subtree.

doc:the document
tree:a node defining the subtree to reconciliate
Returns:the number of namespace declarations created or -1 in case of error.

Function: xmlRemoveProp

int	xmlRemoveProp			(xmlAttrPtr cur)

Unlink and free one attribute, all the content is freed too Note this doesn't work for namespace definition attributes

cur:an attribute
Returns:0 if success and -1 in case of error.

Function: xmlReplaceNode

xmlNodePtr	xmlReplaceNode		(xmlNodePtr old, 
xmlNodePtr cur)

Unlink the old node from its current context, prune the new one at the same place. If @cur was already inserted in a document it is first unlinked from its existing context.

old:the old node
cur:the node
Returns:the @old node

Function: xmlSaveFile

int	xmlSaveFile			(const char * filename, 
xmlDocPtr cur)
-

Dump an XML document to a file. Will use compression if compiled in and enabled. If @filename is "-" the stdout file is used.

+

Dump an XML document to a file. Will use compression if compiled in and enabled. If @filename is "-" the stdout file is used.

filename:the filename (or URL)
cur:the document
Returns:the number of bytes written or -1 in case of failure.

Function: xmlSaveFileEnc

int	xmlSaveFileEnc			(const char * filename, 
xmlDocPtr cur,
const char * encoding)

Dump an XML document, converting it to the given encoding

filename:the filename (or URL)
cur:the document
encoding:the name of an encoding (or NULL)
Returns:the number of bytes written or -1 in case of failure.

Function: xmlSaveFileTo

int	xmlSaveFileTo			(xmlOutputBufferPtr buf, 
xmlDocPtr cur,
const char * encoding)

Dump an XML document to an I/O buffer.

buf:an output I/O buffer
cur:the document
encoding:the encoding if any assuming the I/O layer handles the trancoding
Returns:the number of bytes written or -1 in case of failure.

Function: xmlSaveFormatFile

int	xmlSaveFormatFile		(const char * filename, 
xmlDocPtr cur,
int format)
-

Dump an XML document to a file. Will use compression if compiled in and enabled. If @filename is "-" the stdout file is used. If @format is set then the document will be indented on output. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called

+

Dump an XML document to a file. Will use compression if compiled in and enabled. If @filename is "-" the stdout file is used. If @format is set then the document will be indented on output. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called

filename:the filename (or URL)
cur:the document
format:should formatting spaces been added
Returns:the number of bytes written or -1 in case of failure.

Function: xmlSaveFormatFileEnc

int	xmlSaveFormatFileEnc		(const char * filename, 
xmlDocPtr cur,
const char * encoding,
int format)

Dump an XML document to a file or an URL.

filename:the filename or URL to output
cur:the document being saved
encoding:the name of the encoding to use or NULL.
format:should formatting spaces be added.
Returns:the number of bytes written or -1 in case of error. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called

Function: xmlSaveFormatFileTo

int	xmlSaveFormatFileTo		(xmlOutputBufferPtr buf, 
xmlDocPtr cur,
const char * encoding,
int format)

Dump an XML document to an I/O buffer.

-
buf:an output I/O buffer
cur:the document
encoding:the encoding if any assuming the I/O layer handles the trancoding
format:should formatting spaces been added
Returns:the number of bytes written or -1 in case of failure. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called

Function: xmlSearchNs

xmlNsPtr	xmlSearchNs		(xmlDocPtr doc, 
xmlNodePtr node,
const xmlChar * nameSpace)
+
buf:an output I/O buffer
cur:the document
encoding:the encoding if any assuming the I/O layer handles the trancoding
format:should formatting spaces been added
Returns:the number of bytes written or -1 in case of failure. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called

Function: xmlSearchNs

xmlNsPtr	xmlSearchNs		(xmlDocPtr doc, 
xmlNodePtr node,
const xmlChar * nameSpace)

Search a Ns registered under a given name space for a document. recurse on the parents until it finds the defined namespace or return NULL otherwise. @nameSpace can be NULL, this is a search for the default namespace. We don't allow to cross entities boundaries. If you don't declare the namespace within those you will be in troubles !!! A warning is generated to cover this case.

-
doc:the document
node:the current node
nameSpace:the namespace prefix
Returns:the namespace pointer or NULL.

Function: xmlSearchNsByHref

xmlNsPtr	xmlSearchNsByHref	(xmlDocPtr doc, 
xmlNodePtr node,
const xmlChar * href)
+
doc:the document
node:the current node
nameSpace:the namespace prefix
Returns:the namespace pointer or NULL.

Function: xmlSearchNsByHref

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

Search a Ns aliasing a given URI. Recurse on the parents until it finds the defined namespace or return NULL otherwise.

doc:the document
node:the current node
href:the namespace value
Returns:the namespace pointer or NULL.

Function: xmlSetBufferAllocationScheme

void	xmlSetBufferAllocationScheme	(xmlBufferAllocationScheme scheme)

Set the buffer allocation method. Types are XML_BUFFER_ALLOC_EXACT - use exact sizes, keeps memory usage down XML_BUFFER_ALLOC_DOUBLEIT - double buffer when extra needed, improves performance

@@ -844,36 +842,36 @@ A:link, A:visited, A:active { text-decoration: underline }

update all nodes in the list to point to the right document

list:the first element
doc:the document

Function: xmlSetNs

void	xmlSetNs			(xmlNodePtr node, 
xmlNsPtr ns)

Associate a namespace to a node, a posteriori.

-
node:a node in the document
ns:a namespace pointer

Function: xmlSetNsProp

xmlAttrPtr	xmlSetNsProp		(xmlNodePtr node, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * value)
+
node:a node in the document
ns:a namespace pointer

Function: xmlSetNsProp

xmlAttrPtr	xmlSetNsProp		(xmlNodePtr node, 
xmlNsPtr ns,
const xmlChar * name,
const xmlChar * value)

Set (or reset) an attribute carried by a node. The ns structure must be in scope, this is not checked.

-
node:the node
ns:the namespace definition
name:the attribute name
value:the attribute value
Returns:the attribute pointer.

Function: xmlSetProp

xmlAttrPtr	xmlSetProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * value)
+
node:the node
ns:the namespace definition
name:the attribute name
value:the attribute value
Returns:the attribute pointer.

Function: xmlSetProp

xmlAttrPtr	xmlSetProp		(xmlNodePtr node, 
const xmlChar * name,
const xmlChar * value)

Set (or reset) an attribute carried by a node.

node:the node
name:the attribute name
value:the attribute value
Returns:the attribute pointer.

Function: xmlSetTreeDoc

void	xmlSetTreeDoc			(xmlNodePtr tree, 
xmlDocPtr doc)

update all nodes under the tree to point to the right document

-
tree:the top element
doc:the document

Function: xmlSplitQName2

xmlChar *	xmlSplitQName2		(const xmlChar * name, 
xmlChar ** prefix)
+
tree:the top element
doc:the document

Function: xmlSplitQName2

xmlChar *	xmlSplitQName2		(const xmlChar * name, 
xmlChar ** prefix)

parse an XML qualified name string [NS 5] QName ::= (Prefix ':')? LocalPart [NS 6] Prefix ::= NCName [NS 7] LocalPart ::= NCName

-
name:the full QName
prefix:a xmlChar **
Returns:NULL if not a QName, otherwise the local part, and prefix is updated to get the Prefix if any.

Function: xmlSplitQName3

const xmlChar *	xmlSplitQName3		(const xmlChar * name, 
int * len)
+
name:the full QName
prefix:a xmlChar **
Returns:NULL if not a QName, otherwise the local part, and prefix is updated to get the Prefix if any.

Function: xmlSplitQName3

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

parse an XML qualified name string,i

-
name:the full QName
len:an int *
Returns:NULL if it is not a Qualified Name, otherwise, update len with the lenght in byte of the prefix and return a pointer

Function: xmlStringGetNodeList

xmlNodePtr	xmlStringGetNodeList	(xmlDocPtr doc, 
const xmlChar * value)
+
name:the full QName
len:an int *
Returns:NULL if it is not a Qualified Name, otherwise, update len with the lenght in byte of the prefix and return a pointer

Function: xmlStringGetNodeList

xmlNodePtr	xmlStringGetNodeList	(xmlDocPtr doc, 
const xmlChar * value)

Parse the value string and build the node list associated. Should produce a flat tree with only TEXTs and ENTITY_REFs.

-
doc:the document
value:the value of the attribute
Returns:a pointer to the first child

Function: xmlStringLenGetNodeList

xmlNodePtr	xmlStringLenGetNodeList	(xmlDocPtr doc, 
const xmlChar * value,
int len)
+
doc:the document
value:the value of the attribute
Returns:a pointer to the first child

Function: xmlStringLenGetNodeList

xmlNodePtr	xmlStringLenGetNodeList	(xmlDocPtr doc, 
const xmlChar * value,
int len)

Parse the value string and build the node list associated. Should produce a flat tree with only TEXTs and ENTITY_REFs.

-
doc:the document
value:the value of the text
len:the length of the string value
Returns:a pointer to the first child

Function: xmlTextConcat

int	xmlTextConcat			(xmlNodePtr node, 
const xmlChar * content,
int len)
+
doc:the document
value:the value of the text
len:the length of the string value
Returns:a pointer to the first child

Function: xmlTextConcat

int	xmlTextConcat			(xmlNodePtr node, 
const xmlChar * content,
int len)

Concat the given string at the end of the existing node content

node:the node
content:the content
len:@content length
Returns:-1 in case of error, 0 otherwise

Function: xmlTextMerge

xmlNodePtr	xmlTextMerge		(xmlNodePtr first, 
xmlNodePtr second)

Merge two text nodes into one

first:the first text node
second:the second text node being merged
Returns:the first text node augmented

Function: xmlUnlinkNode

void	xmlUnlinkNode			(xmlNodePtr cur)

Unlink a node from it's current context, the node is not freed

-
cur:the node

Function: xmlUnsetNsProp

int	xmlUnsetNsProp			(xmlNodePtr node, 
xmlNsPtr ns,
const xmlChar * name)
+
cur:the node

Function: xmlUnsetNsProp

int	xmlUnsetNsProp			(xmlNodePtr node, 
xmlNsPtr ns,
const xmlChar * name)

Remove an attribute carried by a node.

-
node:the node
ns:the namespace definition
name:the attribute name
Returns:0 if successful, -1 if not found

Function: xmlUnsetProp

int	xmlUnsetProp			(xmlNodePtr node, 
const xmlChar * name)
+
node:the node
ns:the namespace definition
name:the attribute name
Returns:0 if successful, -1 if not found

Function: xmlUnsetProp

int	xmlUnsetProp			(xmlNodePtr node, 
const xmlChar * name)

Remove an attribute carried by a node.

-
node:the node
name:the attribute name
Returns:0 if successful, -1 if not found

Function: xmlValidateNCName

int	xmlValidateNCName		(const xmlChar * value, 
int space)
+
node:the node
name:the attribute name
Returns:0 if successful, -1 if not found

Function: xmlValidateNCName

int	xmlValidateNCName		(const xmlChar * value, 
int space)

Check that a value conforms to the lexical space of NCName

-
value:the value to check
space:allow spaces in front and end of the string
Returns:0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.

Function: xmlValidateNMToken

int	xmlValidateNMToken		(const xmlChar * value, 
int space)
+
value:the value to check
space:allow spaces in front and end of the string
Returns:0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.

Function: xmlValidateNMToken

int	xmlValidateNMToken		(const xmlChar * value, 
int space)

Check that a value conforms to the lexical space of NMToken

-
value:the value to check
space:allow spaces in front and end of the string
Returns:0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.

Function: xmlValidateName

int	xmlValidateName			(const xmlChar * value, 
int space)
+
value:the value to check
space:allow spaces in front and end of the string
Returns:0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.

Function: xmlValidateName

int	xmlValidateName			(const xmlChar * value, 
int space)

Check that a value conforms to the lexical space of Name

-
value:the value to check
space:allow spaces in front and end of the string
Returns:0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.

Function: xmlValidateQName

int	xmlValidateQName		(const xmlChar * value, 
int space)
+
value:the value to check
space:allow spaces in front and end of the string
Returns:0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.

Function: xmlValidateQName

int	xmlValidateQName		(const xmlChar * value, 
int space)

Check that a value conforms to the lexical space of QName

value:the value to check
space:allow spaces in front and end of the string
Returns:0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.

Daniel Veillard

diff --git a/doc/html/libxml-uri.html b/doc/html/libxml-uri.html index 0c15d77e..f2a9fb5a 100644 --- a/doc/html/libxml-uri.html +++ b/doc/html/libxml-uri.html @@ -12,17 +12,17 @@ A:link, A:visited, A:active { text-decoration: underline } pre.programlisting {border-style: double;background: #EECFA1} Module uri from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module uri from libxml2

API Menu
API Indexes
Related links

library of generic URI related routines Implements RFC 2396

Table of Contents

Structure xmlURI
struct _xmlURI
Typedef xmlURI * xmlURIPtr
-
xmlChar *	xmlBuildURI		(const xmlChar * URI, 
const xmlChar * base)
-
xmlChar *	xmlCanonicPath		(const xmlChar * path)
+
xmlChar *	xmlBuildURI		(const xmlChar * URI, 
const xmlChar * base)
+
xmlChar *	xmlCanonicPath		(const xmlChar * path)
xmlURIPtr	xmlCreateURI		(void)
void	xmlFreeURI			(xmlURIPtr uri)
int	xmlNormalizeURIPath		(char * path)
xmlURIPtr	xmlParseURI		(const char * str)
int	xmlParseURIReference		(xmlURIPtr uri, 
const char * str)
void	xmlPrintURI			(FILE * stream, 
xmlURIPtr uri)
-
xmlChar *	xmlSaveUri		(xmlURIPtr uri)
-
xmlChar *	xmlURIEscape		(const xmlChar * str)
-
xmlChar *	xmlURIEscapeStr		(const xmlChar * str, 
const xmlChar * list)
+
xmlChar *	xmlSaveUri		(xmlURIPtr uri)
+
xmlChar *	xmlURIEscape		(const xmlChar * str)
+
xmlChar *	xmlURIEscapeStr		(const xmlChar * str, 
const xmlChar * list)
char *	xmlURIUnescapeString		(const char * str, 
int len,
char * target)

Description

Structure xmlURI

Structure xmlURI
struct _xmlURI { @@ -36,9 +36,9 @@ A:link, A:visited, A:active { text-decoration: underline } char * query : the query string char * fragment : the fragment identifier int cleanup : parsing potentially unclean URI -}

Function: xmlBuildURI

xmlChar *	xmlBuildURI		(const xmlChar * URI, 
const xmlChar * base)
+}

Function: xmlBuildURI

xmlChar *	xmlBuildURI		(const xmlChar * URI, 
const xmlChar * base)

Computes he final URI of the reference done by checking that the given URI is valid, and building the final URI using the base URI. This is processed according to section 5.2 of the RFC 2396 5.2. Resolving Relative References to Absolute Form

-
URI:the URI instance found in the document
base:the base value
Returns:a new URI string (to be freed by the caller) or NULL in case of error.

Function: xmlCanonicPath

xmlChar *	xmlCanonicPath		(const xmlChar * path)
+
URI:the URI instance found in the document
base:the base value
Returns:a new URI string (to be freed by the caller) or NULL in case of error.

Function: xmlCanonicPath

xmlChar *	xmlCanonicPath		(const xmlChar * path)

Constructs a canonic path from the specified path.

path:the resource locator in a filesystem notation
Returns:a new canonic path, or a duplicate of the path parameter if the construction fails. The caller is responsible for freeing the memory occupied by the returned string. If there is insufficient memory available, or the argument is NULL, the function returns NULL.

Function: xmlCreateURI

xmlURIPtr	xmlCreateURI		(void)

Simply creates an empty xmlURI

@@ -47,16 +47,16 @@ A:link, A:visited, A:active { text-decoration: underline }
uri:pointer to an xmlURI

Function: xmlNormalizeURIPath

int	xmlNormalizeURIPath		(char * path)

Applies the 5 normalization steps to a path string--that is, RFC 2396 Section 5.2, steps 6.c through 6.g. Normalization occurs directly on the string, no new allocation is done

path:pointer to the path string
Returns:0 or an error code

Function: xmlParseURI

xmlURIPtr	xmlParseURI		(const char * str)
-

Parse an URI URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]

+

Parse an URI URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]

str:the URI string to analyze
Returns:a newly build xmlURIPtr or NULL in case of error

Function: xmlParseURIReference

int	xmlParseURIReference		(xmlURIPtr uri, 
const char * str)
-

Parse an URI reference string and fills in the appropriate fields of the @uri structure URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]

+

Parse an URI reference string and fills in the appropriate fields of the @uri structure URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]

uri:pointer to an URI structure
str:the string to analyze
Returns:0 or the error code

Function: xmlPrintURI

void	xmlPrintURI			(FILE * stream, 
xmlURIPtr uri)

Prints the URI in the stream @steam.

-
stream:a FILE* for the output
uri:pointer to an xmlURI

Function: xmlSaveUri

xmlChar *	xmlSaveUri		(xmlURIPtr uri)
+
stream:a FILE* for the output
uri:pointer to an xmlURI

Function: xmlSaveUri

xmlChar *	xmlSaveUri		(xmlURIPtr uri)

Save the URI as an escaped string

-
uri:pointer to an xmlURI
Returns:a new string (to be deallocated by caller)

Function: xmlURIEscape

xmlChar *	xmlURIEscape		(const xmlChar * str)
+
uri:pointer to an xmlURI
Returns:a new string (to be deallocated by caller)

Function: xmlURIEscape

xmlChar *	xmlURIEscape		(const xmlChar * str)

Escaping routine, does not do validity checks ! It will try to escape the chars needing this, but this is heuristic based it's impossible to be sure.

-
str:the string of the URI to escape
Returns:an copy of the string, but escaped 25 May 2001 Uses xmlParseURI and xmlURIEscapeStr to try to escape correctly according to RFC2396. - Carl Douglas

Function: xmlURIEscapeStr

xmlChar *	xmlURIEscapeStr		(const xmlChar * str, 
const xmlChar * list)
+
str:the string of the URI to escape
Returns:an copy of the string, but escaped 25 May 2001 Uses xmlParseURI and xmlURIEscapeStr to try to escape correctly according to RFC2396. - Carl Douglas

Function: xmlURIEscapeStr

xmlChar *	xmlURIEscapeStr		(const xmlChar * str, 
const xmlChar * list)

This routine escapes a string to hex, ignoring reserved characters (a-z) and the characters in the exception list.

str:string to escape
list:exception list string of chars not to escape
Returns:a new escaped string or NULL in case of error.

Function: xmlURIUnescapeString

char *	xmlURIUnescapeString		(const char * str, 
int len,
char * target)

Unescaping routine, does not do validity checks ! Output is direct unsigned char translation of %XX values (no encoding)

diff --git a/doc/html/libxml-valid.html b/doc/html/libxml-valid.html index eed74059..a305f64c 100644 --- a/doc/html/libxml-valid.html +++ b/doc/html/libxml-valid.html @@ -30,17 +30,17 @@ The content of this structure is not made public by the API.
Structure xmlValidState
struct _xmlValidState The content of this structure is not made public by the API.
Typedef xmlValidState * xmlValidStatePtr
-
xmlAttributePtr	xmlAddAttributeDecl	(xmlValidCtxtPtr ctxt, 
xmlDtdPtr dtd,
const xmlChar * elem,
const xmlChar * name,
const xmlChar * ns,
xmlAttributeType type,
xmlAttributeDefault def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)
-
xmlElementPtr	xmlAddElementDecl	(xmlValidCtxtPtr ctxt, 
xmlDtdPtr dtd,
const xmlChar * name,
xmlElementTypeVal type,
xmlElementContentPtr content)
-
xmlIDPtr	xmlAddID		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
const xmlChar * value,
xmlAttrPtr attr)
-
xmlNotationPtr	xmlAddNotationDecl	(xmlValidCtxtPtr ctxt, 
xmlDtdPtr dtd,
const xmlChar * name,
const xmlChar * PublicID,
const xmlChar * SystemID)
-
xmlRefPtr	xmlAddRef		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
const xmlChar * value,
xmlAttrPtr attr)
+
xmlAttributePtr	xmlAddAttributeDecl	(xmlValidCtxtPtr ctxt, 
xmlDtdPtr dtd,
const xmlChar * elem,
const xmlChar * name,
const xmlChar * ns,
xmlAttributeType type,
xmlAttributeDefault def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)
+
xmlElementPtr	xmlAddElementDecl	(xmlValidCtxtPtr ctxt, 
xmlDtdPtr dtd,
const xmlChar * name,
xmlElementTypeVal type,
xmlElementContentPtr content)
+
xmlIDPtr	xmlAddID		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
const xmlChar * value,
xmlAttrPtr attr)
+
xmlNotationPtr	xmlAddNotationDecl	(xmlValidCtxtPtr ctxt, 
xmlDtdPtr dtd,
const xmlChar * name,
const xmlChar * PublicID,
const xmlChar * SystemID)
+
xmlRefPtr	xmlAddRef		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
const xmlChar * value,
xmlAttrPtr attr)
xmlAttributeTablePtr	xmlCopyAttributeTable	(xmlAttributeTablePtr table)
xmlElementContentPtr	xmlCopyElementContent	(xmlElementContentPtr cur)
xmlElementTablePtr	xmlCopyElementTable	(xmlElementTablePtr table)
xmlEnumerationPtr	xmlCopyEnumeration	(xmlEnumerationPtr cur)
xmlNotationTablePtr	xmlCopyNotationTable	(xmlNotationTablePtr table)
-
xmlEnumerationPtr	xmlCreateEnumeration	(const xmlChar * name)
+
xmlEnumerationPtr	xmlCreateEnumeration	(const xmlChar * name)
void	xmlDumpAttributeDecl		(xmlBufferPtr buf, 
xmlAttributePtr attr)
void	xmlDumpAttributeTable		(xmlBufferPtr buf, 
xmlAttributeTablePtr table)
void	xmlDumpElementDecl		(xmlBufferPtr buf, 
xmlElementPtr elem)
@@ -55,47 +55,47 @@ The content of this structure is not made public by the API.
void	xmlFreeNotationTable		(xmlNotationTablePtr table)
void	xmlFreeRefTable			(xmlRefTablePtr table)
void	xmlFreeValidCtxt		(xmlValidCtxtPtr cur)
-
xmlAttributePtr	xmlGetDtdAttrDesc	(xmlDtdPtr dtd, 
const xmlChar * elem,
const xmlChar * name)
-
xmlElementPtr	xmlGetDtdElementDesc	(xmlDtdPtr dtd, 
const xmlChar * name)
-
xmlNotationPtr	xmlGetDtdNotationDesc	(xmlDtdPtr dtd, 
const xmlChar * name)
-
xmlAttributePtr	xmlGetDtdQAttrDesc	(xmlDtdPtr dtd, 
const xmlChar * elem,
const xmlChar * name,
const xmlChar * prefix)
-
xmlElementPtr	xmlGetDtdQElementDesc	(xmlDtdPtr dtd, 
const xmlChar * name,
const xmlChar * prefix)
-
xmlAttrPtr	xmlGetID		(xmlDocPtr doc, 
const xmlChar * ID)
-
xmlListPtr	xmlGetRefs		(xmlDocPtr doc, 
const xmlChar * ID)
+
xmlAttributePtr	xmlGetDtdAttrDesc	(xmlDtdPtr dtd, 
const xmlChar * elem,
const xmlChar * name)
+
xmlElementPtr	xmlGetDtdElementDesc	(xmlDtdPtr dtd, 
const xmlChar * name)
+
xmlNotationPtr	xmlGetDtdNotationDesc	(xmlDtdPtr dtd, 
const xmlChar * name)
+
xmlAttributePtr	xmlGetDtdQAttrDesc	(xmlDtdPtr dtd, 
const xmlChar * elem,
const xmlChar * name,
const xmlChar * prefix)
+
xmlElementPtr	xmlGetDtdQElementDesc	(xmlDtdPtr dtd, 
const xmlChar * name,
const xmlChar * prefix)
+
xmlAttrPtr	xmlGetID		(xmlDocPtr doc, 
const xmlChar * ID)
+
xmlListPtr	xmlGetRefs		(xmlDocPtr doc, 
const xmlChar * ID)
int	xmlIsID			(xmlDocPtr doc, 
xmlNodePtr elem,
xmlAttrPtr attr)
-
int	xmlIsMixedElement		(xmlDocPtr doc, 
const xmlChar * name)
+
int	xmlIsMixedElement		(xmlDocPtr doc, 
const xmlChar * name)
int	xmlIsRef			(xmlDocPtr doc, 
xmlNodePtr elem,
xmlAttrPtr attr)
-
xmlElementContentPtr	xmlNewElementContent	(const xmlChar * name, 
xmlElementContentType type)
+
xmlElementContentPtr	xmlNewElementContent	(const xmlChar * name, 
xmlElementContentType type)
xmlValidCtxtPtr	xmlNewValidCtxt		(void)
int	xmlRemoveID			(xmlDocPtr doc, 
xmlAttrPtr attr)
int	xmlRemoveRef			(xmlDocPtr doc, 
xmlAttrPtr attr)
void	xmlSnprintfElementContent	(char * buf, 
int size,
xmlElementContentPtr content,
int glob)
void	xmlSprintfElementContent	(char * buf, 
xmlElementContentPtr content,
int glob)
int	xmlValidBuildContentModel	(xmlValidCtxtPtr ctxt, 
xmlElementPtr elem)
-
xmlChar *	xmlValidCtxtNormalizeAttributeValue	(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * name,
const xmlChar * value)
-
int	xmlValidGetPotentialChildren	(xmlElementContent * ctree, 
const xmlChar ** list,
int * len,
int max)
-
int	xmlValidGetValidElements	(xmlNode * prev, 
xmlNode * next,
const xmlChar ** list,
int max)
-
xmlChar *	xmlValidNormalizeAttributeValue	(xmlDocPtr doc, 
xmlNodePtr elem,
const xmlChar * name,
const xmlChar * value)
+
xmlChar *	xmlValidCtxtNormalizeAttributeValue	(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * name,
const xmlChar * value)
+
int	xmlValidGetPotentialChildren	(xmlElementContent * ctree, 
const xmlChar ** list,
int * len,
int max)
+
int	xmlValidGetValidElements	(xmlNode * prev, 
xmlNode * next,
const xmlChar ** list,
int max)
+
xmlChar *	xmlValidNormalizeAttributeValue	(xmlDocPtr doc, 
xmlNodePtr elem,
const xmlChar * name,
const xmlChar * value)
int	xmlValidateAttributeDecl	(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlAttributePtr attr)
-
int	xmlValidateAttributeValue	(xmlAttributeType type, 
const xmlChar * value)
+
int	xmlValidateAttributeValue	(xmlAttributeType type, 
const xmlChar * value)
int	xmlValidateDocument		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc)
int	xmlValidateDocumentFinal	(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc)
int	xmlValidateDtd			(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlDtdPtr dtd)
int	xmlValidateDtdFinal		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc)
int	xmlValidateElement		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem)
int	xmlValidateElementDecl		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlElementPtr elem)
-
int	xmlValidateNameValue		(const xmlChar * value)
-
int	xmlValidateNamesValue		(const xmlChar * value)
-
int	xmlValidateNmtokenValue		(const xmlChar * value)
-
int	xmlValidateNmtokensValue	(const xmlChar * value)
+
int	xmlValidateNameValue		(const xmlChar * value)
+
int	xmlValidateNamesValue		(const xmlChar * value)
+
int	xmlValidateNmtokenValue		(const xmlChar * value)
+
int	xmlValidateNmtokensValue	(const xmlChar * value)
int	xmlValidateNotationDecl		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNotationPtr nota)
-
int	xmlValidateNotationUse		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
const xmlChar * notationName)
-
int	xmlValidateOneAttribute		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
xmlAttrPtr attr,
const xmlChar * value)
+
int	xmlValidateNotationUse		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
const xmlChar * notationName)
+
int	xmlValidateOneAttribute		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
xmlAttrPtr attr,
const xmlChar * value)
int	xmlValidateOneElement		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem)
-
int	xmlValidateOneNamespace		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * prefix,
xmlNsPtr ns,
const xmlChar * value)
-
int	xmlValidatePopElement		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * qname)
-
int	xmlValidatePushCData		(xmlValidCtxtPtr ctxt, 
const xmlChar * data,
int len)
-
int	xmlValidatePushElement		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * qname)
+
int	xmlValidateOneNamespace		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * prefix,
xmlNsPtr ns,
const xmlChar * value)
+
int	xmlValidatePopElement		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * qname)
+
int	xmlValidatePushCData		(xmlValidCtxtPtr ctxt, 
const xmlChar * data,
int len)
+
int	xmlValidatePushElement		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * qname)
int	xmlValidateRoot			(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc)
Function type: xmlValidityErrorFunc
 void	xmlValidityErrorFunc		(void * ctx, 
const char * msg,
... ...) @@ -135,15 +135,15 @@ The content of this structure is not made public by the API. void * state }

Structure xmlValidState

Structure xmlValidState
struct _xmlValidState { The content of this structure is not made public by the API. -}

Function: xmlAddAttributeDecl

xmlAttributePtr	xmlAddAttributeDecl	(xmlValidCtxtPtr ctxt, 
xmlDtdPtr dtd,
const xmlChar * elem,
const xmlChar * name,
const xmlChar * ns,
xmlAttributeType type,
xmlAttributeDefault def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)
+}

Function: xmlAddAttributeDecl

xmlAttributePtr	xmlAddAttributeDecl	(xmlValidCtxtPtr ctxt, 
xmlDtdPtr dtd,
const xmlChar * elem,
const xmlChar * name,
const xmlChar * ns,
xmlAttributeType type,
xmlAttributeDefault def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)

Register a new attribute declaration Note that @tree becomes the ownership of the DTD

-
ctxt:the validation context
dtd:pointer to the DTD
elem:the element name
name:the attribute name
ns:the attribute namespace prefix
type:the attribute type
def:the attribute default type
defaultValue:the attribute default value
tree:if it's an enumeration, the associated list
Returns:NULL if not new, otherwise the attribute decl

Function: xmlAddElementDecl

xmlElementPtr	xmlAddElementDecl	(xmlValidCtxtPtr ctxt, 
xmlDtdPtr dtd,
const xmlChar * name,
xmlElementTypeVal type,
xmlElementContentPtr content)
+
ctxt:the validation context
dtd:pointer to the DTD
elem:the element name
name:the attribute name
ns:the attribute namespace prefix
type:the attribute type
def:the attribute default type
defaultValue:the attribute default value
tree:if it's an enumeration, the associated list
Returns:NULL if not new, otherwise the attribute decl

Function: xmlAddElementDecl

xmlElementPtr	xmlAddElementDecl	(xmlValidCtxtPtr ctxt, 
xmlDtdPtr dtd,
const xmlChar * name,
xmlElementTypeVal type,
xmlElementContentPtr content)

Register a new element declaration

-
ctxt:the validation context
dtd:pointer to the DTD
name:the entity name
type:the element type
content:the element content tree or NULL
Returns:NULL if not, otherwise the entity

Function: xmlAddID

xmlIDPtr	xmlAddID		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
const xmlChar * value,
xmlAttrPtr attr)
+
ctxt:the validation context
dtd:pointer to the DTD
name:the entity name
type:the element type
content:the element content tree or NULL
Returns:NULL if not, otherwise the entity

Function: xmlAddID

xmlIDPtr	xmlAddID		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
const xmlChar * value,
xmlAttrPtr attr)

Register a new id declaration

-
ctxt:the validation context
doc:pointer to the document
value:the value name
attr:the attribute holding the ID
Returns:NULL if not, otherwise the new xmlIDPtr

Function: xmlAddNotationDecl

xmlNotationPtr	xmlAddNotationDecl	(xmlValidCtxtPtr ctxt, 
xmlDtdPtr dtd,
const xmlChar * name,
const xmlChar * PublicID,
const xmlChar * SystemID)
+
ctxt:the validation context
doc:pointer to the document
value:the value name
attr:the attribute holding the ID
Returns:NULL if not, otherwise the new xmlIDPtr

Function: xmlAddNotationDecl

xmlNotationPtr	xmlAddNotationDecl	(xmlValidCtxtPtr ctxt, 
xmlDtdPtr dtd,
const xmlChar * name,
const xmlChar * PublicID,
const xmlChar * SystemID)

Register a new notation declaration

-
ctxt:the validation context
dtd:pointer to the DTD
name:the entity name
PublicID:the public identifier or NULL
SystemID:the system identifier or NULL
Returns:NULL if not, otherwise the entity

Function: xmlAddRef

xmlRefPtr	xmlAddRef		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
const xmlChar * value,
xmlAttrPtr attr)
+
ctxt:the validation context
dtd:pointer to the DTD
name:the entity name
PublicID:the public identifier or NULL
SystemID:the system identifier or NULL
Returns:NULL if not, otherwise the entity

Function: xmlAddRef

xmlRefPtr	xmlAddRef		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
const xmlChar * value,
xmlAttrPtr attr)

Register a new ref declaration

ctxt:the validation context
doc:pointer to the document
value:the value name
attr:the attribute holding the Ref
Returns:NULL if not, otherwise the new xmlRefPtr

Function: xmlCopyAttributeTable

xmlAttributeTablePtr	xmlCopyAttributeTable	(xmlAttributeTablePtr table)

Build a copy of an attribute table.

@@ -155,7 +155,7 @@ The content of this structure is not made public by the API.

Copy an enumeration attribute node (recursive).

cur:the tree to copy.
Returns:the xmlEnumerationPtr just created or NULL in case of error.

Function: xmlCopyNotationTable

xmlNotationTablePtr	xmlCopyNotationTable	(xmlNotationTablePtr table)

Build a copy of a notation table.

-
table:A notation table
Returns:the new xmlNotationTablePtr or NULL in case of error.

Function: xmlCreateEnumeration

xmlEnumerationPtr	xmlCreateEnumeration	(const xmlChar * name)
+
table:A notation table
Returns:the new xmlNotationTablePtr or NULL in case of error.

Function: xmlCreateEnumeration

xmlEnumerationPtr	xmlCreateEnumeration	(const xmlChar * name)

create and initialize an enumeration attribute node.

name:the enumeration name or NULL
Returns:the xmlEnumerationPtr just created or NULL in case of error.

Function: xmlDumpAttributeDecl

void	xmlDumpAttributeDecl		(xmlBufferPtr buf, 
xmlAttributePtr attr)

This will dump the content of the attribute declaration as an XML DTD definition

@@ -185,27 +185,27 @@ The content of this structure is not made public by the API.

Deallocate the memory used by an Ref hash table.

table:An ref table

Function: xmlFreeValidCtxt

void	xmlFreeValidCtxt		(xmlValidCtxtPtr cur)

Free a validation context structure.

-
cur:the validation context to free

Function: xmlGetDtdAttrDesc

xmlAttributePtr	xmlGetDtdAttrDesc	(xmlDtdPtr dtd, 
const xmlChar * elem,
const xmlChar * name)
+
cur:the validation context to free

Function: xmlGetDtdAttrDesc

xmlAttributePtr	xmlGetDtdAttrDesc	(xmlDtdPtr dtd, 
const xmlChar * elem,
const xmlChar * name)

Search the DTD for the description of this attribute on this element.

-
dtd:a pointer to the DtD to search
elem:the element name
name:the attribute name
Returns:the xmlAttributePtr if found or NULL

Function: xmlGetDtdElementDesc

xmlElementPtr	xmlGetDtdElementDesc	(xmlDtdPtr dtd, 
const xmlChar * name)
+
dtd:a pointer to the DtD to search
elem:the element name
name:the attribute name
Returns:the xmlAttributePtr if found or NULL

Function: xmlGetDtdElementDesc

xmlElementPtr	xmlGetDtdElementDesc	(xmlDtdPtr dtd, 
const xmlChar * name)

Search the DTD for the description of this element

-
dtd:a pointer to the DtD to search
name:the element name
Returns:the xmlElementPtr if found or NULL

Function: xmlGetDtdNotationDesc

xmlNotationPtr	xmlGetDtdNotationDesc	(xmlDtdPtr dtd, 
const xmlChar * name)
+
dtd:a pointer to the DtD to search
name:the element name
Returns:the xmlElementPtr if found or NULL

Function: xmlGetDtdNotationDesc

xmlNotationPtr	xmlGetDtdNotationDesc	(xmlDtdPtr dtd, 
const xmlChar * name)

Search the DTD for the description of this notation

-
dtd:a pointer to the DtD to search
name:the notation name
Returns:the xmlNotationPtr if found or NULL

Function: xmlGetDtdQAttrDesc

xmlAttributePtr	xmlGetDtdQAttrDesc	(xmlDtdPtr dtd, 
const xmlChar * elem,
const xmlChar * name,
const xmlChar * prefix)
+
dtd:a pointer to the DtD to search
name:the notation name
Returns:the xmlNotationPtr if found or NULL

Function: xmlGetDtdQAttrDesc

xmlAttributePtr	xmlGetDtdQAttrDesc	(xmlDtdPtr dtd, 
const xmlChar * elem,
const xmlChar * name,
const xmlChar * prefix)

Search the DTD for the description of this qualified attribute on this element.

-
dtd:a pointer to the DtD to search
elem:the element name
name:the attribute name
prefix:the attribute namespace prefix
Returns:the xmlAttributePtr if found or NULL

Function: xmlGetDtdQElementDesc

xmlElementPtr	xmlGetDtdQElementDesc	(xmlDtdPtr dtd, 
const xmlChar * name,
const xmlChar * prefix)
+
dtd:a pointer to the DtD to search
elem:the element name
name:the attribute name
prefix:the attribute namespace prefix
Returns:the xmlAttributePtr if found or NULL

Function: xmlGetDtdQElementDesc

xmlElementPtr	xmlGetDtdQElementDesc	(xmlDtdPtr dtd, 
const xmlChar * name,
const xmlChar * prefix)

Search the DTD for the description of this element

-
dtd:a pointer to the DtD to search
name:the element name
prefix:the element namespace prefix
Returns:the xmlElementPtr if found or NULL

Function: xmlGetID

xmlAttrPtr	xmlGetID		(xmlDocPtr doc, 
const xmlChar * ID)
+
dtd:a pointer to the DtD to search
name:the element name
prefix:the element namespace prefix
Returns:the xmlElementPtr if found or NULL

Function: xmlGetID

xmlAttrPtr	xmlGetID		(xmlDocPtr doc, 
const xmlChar * ID)

Search the attribute declaring the given ID

-
doc:pointer to the document
ID:the ID value
Returns:NULL if not found, otherwise the xmlAttrPtr defining the ID

Function: xmlGetRefs

xmlListPtr	xmlGetRefs		(xmlDocPtr doc, 
const xmlChar * ID)
+
doc:pointer to the document
ID:the ID value
Returns:NULL if not found, otherwise the xmlAttrPtr defining the ID

Function: xmlGetRefs

xmlListPtr	xmlGetRefs		(xmlDocPtr doc, 
const xmlChar * ID)

Find the set of references for the supplied ID.

doc:pointer to the document
ID:the ID value
Returns:NULL if not found, otherwise node set for the ID.

Function: xmlIsID

int	xmlIsID			(xmlDocPtr doc, 
xmlNodePtr elem,
xmlAttrPtr attr)

Determine whether an attribute is of type ID. In case we have DTD(s) then this is done if DTD loading has been requested. In the case of HTML documents parsed with the HTML parser, then ID detection is done systematically.

-
doc:the document
elem:the element carrying the attribute
attr:the attribute
Returns:0 or 1 depending on the lookup result

Function: xmlIsMixedElement

int	xmlIsMixedElement		(xmlDocPtr doc, 
const xmlChar * name)
+
doc:the document
elem:the element carrying the attribute
attr:the attribute
Returns:0 or 1 depending on the lookup result

Function: xmlIsMixedElement

int	xmlIsMixedElement		(xmlDocPtr doc, 
const xmlChar * name)

Search in the DtDs whether an element accept Mixed content (or ANY) basically if it is supposed to accept text childs

doc:the document
name:the element name
Returns:0 if no, 1 if yes, and -1 if no element description is available

Function: xmlIsRef

int	xmlIsRef			(xmlDocPtr doc, 
xmlNodePtr elem,
xmlAttrPtr attr)

Determine whether an attribute is of type Ref. In case we have DTD(s) then this is simple, otherwise we use an heuristic: name Ref (upper or lowercase).

-
doc:the document
elem:the element carrying the attribute
attr:the attribute
Returns:0 or 1 depending on the lookup result

Function: xmlNewElementContent

xmlElementContentPtr	xmlNewElementContent	(const xmlChar * name, 
xmlElementContentType type)
+
doc:the document
elem:the element carrying the attribute
attr:the attribute
Returns:0 or 1 depending on the lookup result

Function: xmlNewElementContent

xmlElementContentPtr	xmlNewElementContent	(const xmlChar * name, 
xmlElementContentType type)

Allocate an element content structure.

name:the subelement name or NULL
type:the type of element content decl
Returns:NULL if not, otherwise the new element content structure

Function: xmlNewValidCtxt

xmlValidCtxtPtr	xmlNewValidCtxt		(void)

Allocate a validation context structure.

@@ -219,17 +219,17 @@ The content of this structure is not made public by the API.

Deprecated, unsafe, use xmlSnprintfElementContent

buf:an output buffer
content:An element table
glob:1 if one must print the englobing parenthesis, 0 otherwise

Function: xmlValidBuildContentModel

int	xmlValidBuildContentModel	(xmlValidCtxtPtr ctxt, 
xmlElementPtr elem)

(Re)Build the automata associated to the content model of this element

-
ctxt:a validation context
elem:an element declaration node
Returns:1 in case of success, 0 in case of error

Function: xmlValidCtxtNormalizeAttributeValue

xmlChar *	xmlValidCtxtNormalizeAttributeValue	(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * name,
const xmlChar * value)
+
ctxt:a validation context
elem:an element declaration node
Returns:1 in case of success, 0 in case of error

Function: xmlValidCtxtNormalizeAttributeValue

xmlChar *	xmlValidCtxtNormalizeAttributeValue	(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * name,
const xmlChar * value)

Does the validation related extra step of the normalization of attribute values: If the declared value is not CDATA, then the XML processor must further process the normalized attribute value by discarding any leading and trailing space (#x20) characters, and by replacing sequences of space (#x20) characters by single space (#x20) character. Also check VC: Standalone Document Declaration in P32, and update ctxt->valid accordingly

-
ctxt:the validation context or NULL
doc:the document
elem:the parent
name:the attribute name
value:the attribute value
Returns:a new normalized string if normalization is needed, NULL otherwise the caller must free the returned value.

Function: xmlValidGetPotentialChildren

int	xmlValidGetPotentialChildren	(xmlElementContent * ctree, 
const xmlChar ** list,
int * len,
int max)
+
ctxt:the validation context or NULL
doc:the document
elem:the parent
name:the attribute name
value:the attribute value
Returns:a new normalized string if normalization is needed, NULL otherwise the caller must free the returned value.

Function: xmlValidGetPotentialChildren

int	xmlValidGetPotentialChildren	(xmlElementContent * ctree, 
const xmlChar ** list,
int * len,
int max)

Build/extend a list of potential children allowed by the content tree

-
ctree:an element content tree
list:an array to store the list of child names
len:a pointer to the number of element in the list
max:the size of the array
Returns:the number of element in the list, or -1 in case of error.

Function: xmlValidGetValidElements

int	xmlValidGetValidElements	(xmlNode * prev, 
xmlNode * next,
const xmlChar ** list,
int max)
+
ctree:an element content tree
list:an array to store the list of child names
len:a pointer to the number of element in the list
max:the size of the array
Returns:the number of element in the list, or -1 in case of error.

Function: xmlValidGetValidElements

int	xmlValidGetValidElements	(xmlNode * prev, 
xmlNode * next,
const xmlChar ** list,
int max)

This function returns the list of authorized children to insert within an existing tree while respecting the validity constraints forced by the Dtd. The insertion point is defined using @prev and @next in the following ways: to insert before 'node': xmlValidGetValidElements(node->prev, node, ... to insert next 'node': xmlValidGetValidElements(node, node->next, ... to replace 'node': xmlValidGetValidElements(node->prev, node->next, ... to prepend a child to 'node': xmlValidGetValidElements(NULL, node->childs, to append a child to 'node': xmlValidGetValidElements(node->last, NULL, ... pointers to the element names are inserted at the beginning of the array and do not need to be freed.

-
prev:an element to insert after
next:an element to insert next
list:an array to store the list of child names
max:the size of the array
Returns:the number of element in the list, or -1 in case of error. If the function returns the value @max the caller is invited to grow the receiving array and retry.

Function: xmlValidNormalizeAttributeValue

xmlChar *	xmlValidNormalizeAttributeValue	(xmlDocPtr doc, 
xmlNodePtr elem,
const xmlChar * name,
const xmlChar * value)
+
prev:an element to insert after
next:an element to insert next
list:an array to store the list of child names
max:the size of the array
Returns:the number of element in the list, or -1 in case of error. If the function returns the value @max the caller is invited to grow the receiving array and retry.

Function: xmlValidNormalizeAttributeValue

xmlChar *	xmlValidNormalizeAttributeValue	(xmlDocPtr doc, 
xmlNodePtr elem,
const xmlChar * name,
const xmlChar * value)

Does the validation related extra step of the normalization of attribute values: If the declared value is not CDATA, then the XML processor must further process the normalized attribute value by discarding any leading and trailing space (#x20) characters, and by replacing sequences of space (#x20) characters by single space (#x20) character.

doc:the document
elem:the parent
name:the attribute name
value:the attribute value
Returns:a new normalized string if normalization is needed, NULL otherwise the caller must free the returned value.

Function: xmlValidateAttributeDecl

int	xmlValidateAttributeDecl	(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlAttributePtr attr)

Try to validate a single attribute definition basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Default Legal ] - [ VC: Enumeration ] - [ VC: ID Attribute Default ] The ID/IDREF uniqueness and matching are done separately

-
ctxt:the validation context
doc:a document instance
attr:an attribute definition
Returns:1 if valid or 0 otherwise

Function: xmlValidateAttributeValue

int	xmlValidateAttributeValue	(xmlAttributeType type, 
const xmlChar * value)
+
ctxt:the validation context
doc:a document instance
attr:an attribute definition
Returns:1 if valid or 0 otherwise

Function: xmlValidateAttributeValue

int	xmlValidateAttributeValue	(xmlAttributeType type, 
const xmlChar * value)

Validate that the given attribute value match the proper production [ VC: ID ] Values of type ID must match the Name production.... [ VC: IDREF ] Values of type IDREF must match the Name production, and values of type IDREFS must match Names ... [ VC: Entity Name ] Values of type ENTITY must match the Name production, values of type ENTITIES must match Names ... [ VC: Name Token ] Values of type NMTOKEN must match the Nmtoken production; values of type NMTOKENS must match Nmtokens.

type:an attribute type
value:an attribute value
Returns:1 if valid or 0 otherwise

Function: xmlValidateDocument

int	xmlValidateDocument		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc)

Try to validate the document instance basically it does the all the checks described by the XML Rec i.e. validates the internal and external subset (if present) and validate the document tree.

@@ -243,29 +243,29 @@ The content of this structure is not made public by the API.

Try to validate the subtree under an element

ctxt:the validation context
doc:a document instance
elem:an element instance
Returns:1 if valid or 0 otherwise

Function: xmlValidateElementDecl

int	xmlValidateElementDecl		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlElementPtr elem)

Try to validate a single element definition basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: One ID per Element Type ] - [ VC: No Duplicate Types ] - [ VC: Unique Element Type Declaration ]

-
ctxt:the validation context
doc:a document instance
elem:an element definition
Returns:1 if valid or 0 otherwise

Function: xmlValidateNameValue

int	xmlValidateNameValue		(const xmlChar * value)
+
ctxt:the validation context
doc:a document instance
elem:an element definition
Returns:1 if valid or 0 otherwise

Function: xmlValidateNameValue

int	xmlValidateNameValue		(const xmlChar * value)

Validate that the given value match Name production

-
value:an Name value
Returns:1 if valid or 0 otherwise

Function: xmlValidateNamesValue

int	xmlValidateNamesValue		(const xmlChar * value)
+
value:an Name value
Returns:1 if valid or 0 otherwise

Function: xmlValidateNamesValue

int	xmlValidateNamesValue		(const xmlChar * value)

Validate that the given value match Names production

-
value:an Names value
Returns:1 if valid or 0 otherwise

Function: xmlValidateNmtokenValue

int	xmlValidateNmtokenValue		(const xmlChar * value)
+
value:an Names value
Returns:1 if valid or 0 otherwise

Function: xmlValidateNmtokenValue

int	xmlValidateNmtokenValue		(const xmlChar * value)

Validate that the given value match Nmtoken production [ VC: Name Token ]

-
value:an Nmtoken value
Returns:1 if valid or 0 otherwise

Function: xmlValidateNmtokensValue

int	xmlValidateNmtokensValue	(const xmlChar * value)
+
value:an Nmtoken value
Returns:1 if valid or 0 otherwise

Function: xmlValidateNmtokensValue

int	xmlValidateNmtokensValue	(const xmlChar * value)

Validate that the given value match Nmtokens production [ VC: Name Token ]

value:an Nmtokens value
Returns:1 if valid or 0 otherwise

Function: xmlValidateNotationDecl

int	xmlValidateNotationDecl		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNotationPtr nota)

Try to validate a single notation definition basically it does the following checks as described by the XML-1.0 recommendation: - it seems that no validity constraint exists on notation declarations But this function get called anyway ...

-
ctxt:the validation context
doc:a document instance
nota:a notation definition
Returns:1 if valid or 0 otherwise

Function: xmlValidateNotationUse

int	xmlValidateNotationUse		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
const xmlChar * notationName)
+
ctxt:the validation context
doc:a document instance
nota:a notation definition
Returns:1 if valid or 0 otherwise

Function: xmlValidateNotationUse

int	xmlValidateNotationUse		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
const xmlChar * notationName)

Validate that the given name match a notation declaration. - [ VC: Notation Declared ]

-
ctxt:the validation context
doc:the document
notationName:the notation name to check
Returns:1 if valid or 0 otherwise

Function: xmlValidateOneAttribute

int	xmlValidateOneAttribute		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
xmlAttrPtr attr,
const xmlChar * value)
+
ctxt:the validation context
doc:the document
notationName:the notation name to check
Returns:1 if valid or 0 otherwise

Function: xmlValidateOneAttribute

int	xmlValidateOneAttribute		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
xmlAttrPtr attr,
const xmlChar * value)

Try to validate a single attribute for an element basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Value Type ] - [ VC: Fixed Attribute Default ] - [ VC: Entity Name ] - [ VC: Name Token ] - [ VC: ID ] - [ VC: IDREF ] - [ VC: Entity Name ] - [ VC: Notation Attributes ] The ID/IDREF uniqueness and matching are done separately

ctxt:the validation context
doc:a document instance
elem:an element instance
attr:an attribute instance
value:the attribute value (without entities processing)
Returns:1 if valid or 0 otherwise

Function: xmlValidateOneElement

int	xmlValidateOneElement		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem)

Try to validate a single element and it's attributes, basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Element Valid ] - [ VC: Required Attribute ] Then call xmlValidateOneAttribute() for each attribute present. The ID/IDREF checkings are done separately

-
ctxt:the validation context
doc:a document instance
elem:an element instance
Returns:1 if valid or 0 otherwise

Function: xmlValidateOneNamespace

int	xmlValidateOneNamespace		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * prefix,
xmlNsPtr ns,
const xmlChar * value)
+
ctxt:the validation context
doc:a document instance
elem:an element instance
Returns:1 if valid or 0 otherwise

Function: xmlValidateOneNamespace

int	xmlValidateOneNamespace		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * prefix,
xmlNsPtr ns,
const xmlChar * value)

Try to validate a single namespace declaration for an element basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Value Type ] - [ VC: Fixed Attribute Default ] - [ VC: Entity Name ] - [ VC: Name Token ] - [ VC: ID ] - [ VC: IDREF ] - [ VC: Entity Name ] - [ VC: Notation Attributes ] The ID/IDREF uniqueness and matching are done separately

-
ctxt:the validation context
doc:a document instance
elem:an element instance
prefix:the namespace prefix
ns:an namespace declaration instance
value:the attribute value (without entities processing)
Returns:1 if valid or 0 otherwise

Function: xmlValidatePopElement

int	xmlValidatePopElement		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * qname)
+
ctxt:the validation context
doc:a document instance
elem:an element instance
prefix:the namespace prefix
ns:an namespace declaration instance
value:the attribute value (without entities processing)
Returns:1 if valid or 0 otherwise

Function: xmlValidatePopElement

int	xmlValidatePopElement		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * qname)

Pop the element end from the validation stack.

-
ctxt:the validation context
doc:a document instance
elem:an element instance
qname:the qualified name as appearing in the serialization
Returns:1 if no validation problem was found or 0 otherwise

Function: xmlValidatePushCData

int	xmlValidatePushCData		(xmlValidCtxtPtr ctxt, 
const xmlChar * data,
int len)
+
ctxt:the validation context
doc:a document instance
elem:an element instance
qname:the qualified name as appearing in the serialization
Returns:1 if no validation problem was found or 0 otherwise

Function: xmlValidatePushCData

int	xmlValidatePushCData		(xmlValidCtxtPtr ctxt, 
const xmlChar * data,
int len)

check the CData parsed for validation in the current stack

-
ctxt:the validation context
data:some character data read
len:the lenght of the data
Returns:1 if no validation problem was found or 0 otherwise

Function: xmlValidatePushElement

int	xmlValidatePushElement		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * qname)
+
ctxt:the validation context
data:some character data read
len:the lenght of the data
Returns:1 if no validation problem was found or 0 otherwise

Function: xmlValidatePushElement

int	xmlValidatePushElement		(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * qname)

Push a new element start on the validation stack.

ctxt:the validation context
doc:a document instance
elem:an element instance
qname:the qualified name as appearing in the serialization
Returns:1 if no validation problem was found or 0 otherwise

Function: xmlValidateRoot

int	xmlValidateRoot			(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc)

Try to validate a the root element basically it does the following check as described by the XML-1.0 recommendation: - [ VC: Root Element Type ] it doesn't try to recurse or apply other check to the element

diff --git a/doc/html/libxml-xinclude.html b/doc/html/libxml-xinclude.html index 4690e6ec..2ece0249 100644 --- a/doc/html/libxml-xinclude.html +++ b/doc/html/libxml-xinclude.html @@ -22,16 +22,16 @@ The content of this structure is not made public by the API.
int	xmlXIncludeProcessTreeFlags	(xmlNodePtr tree, 
int flags)
int	xmlXIncludeSetFlags		(xmlXIncludeCtxtPtr ctxt, 
int flags)

Description

-

Macro: XINCLUDE_FALLBACK

#define XINCLUDE_FALLBACK

Macro defining "fallback"

-

Macro: XINCLUDE_HREF

#define XINCLUDE_HREF

Macro defining "href"

-

Macro: XINCLUDE_NODE

#define XINCLUDE_NODE

Macro defining "include"

+

Macro: XINCLUDE_FALLBACK

#define XINCLUDE_FALLBACK

Macro defining "fallback"

+

Macro: XINCLUDE_HREF

#define XINCLUDE_HREF

Macro defining "href"

+

Macro: XINCLUDE_NODE

#define XINCLUDE_NODE

Macro defining "include"

Macro: XINCLUDE_NS

#define XINCLUDE_NS

Macro defining the Xinclude namespace: http://www.w3.org/2003/XInclude

Macro: XINCLUDE_OLD_NS

#define XINCLUDE_OLD_NS

Macro defining the draft Xinclude namespace: http://www.w3.org/2001/XInclude

-

Macro: XINCLUDE_PARSE

#define XINCLUDE_PARSE

Macro defining "parse"

-

Macro: XINCLUDE_PARSE_ENCODING

#define XINCLUDE_PARSE_ENCODING

Macro defining "encoding"

-

Macro: XINCLUDE_PARSE_TEXT

#define XINCLUDE_PARSE_TEXT

Macro defining "text"

-

Macro: XINCLUDE_PARSE_XML

#define XINCLUDE_PARSE_XML

Macro defining "xml"

-

Macro: XINCLUDE_PARSE_XPOINTER

#define XINCLUDE_PARSE_XPOINTER

Macro defining "xpointer"

+

Macro: XINCLUDE_PARSE

#define XINCLUDE_PARSE

Macro defining "parse"

+

Macro: XINCLUDE_PARSE_ENCODING

#define XINCLUDE_PARSE_ENCODING

Macro defining "encoding"

+

Macro: XINCLUDE_PARSE_TEXT

#define XINCLUDE_PARSE_TEXT

Macro defining "text"

+

Macro: XINCLUDE_PARSE_XML

#define XINCLUDE_PARSE_XML

Macro defining "xml"

+

Macro: XINCLUDE_PARSE_XPOINTER

#define XINCLUDE_PARSE_XPOINTER

Macro defining "xpointer"

Structure xmlXIncludeCtxt

Structure xmlXIncludeCtxt
struct _xmlXIncludeCtxt { The content of this structure is not made public by the API. }

Function: xmlXIncludeFreeContext

void	xmlXIncludeFreeContext		(xmlXIncludeCtxtPtr ctxt)
diff --git a/doc/html/libxml-xlink.html b/doc/html/libxml-xlink.html index 822c0157..52fb2344 100644 --- a/doc/html/libxml-xlink.html +++ b/doc/html/libxml-xlink.html @@ -11,18 +11,18 @@ A:link, A:visited, A:active { text-decoration: underline } div.deprecated pre.programlisting {border-style: double;border-color:red} pre.programlisting {border-style: double;background: #EECFA1} Module xlink from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xlink from libxml2

API Menu
API Indexes
Related links

unfinished XLink detection module

Table of Contents

Enum xlinkActuate
-
Typedef xmlChar * xlinkHRef
+
Typedef xmlChar * xlinkHRef
 
Structure xlinkHandler
struct _xlinkHandler
Typedef xlinkHandler * xlinkHandlerPtr
-
Typedef xmlChar * xlinkRole
+
Typedef xmlChar * xlinkRole
 
Enum xlinkShow
-
Typedef xmlChar * xlinkTitle
+
Typedef xmlChar * xlinkTitle
 
Enum xlinkType
 
Function type: xlinkExtendedLinkFunk
-void	xlinkExtendedLinkFunk		(void * ctx, 
xmlNodePtr node,
int nbLocators,
const xlinkHRef * hrefs,
const xlinkRole * roles,
int nbArcs,
const xlinkRole * from,
const xlinkRole * to,
xlinkShow * show,
xlinkActuate * actuate,
int nbTitles,
const xlinkTitle * titles,
const xmlChar ** langs) +void xlinkExtendedLinkFunk (void * ctx,
xmlNodePtr node,
int nbLocators,
const xlinkHRef * hrefs,
const xlinkRole * roles,
int nbArcs,
const xlinkRole * from,
const xlinkRole * to,
xlinkShow * show,
xlinkActuate * actuate,
int nbTitles,
const xlinkTitle * titles,
const xmlChar ** langs)
Function type: xlinkExtendedLinkSetFunk
-void	xlinkExtendedLinkSetFunk	(void * ctx, 
xmlNodePtr node,
int nbLocators,
const xlinkHRef * hrefs,
const xlinkRole * roles,
int nbTitles,
const xlinkTitle * titles,
const xmlChar ** langs) +void xlinkExtendedLinkSetFunk (void * ctx,
xmlNodePtr node,
int nbLocators,
const xlinkHRef * hrefs,
const xlinkRole * roles,
int nbTitles,
const xlinkTitle * titles,
const xmlChar ** langs)
xlinkNodeDetectFunc	xlinkGetDefaultDetect	(void)
xlinkHandlerPtr	xlinkGetDefaultHandler	(void)
@@ -58,10 +58,10 @@ void xlinkSimpleLinkFunk (void * ctx,
XLINK_TYPE_EXTENDED_SET = 3 }

Function type: xlinkExtendedLinkFunk

Function type: xlinkExtendedLinkFunk
-void	xlinkExtendedLinkFunk		(void * ctx, 
xmlNodePtr node,
int nbLocators,
const xlinkHRef * hrefs,
const xlinkRole * roles,
int nbArcs,
const xlinkRole * from,
const xlinkRole * to,
xlinkShow * show,
xlinkActuate * actuate,
int nbTitles,
const xlinkTitle * titles,
const xmlChar ** langs) +void xlinkExtendedLinkFunk (void * ctx,
xmlNodePtr node,
int nbLocators,
const xlinkHRef * hrefs,
const xlinkRole * roles,
int nbArcs,
const xlinkRole * from,
const xlinkRole * to,
xlinkShow * show,
xlinkActuate * actuate,
int nbTitles,
const xlinkTitle * titles,
const xmlChar ** langs)

This is the prototype for a extended link detection callback.

ctx:user data pointer
node:the node carrying the link
nbLocators:the number of locators detected on the link
hrefs:pointer to the array of locator hrefs
roles:pointer to the array of locator roles
nbArcs:the number of arcs detected on the link
from:pointer to the array of source roles found on the arcs
to:pointer to the array of target roles found on the arcs
show:array of values for the show attributes found on the arcs
actuate:array of values for the actuate attributes found on the arcs
nbTitles:the number of titles detected on the link
titles:
langs:array of xml:lang values for the titles

Function type: xlinkExtendedLinkSetFunk

Function type: xlinkExtendedLinkSetFunk
-void	xlinkExtendedLinkSetFunk	(void * ctx, 
xmlNodePtr node,
int nbLocators,
const xlinkHRef * hrefs,
const xlinkRole * roles,
int nbTitles,
const xlinkTitle * titles,
const xmlChar ** langs) +void xlinkExtendedLinkSetFunk (void * ctx,
xmlNodePtr node,
int nbLocators,
const xlinkHRef * hrefs,
const xlinkRole * roles,
int nbTitles,
const xlinkTitle * titles,
const xmlChar ** langs)

This is the prototype for a extended link set detection callback.

ctx:user data pointer
node:the node carrying the link
nbLocators:the number of locators detected on the link
hrefs:pointer to the array of locator hrefs
roles:pointer to the array of locator roles
nbTitles:the number of titles detected on the link
titles:
langs:array of xml:lang values for the titles

Function: xlinkGetDefaultDetect

xlinkNodeDetectFunc	xlinkGetDefaultDetect	(void)

Get the default xlink detection routine

diff --git a/doc/html/libxml-xmlIO.html b/doc/html/libxml-xmlIO.html index db05e7c7..d7d48eba 100644 --- a/doc/html/libxml-xmlIO.html +++ b/doc/html/libxml-xmlIO.html @@ -43,7 +43,7 @@ void * xmlInputOpenCallback (char const * f int xmlInputReadCallback (void * context,
char * buffer,
int len)
xmlParserInputPtr	xmlNoNetExternalEntityLoader	(const char * URL, 
const char * ID,
xmlParserCtxtPtr ctxt)
-
xmlChar *	xmlNormalizeWindowsPath	(const xmlChar * path)
+
xmlChar *	xmlNormalizeWindowsPath	(const xmlChar * path)
int	xmlOutputBufferClose		(xmlOutputBufferPtr out)
xmlOutputBufferPtr	xmlOutputBufferCreateFd	(int fd, 
xmlCharEncodingHandlerPtr encoder)
xmlOutputBufferPtr	xmlOutputBufferCreateFile	(FILE * file, 
xmlCharEncodingHandlerPtr encoder)
@@ -134,7 +134,7 @@ int xmlInputReadCallback (void * context,
char * buffer,

Callback used in the I/O Input API to read the resource

context:an Input context
buffer:the buffer to store data read
len:the length of the buffer in bytes
Returns:the number of bytes read or -1 in case of error

Function: xmlNoNetExternalEntityLoader

xmlParserInputPtr	xmlNoNetExternalEntityLoader	(const char * URL, 
const char * ID,
xmlParserCtxtPtr ctxt)

A specific entity loader disabling network accesses, though still allowing local catalog accesses for resolution.

-
URL:the URL for the entity to load
ID:the System ID for the entity to load
ctxt:the context in which the entity is called or NULL
Returns:a new allocated xmlParserInputPtr, or NULL.

Function: xmlNormalizeWindowsPath

xmlChar *	xmlNormalizeWindowsPath	(const xmlChar * path)
+
URL:the URL for the entity to load
ID:the System ID for the entity to load
ctxt:the context in which the entity is called or NULL
Returns:a new allocated xmlParserInputPtr, or NULL.

Function: xmlNormalizeWindowsPath

xmlChar *	xmlNormalizeWindowsPath	(const xmlChar * path)

This function is obsolete. Please see xmlURIFromPath in uri.c for a better solution.

path:the input file path
Returns:a canonicalized version of the path

Function: xmlOutputBufferClose

int	xmlOutputBufferClose		(xmlOutputBufferPtr out)

flushes and close the output I/O channel and free up all the associated resources

@@ -143,7 +143,7 @@ int xmlInputReadCallback (void * context,
char * buffer,
fd:a file descriptor number
encoder:the encoding converter or NULL
Returns:the new parser output or NULL

Function: xmlOutputBufferCreateFile

xmlOutputBufferPtr	xmlOutputBufferCreateFile	(FILE * file, 
xmlCharEncodingHandlerPtr encoder)

Create a buffered output for the progressive saving to a FILE * buffered C I/O

file:a FILE*
encoder:the encoding converter or NULL
Returns:the new parser output or NULL

Function: xmlOutputBufferCreateFilename

xmlOutputBufferPtr	xmlOutputBufferCreateFilename	(const char * URI, 
xmlCharEncodingHandlerPtr encoder,
int compression)
-

Create a buffered output for the progressive saving of a file If filename is "-' then we use stdout as the output. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. TODO: currently if compression is set, the library only support writing to a local file.

+

Create a buffered output for the progressive saving of a file If filename is "-' then we use stdout as the output. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. TODO: currently if compression is set, the library only support writing to a local file.

URI:a C string containing the URI or filename
encoder:the encoding converter or NULL
compression:the compression ration (0 none, 9 max).
Returns:the new output or NULL

Function: xmlOutputBufferCreateIO

xmlOutputBufferPtr	xmlOutputBufferCreateIO	(xmlOutputWriteCallback iowrite, 
xmlOutputCloseCallback ioclose,
void * ioctx,
xmlCharEncodingHandlerPtr encoder)

Create a buffered output for the progressive saving to an I/O handler

iowrite:an I/O write function
ioclose:an I/O close function
ioctx:an I/O handler
encoder:the charset encoding if known
Returns:the new parser output or NULL

Function: xmlOutputBufferFlush

int	xmlOutputBufferFlush		(xmlOutputBufferPtr out)
@@ -171,7 +171,7 @@ int xmlOutputWriteCallback (void * context,
const char * buffer,
fd:a file descriptor number
enc:the charset encoding if known
Returns:the new parser input or NULL

Function: xmlParserInputBufferCreateFile

xmlParserInputBufferPtr	xmlParserInputBufferCreateFile	(FILE * file, 
xmlCharEncoding enc)

Create a buffered parser input for the progressive parsing of a FILE * buffered C I/O

file:a FILE*
enc:the charset encoding if known
Returns:the new parser input or NULL

Function: xmlParserInputBufferCreateFilename

xmlParserInputBufferPtr	xmlParserInputBufferCreateFilename	(const char * URI, 
xmlCharEncoding enc)
-

Create a buffered parser input for the progressive parsing of a file If filename is "-' then we use stdin as the input. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. Do an encoding check if enc == XML_CHAR_ENCODING_NONE

+

Create a buffered parser input for the progressive parsing of a file If filename is "-' then we use stdin as the input. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. Do an encoding check if enc == XML_CHAR_ENCODING_NONE

URI:a C string containing the URI or filename
enc:the charset encoding if known
Returns:the new parser input or NULL

Function: xmlParserInputBufferCreateIO

xmlParserInputBufferPtr	xmlParserInputBufferCreateIO	(xmlInputReadCallback ioread, 
xmlInputCloseCallback ioclose,
void * ioctx,
xmlCharEncoding enc)

Create a buffered parser input for the progressive parsing for the input from an I/O handler

ioread:an I/O read function
ioclose:an I/O close function
ioctx:an I/O handler
enc:the charset encoding if known
Returns:the new parser input or NULL

Function: xmlParserInputBufferCreateMem

xmlParserInputBufferPtr	xmlParserInputBufferCreateMem	(const char * mem, 
int size,
xmlCharEncoding enc)
@@ -189,7 +189,7 @@ int xmlOutputWriteCallback (void * context,
const char * buffer, Function: xmlRegisterDefaultOutputCallbacks
void	xmlRegisterDefaultOutputCallbacks	(void)

Registers the default compiled-in I/O handlers.

Function: xmlRegisterHTTPPostCallbacks

void	xmlRegisterHTTPPostCallbacks	(void)
-

By default, libxml submits HTTP output requests using the "PUT" method. Calling this method changes the HTTP output method to use the "POST" method instead.

+

By default, libxml submits HTTP output requests using the "PUT" method. Calling this method changes the HTTP output method to use the "POST" method instead.

Function: xmlRegisterInputCallbacks

int	xmlRegisterInputCallbacks	(xmlInputMatchCallback matchFunc, 
xmlInputOpenCallback openFunc,
xmlInputReadCallback readFunc,
xmlInputCloseCallback closeFunc)

Register a new set of I/O callback for handling parser input.

matchFunc:the xmlInputMatchCallback
openFunc:the xmlInputOpenCallback
readFunc:the xmlInputReadCallback
closeFunc:the xmlInputCloseCallback
Returns:the registered handler number or -1 in case of error

Function: xmlRegisterOutputCallbacks

int	xmlRegisterOutputCallbacks	(xmlOutputMatchCallback matchFunc, 
xmlOutputOpenCallback openFunc,
xmlOutputWriteCallback writeFunc,
xmlOutputCloseCallback closeFunc)
diff --git a/doc/html/libxml-xmlautomata.html b/doc/html/libxml-xmlautomata.html index 12599764..05213769 100644 --- a/doc/html/libxml-xmlautomata.html +++ b/doc/html/libxml-xmlautomata.html @@ -20,15 +20,15 @@ The content of this structure is not made public by the API.
xmlAutomataStatePtr	xmlAutomataGetInitState	(xmlAutomataPtr am)
int	xmlAutomataIsDeterminist	(xmlAutomataPtr am)
xmlAutomataStatePtr	xmlAutomataNewAllTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
int lax)
-
xmlAutomataStatePtr	xmlAutomataNewCountTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
int min,
int max,
void * data)
+
xmlAutomataStatePtr	xmlAutomataNewCountTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
int min,
int max,
void * data)
xmlAutomataStatePtr	xmlAutomataNewCountedTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
int counter)
int	xmlAutomataNewCounter		(xmlAutomataPtr am, 
int min,
int max)
xmlAutomataStatePtr	xmlAutomataNewCounterTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
int counter)
xmlAutomataStatePtr	xmlAutomataNewEpsilon	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to)
-
xmlAutomataStatePtr	xmlAutomataNewOnceTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
int min,
int max,
void * data)
+
xmlAutomataStatePtr	xmlAutomataNewOnceTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
int min,
int max,
void * data)
xmlAutomataStatePtr	xmlAutomataNewState	(xmlAutomataPtr am)
-
xmlAutomataStatePtr	xmlAutomataNewTransition	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
void * data)
-
xmlAutomataStatePtr	xmlAutomataNewTransition2	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
const xmlChar * token2,
void * data)
+
xmlAutomataStatePtr	xmlAutomataNewTransition	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
void * data)
+
xmlAutomataStatePtr	xmlAutomataNewTransition2	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
const xmlChar * token2,
void * data)
int	xmlAutomataSetFinalState	(xmlAutomataPtr am, 
xmlAutomataStatePtr state)
void	xmlFreeAutomata			(xmlAutomataPtr am)
xmlAutomataPtr	xmlNewAutomata		(void)
@@ -45,7 +45,7 @@ The content of this structure is not made public by the API.

Checks if an automata is determinist.

am:an automata
Returns:1 if true, 0 if not, and -1 in case of error

Function: xmlAutomataNewAllTrans

xmlAutomataStatePtr	xmlAutomataNewAllTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
int lax)

If @to is NULL, this create first a new target state in the automata and then adds a an ALL transition from the @from state to the target state. That transition is an epsilon transition allowed only when all transitions from the @from node have been activated.

-
am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
lax:allow to transition if not all all transitions have been activated
Returns:the target state or NULL in case of error

Function: xmlAutomataNewCountTrans

xmlAutomataStatePtr	xmlAutomataNewCountTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
int min,
int max,
void * data)
+
am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
lax:allow to transition if not all all transitions have been activated
Returns:the target state or NULL in case of error

Function: xmlAutomataNewCountTrans

xmlAutomataStatePtr	xmlAutomataNewCountTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
int min,
int max,
void * data)

If @to is NULL, this create first a new target state in the automata and then adds a transition from the @from state to the target state activated by a succession of input of value @token and whose number is between @min and @max

am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
token:the input string associated to that transition
min:the minimum successive occurences of token
max:the maximum successive occurences of token
data:data associated to the transition
Returns:the target state or NULL in case of error

Function: xmlAutomataNewCountedTrans

xmlAutomataStatePtr	xmlAutomataNewCountedTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
int counter)

If @to is NULL, this create first a new target state in the automata and then adds an epsilon transition from the @from state to the target state which will increment the counter provided

@@ -55,13 +55,13 @@ The content of this structure is not made public by the API.

If @to is NULL, this create first a new target state in the automata and then adds an epsilon transition from the @from state to the target state which will be allowed only if the counter is within the right range.

am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
counter:the counter associated to that transition
Returns:the target state or NULL in case of error

Function: xmlAutomataNewEpsilon

xmlAutomataStatePtr	xmlAutomataNewEpsilon	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to)

If @to is NULL, this create first a new target state in the automata and then adds a an epsilon transition from the @from state to the target state

-
am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
Returns:the target state or NULL in case of error

Function: xmlAutomataNewOnceTrans

xmlAutomataStatePtr	xmlAutomataNewOnceTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
int min,
int max,
void * data)
+
am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
Returns:the target state or NULL in case of error

Function: xmlAutomataNewOnceTrans

xmlAutomataStatePtr	xmlAutomataNewOnceTrans	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
int min,
int max,
void * data)

If @to is NULL, this create first a new target state in the automata and then adds a transition from the @from state to the target state activated by a succession of input of value @token and whose number is between @min and @max, moreover that transistion can only be crossed once.

am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
token:the input string associated to that transition
min:the minimum successive occurences of token
max:the maximum successive occurences of token
data:data associated to the transition
Returns:the target state or NULL in case of error

Function: xmlAutomataNewState

xmlAutomataStatePtr	xmlAutomataNewState	(xmlAutomataPtr am)

Create a new disconnected state in the automata

-
am:an automata
Returns:the new state or NULL in case of error

Function: xmlAutomataNewTransition

xmlAutomataStatePtr	xmlAutomataNewTransition	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
void * data)
+
am:an automata
Returns:the new state or NULL in case of error

Function: xmlAutomataNewTransition

xmlAutomataStatePtr	xmlAutomataNewTransition	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
void * data)

If @to is NULL, this create first a new target state in the automata and then adds a transition from the @from state to the target state activated by the value of @token

-
am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
token:the input string associated to that transition
data:data passed to the callback function if the transition is activated
Returns:the target state or NULL in case of error

Function: xmlAutomataNewTransition2

xmlAutomataStatePtr	xmlAutomataNewTransition2	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
const xmlChar * token2,
void * data)
+
am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
token:the input string associated to that transition
data:data passed to the callback function if the transition is activated
Returns:the target state or NULL in case of error

Function: xmlAutomataNewTransition2

xmlAutomataStatePtr	xmlAutomataNewTransition2	(xmlAutomataPtr am, 
xmlAutomataStatePtr from,
xmlAutomataStatePtr to,
const xmlChar * token,
const xmlChar * token2,
void * data)

If @to is NULL, this create first a new target state in the automata and then adds a transition from the @from state to the target state activated by the value of @token

am:an automata
from:the starting point of the transition
to:the target point of the transition or NULL
token:the first input string associated to that transition
token2:the second input string associated to that transition
data:data passed to the callback function if the transition is activated
Returns:the target state or NULL in case of error

Function: xmlAutomataSetFinalState

int	xmlAutomataSetFinalState	(xmlAutomataPtr am, 
xmlAutomataStatePtr state)

Makes that state a final state

diff --git a/doc/html/libxml-xmlmemory.html b/doc/html/libxml-xmlmemory.html index 22f0956e..8beea769 100644 --- a/doc/html/libxml-xmlmemory.html +++ b/doc/html/libxml-xmlmemory.html @@ -71,14 +71,14 @@ void * xmlMallocFunc (size_t size)
size:an int specifying the size in byte to allocate.
file:the file name or NULL
line:the line number
Returns:a pointer to the allocated area or NULL in case of lack of memory.

Function: xmlMemDisplay

void	xmlMemDisplay			(FILE * fp)

show in-extenso the memory blocks allocated

fp:a FILE descriptor used as the output file, if NULL, the result is written to the file .memorylist

Function: xmlMemFree

void	xmlMemFree			(void * ptr)
-

a free() equivalent, with error checking.

-
ptr:the memory block pointer

Function: xmlMemGet

int	xmlMemGet			(xmlFreeFunc * freeFunc, 
xmlMallocFunc * mallocFunc,
xmlReallocFunc * reallocFunc,
xmlStrdupFunc * strdupFunc)
+

+
ptr:

Function: xmlMemGet

int	xmlMemGet			(xmlFreeFunc * freeFunc, 
xmlMallocFunc * mallocFunc,
xmlReallocFunc * reallocFunc,
xmlStrdupFunc * strdupFunc)

Provides the memory access functions set currently in use

freeFunc:place to save the free() function in use
mallocFunc:place to save the malloc() function in use
reallocFunc:place to save the realloc() function in use
strdupFunc:place to save the strdup() function in use
Returns:0 on success

Function: xmlMemMalloc

void *	xmlMemMalloc			(size_t size)
-

a malloc() equivalent, with logging of the allocation info.

-
size:an int specifying the size in byte to allocate.
Returns:a pointer to the allocated area or NULL in case of lack of memory.

Function: xmlMemRealloc

void *	xmlMemRealloc			(void * ptr, 
size_t size)
-

a realloc() equivalent, with logging of the allocation info.

-
ptr:the initial memory block pointer
size:an int specifying the size in byte to allocate.
Returns:a pointer to the allocated area or NULL in case of lack of memory.

Function: xmlMemSetup

int	xmlMemSetup			(xmlFreeFunc freeFunc, 
xmlMallocFunc mallocFunc,
xmlReallocFunc reallocFunc,
xmlStrdupFunc strdupFunc)
+

+
size:
Returns:

Function: xmlMemRealloc

void *	xmlMemRealloc			(void * ptr, 
size_t size)
+

+
ptr:
size:
Returns:

Function: xmlMemSetup

int	xmlMemSetup			(xmlFreeFunc freeFunc, 
xmlMallocFunc mallocFunc,
xmlReallocFunc reallocFunc,
xmlStrdupFunc strdupFunc)

Override the default memory access functions with a new set This has to be called before any other libxml routines ! Should this be blocked if there was already some allocations done ?

freeFunc:the free() function to use
mallocFunc:the malloc() function to use
reallocFunc:the realloc() function to use
strdupFunc:the strdup() function to use
Returns:0 on success

Function: xmlMemShow

void	xmlMemShow			(FILE * fp, 
int nr)

show a show display of the memory allocated, and dump the @nr last allocated areas which were not freed

@@ -89,8 +89,8 @@ void * xmlMallocFunc (size_t size)
Returns:an int representing the amount of memory allocated.

Function: xmlMemoryDump

void	xmlMemoryDump			(void)

Dump in-extenso the memory blocks allocated to the file .memorylist

Function: xmlMemoryStrdup

char *	xmlMemoryStrdup			(const char * str)
-

a strdup() equivalent, with logging of the allocation info.

-
str:the initial string pointer
Returns:a pointer to the new string or NULL if allocation error occurred.

Function type: xmlReallocFunc

Function type: xmlReallocFunc
+

+
str:
Returns:

Function type: xmlReallocFunc

Function type: xmlReallocFunc
 void *	xmlReallocFunc			(void * mem, 
size_t size)

Signature for a realloc() implementation.

mem:an already allocated block of memory
size:the new size requested in bytes
Returns:a pointer to the newly reallocated block or NULL in case of error.

Function: xmlReallocLoc

void *	xmlReallocLoc			(void * ptr, 
size_t size,
const char * file,
int line)
diff --git a/doc/html/libxml-xmlreader.html b/doc/html/libxml-xmlreader.html index d60ca80e..e6395e34 100644 --- a/doc/html/libxml-xmlreader.html +++ b/doc/html/libxml-xmlreader.html @@ -20,12 +20,12 @@ The content of this structure is not made public by the API.
void	xmlFreeTextReader		(xmlTextReaderPtr reader)
xmlTextReaderPtr	xmlNewTextReader	(xmlParserInputBufferPtr input, 
const char * URI)
xmlTextReaderPtr	xmlNewTextReaderFilename	(const char * URI)
-
xmlTextReaderPtr	xmlReaderForDoc	(const xmlChar * cur, 
const char * URL,
const char * encoding,
int options)
+
xmlTextReaderPtr	xmlReaderForDoc	(const xmlChar * cur, 
const char * URL,
const char * encoding,
int options)
xmlTextReaderPtr	xmlReaderForFd	(int fd, 
const char * URL,
const char * encoding,
int options)
xmlTextReaderPtr	xmlReaderForFile	(const char * filename, 
const char * encoding,
int options)
xmlTextReaderPtr	xmlReaderForIO	(xmlInputReadCallback ioread, 
xmlInputCloseCallback ioclose,
void * ioctx,
const char * URL,
const char * encoding,
int options)
xmlTextReaderPtr	xmlReaderForMemory	(const char * buffer, 
int size,
const char * URL,
const char * encoding,
int options)
-
int	xmlReaderNewDoc			(xmlTextReaderPtr reader, 
const xmlChar * cur,
const char * URL,
const char * encoding,
int options)
+
int	xmlReaderNewDoc			(xmlTextReaderPtr reader, 
const xmlChar * cur,
const char * URL,
const char * encoding,
int options)
int	xmlReaderNewFd			(xmlTextReaderPtr reader, 
int fd,
const char * URL,
const char * encoding,
int options)
int	xmlReaderNewFile		(xmlTextReaderPtr reader, 
const char * filename,
const char * encoding,
int options)
int	xmlReaderNewIO			(xmlTextReaderPtr reader, 
xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void * ioctx,
const char * URL,
const char * encoding,
int options)
@@ -33,16 +33,16 @@ The content of this structure is not made public by the API.
int	xmlReaderNewWalker		(xmlTextReaderPtr reader, 
xmlDocPtr doc)
xmlTextReaderPtr	xmlReaderWalker	(xmlDocPtr doc)
int	xmlTextReaderAttributeCount	(xmlTextReaderPtr reader)
-
xmlChar *	xmlTextReaderBaseUri	(xmlTextReaderPtr reader)
+
xmlChar *	xmlTextReaderBaseUri	(xmlTextReaderPtr reader)
int	xmlTextReaderClose		(xmlTextReaderPtr reader)
-
const xmlChar *	xmlTextReaderConstBaseUri	(xmlTextReaderPtr reader)
-
const xmlChar *	xmlTextReaderConstLocalName	(xmlTextReaderPtr reader)
-
const xmlChar *	xmlTextReaderConstName	(xmlTextReaderPtr reader)
-
const xmlChar *	xmlTextReaderConstNamespaceUri	(xmlTextReaderPtr reader)
-
const xmlChar *	xmlTextReaderConstPrefix	(xmlTextReaderPtr reader)
-
const xmlChar *	xmlTextReaderConstString	(xmlTextReaderPtr reader, 
const xmlChar * str)
-
const xmlChar *	xmlTextReaderConstValue	(xmlTextReaderPtr reader)
-
const xmlChar *	xmlTextReaderConstXmlLang	(xmlTextReaderPtr reader)
+
const xmlChar *	xmlTextReaderConstBaseUri	(xmlTextReaderPtr reader)
+
const xmlChar *	xmlTextReaderConstLocalName	(xmlTextReaderPtr reader)
+
const xmlChar *	xmlTextReaderConstName	(xmlTextReaderPtr reader)
+
const xmlChar *	xmlTextReaderConstNamespaceUri	(xmlTextReaderPtr reader)
+
const xmlChar *	xmlTextReaderConstPrefix	(xmlTextReaderPtr reader)
+
const xmlChar *	xmlTextReaderConstString	(xmlTextReaderPtr reader, 
const xmlChar * str)
+
const xmlChar *	xmlTextReaderConstValue	(xmlTextReaderPtr reader)
+
const xmlChar *	xmlTextReaderConstXmlLang	(xmlTextReaderPtr reader)
xmlDocPtr	xmlTextReaderCurrentDoc	(xmlTextReaderPtr reader)
xmlNodePtr	xmlTextReaderCurrentNode	(xmlTextReaderPtr reader)
int	xmlTextReaderDepth		(xmlTextReaderPtr reader)
@@ -50,9 +50,9 @@ The content of this structure is not made public by the API. void xmlTextReaderErrorFunc (void * arg,
const char * msg,
xmlParserSeverities severity,
xmlTextReaderLocatorPtr locator)
xmlNodePtr	xmlTextReaderExpand	(xmlTextReaderPtr reader)
-
xmlChar *	xmlTextReaderGetAttribute	(xmlTextReaderPtr reader, 
const xmlChar * name)
-
xmlChar *	xmlTextReaderGetAttributeNo	(xmlTextReaderPtr reader, 
int no)
-
xmlChar *	xmlTextReaderGetAttributeNs	(xmlTextReaderPtr reader, 
const xmlChar * localName,
const xmlChar * namespaceURI)
+
xmlChar *	xmlTextReaderGetAttribute	(xmlTextReaderPtr reader, 
const xmlChar * name)
+
xmlChar *	xmlTextReaderGetAttributeNo	(xmlTextReaderPtr reader, 
int no)
+
xmlChar *	xmlTextReaderGetAttributeNs	(xmlTextReaderPtr reader, 
const xmlChar * localName,
const xmlChar * namespaceURI)
void	xmlTextReaderGetErrorHandler	(xmlTextReaderPtr reader, 
xmlTextReaderErrorFunc * f,
void ** arg)
int	xmlTextReaderGetParserProp	(xmlTextReaderPtr reader, 
int prop)
xmlParserInputBufferPtr	xmlTextReaderGetRemainder	(xmlTextReaderPtr reader)
@@ -61,38 +61,38 @@ void xmlTextReaderErrorFunc (void * arg,
int	xmlTextReaderIsDefault		(xmlTextReaderPtr reader)
int	xmlTextReaderIsEmptyElement	(xmlTextReaderPtr reader)
int	xmlTextReaderIsValid		(xmlTextReaderPtr reader)
-
xmlChar *	xmlTextReaderLocalName	(xmlTextReaderPtr reader)
-
xmlChar *	xmlTextReaderLocatorBaseURI	(xmlTextReaderLocatorPtr locator)
+
xmlChar *	xmlTextReaderLocalName	(xmlTextReaderPtr reader)
+
xmlChar *	xmlTextReaderLocatorBaseURI	(xmlTextReaderLocatorPtr locator)
int	xmlTextReaderLocatorLineNumber	(xmlTextReaderLocatorPtr locator)
-
xmlChar *	xmlTextReaderLookupNamespace	(xmlTextReaderPtr reader, 
const xmlChar * prefix)
-
int	xmlTextReaderMoveToAttribute	(xmlTextReaderPtr reader, 
const xmlChar * name)
+
xmlChar *	xmlTextReaderLookupNamespace	(xmlTextReaderPtr reader, 
const xmlChar * prefix)
+
int	xmlTextReaderMoveToAttribute	(xmlTextReaderPtr reader, 
const xmlChar * name)
int	xmlTextReaderMoveToAttributeNo	(xmlTextReaderPtr reader, 
int no)
-
int	xmlTextReaderMoveToAttributeNs	(xmlTextReaderPtr reader, 
const xmlChar * localName,
const xmlChar * namespaceURI)
+
int	xmlTextReaderMoveToAttributeNs	(xmlTextReaderPtr reader, 
const xmlChar * localName,
const xmlChar * namespaceURI)
int	xmlTextReaderMoveToElement	(xmlTextReaderPtr reader)
int	xmlTextReaderMoveToFirstAttribute	(xmlTextReaderPtr reader)
int	xmlTextReaderMoveToNextAttribute	(xmlTextReaderPtr reader)
-
xmlChar *	xmlTextReaderName	(xmlTextReaderPtr reader)
-
xmlChar *	xmlTextReaderNamespaceUri	(xmlTextReaderPtr reader)
+
xmlChar *	xmlTextReaderName	(xmlTextReaderPtr reader)
+
xmlChar *	xmlTextReaderNamespaceUri	(xmlTextReaderPtr reader)
int	xmlTextReaderNext		(xmlTextReaderPtr reader)
int	xmlTextReaderNextSibling	(xmlTextReaderPtr reader)
int	xmlTextReaderNodeType		(xmlTextReaderPtr reader)
int	xmlTextReaderNormalization	(xmlTextReaderPtr reader)
-
xmlChar *	xmlTextReaderPrefix	(xmlTextReaderPtr reader)
+
xmlChar *	xmlTextReaderPrefix	(xmlTextReaderPtr reader)
xmlNodePtr	xmlTextReaderPreserve	(xmlTextReaderPtr reader)
-
int	xmlTextReaderPreservePattern	(xmlTextReaderPtr reader, 
const xmlChar * pattern,
const xmlChar ** namespaces)
+
int	xmlTextReaderPreservePattern	(xmlTextReaderPtr reader, 
const xmlChar * pattern,
const xmlChar ** namespaces)
int	xmlTextReaderQuoteChar		(xmlTextReaderPtr reader)
int	xmlTextReaderRead		(xmlTextReaderPtr reader)
int	xmlTextReaderReadAttributeValue	(xmlTextReaderPtr reader)
-
xmlChar *	xmlTextReaderReadInnerXml	(xmlTextReaderPtr reader)
-
xmlChar *	xmlTextReaderReadOuterXml	(xmlTextReaderPtr reader)
+
xmlChar *	xmlTextReaderReadInnerXml	(xmlTextReaderPtr reader)
+
xmlChar *	xmlTextReaderReadOuterXml	(xmlTextReaderPtr reader)
int	xmlTextReaderReadState		(xmlTextReaderPtr reader)
-
xmlChar *	xmlTextReaderReadString	(xmlTextReaderPtr reader)
+
xmlChar *	xmlTextReaderReadString	(xmlTextReaderPtr reader)
int	xmlTextReaderRelaxNGSetSchema	(xmlTextReaderPtr reader, 
xmlRelaxNGPtr schema)
int	xmlTextReaderRelaxNGValidate	(xmlTextReaderPtr reader, 
const char * rng)
void	xmlTextReaderSetErrorHandler	(xmlTextReaderPtr reader, 
xmlTextReaderErrorFunc f,
void * arg)
int	xmlTextReaderSetParserProp	(xmlTextReaderPtr reader, 
int prop,
int value)
-
xmlChar *	xmlTextReaderValue	(xmlTextReaderPtr reader)
-
xmlChar *	xmlTextReaderXmlLang	(xmlTextReaderPtr reader)
+
xmlChar *	xmlTextReaderValue	(xmlTextReaderPtr reader)
+
xmlChar *	xmlTextReaderXmlLang	(xmlTextReaderPtr reader)

Description

Enum xmlParserProperties

Enum xmlParserProperties {
     XML_PARSER_LOADDTD = 1
@@ -134,7 +134,7 @@ The content of this structure is not made public by the API.
 

Create an xmlTextReader structure fed with @input

input:the xmlParserInputBufferPtr used to read data
URI:the URI information for the source if available
Returns:the new xmlTextReaderPtr or NULL in case of error

Function: xmlNewTextReaderFilename

xmlTextReaderPtr	xmlNewTextReaderFilename	(const char * URI)

Create an xmlTextReader structure fed with the resource at @URI

-
URI:the URI of the resource to process
Returns:the new xmlTextReaderPtr or NULL in case of error

Function: xmlReaderForDoc

xmlTextReaderPtr	xmlReaderForDoc	(const xmlChar * cur, 
const char * URL,
const char * encoding,
int options)
+
URI:the URI of the resource to process
Returns:the new xmlTextReaderPtr or NULL in case of error

Function: xmlReaderForDoc

xmlTextReaderPtr	xmlReaderForDoc	(const xmlChar * cur, 
const char * URL,
const char * encoding,
int options)

Create an xmltextReader for an XML in-memory document. The parsing flags @options are a combination of xmlParserOption.

cur:a pointer to a zero terminated string
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption
Returns:the new reader or NULL in case of error.

Function: xmlReaderForFd

xmlTextReaderPtr	xmlReaderForFd	(int fd, 
const char * URL,
const char * encoding,
int options)

Create an xmltextReader for an XML from a file descriptor. The parsing flags @options are a combination of xmlParserOption. NOTE that the file descriptor will not be closed when the reader is closed or reset.

@@ -144,7 +144,7 @@ The content of this structure is not made public by the API.

Create an xmltextReader for an XML document from I/O functions and source. The parsing flags @options are a combination of xmlParserOption.

ioread:an I/O read function
ioclose:an I/O close function
ioctx:an I/O handler
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption
Returns:the new reader or NULL in case of error.

Function: xmlReaderForMemory

xmlTextReaderPtr	xmlReaderForMemory	(const char * buffer, 
int size,
const char * URL,
const char * encoding,
int options)

Create an xmltextReader for an XML in-memory document. The parsing flags @options are a combination of xmlParserOption.

-
buffer:a pointer to a char array
size:the size of the array
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption
Returns:the new reader or NULL in case of error.

Function: xmlReaderNewDoc

int	xmlReaderNewDoc			(xmlTextReaderPtr reader, 
const xmlChar * cur,
const char * URL,
const char * encoding,
int options)
+
buffer:a pointer to a char array
size:the size of the array
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption
Returns:the new reader or NULL in case of error.

Function: xmlReaderNewDoc

int	xmlReaderNewDoc			(xmlTextReaderPtr reader, 
const xmlChar * cur,
const char * URL,
const char * encoding,
int options)

Setup an xmltextReader to parse an XML in-memory document. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.

reader:an XML reader
cur:a pointer to a zero terminated string
URL:the base URL to use for the document
encoding:the document encoding, or NULL
options:a combination of xmlParserOption
Returns:0 in case of success and -1 in case of error

Function: xmlReaderNewFd

int	xmlReaderNewFd			(xmlTextReaderPtr reader, 
int fd,
const char * URL,
const char * encoding,
int options)

Setup an xmltextReader to parse an XML from a file descriptor. NOTE that the file descriptor will not be closed when the reader is closed or reset. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.

@@ -160,25 +160,25 @@ The content of this structure is not made public by the API.

Create an xmltextReader for a preparsed document.

doc:a preparsed document
Returns:the new reader or NULL in case of error.

Function: xmlTextReaderAttributeCount

int	xmlTextReaderAttributeCount	(xmlTextReaderPtr reader)

Provides the number of attributes of the current node

-
reader:the xmlTextReaderPtr used
Returns:0 i no attributes, -1 in case of error or the attribute count

Function: xmlTextReaderBaseUri

xmlChar *	xmlTextReaderBaseUri	(xmlTextReaderPtr reader)
+
reader:the xmlTextReaderPtr used
Returns:0 i no attributes, -1 in case of error or the attribute count

Function: xmlTextReaderBaseUri

xmlChar *	xmlTextReaderBaseUri	(xmlTextReaderPtr reader)

The base URI of the node.

reader:the xmlTextReaderPtr used
Returns:the base URI or NULL if not available

Function: xmlTextReaderClose

int	xmlTextReaderClose		(xmlTextReaderPtr reader)

This method releases any resources allocated by the current instance changes the state to Closed and close any underlying input.

-
reader:the xmlTextReaderPtr used
Returns:0 or -1 in case of error

Function: xmlTextReaderConstBaseUri

const xmlChar *	xmlTextReaderConstBaseUri	(xmlTextReaderPtr reader)
+
reader:the xmlTextReaderPtr used
Returns:0 or -1 in case of error

Function: xmlTextReaderConstBaseUri

const xmlChar *	xmlTextReaderConstBaseUri	(xmlTextReaderPtr reader)

The base URI of the node.

-
reader:the xmlTextReaderPtr used
Returns:the base URI or NULL if not available, the string will be deallocated with the reader

Function: xmlTextReaderConstLocalName

const xmlChar *	xmlTextReaderConstLocalName	(xmlTextReaderPtr reader)
+
reader:the xmlTextReaderPtr used
Returns:the base URI or NULL if not available, the string will be deallocated with the reader

Function: xmlTextReaderConstLocalName

const xmlChar *	xmlTextReaderConstLocalName	(xmlTextReaderPtr reader)

The local name of the node.

-
reader:the xmlTextReaderPtr used
Returns:the local name or NULL if not available, the string will be deallocated with the reader.

Function: xmlTextReaderConstName

const xmlChar *	xmlTextReaderConstName	(xmlTextReaderPtr reader)
+
reader:the xmlTextReaderPtr used
Returns:the local name or NULL if not available, the string will be deallocated with the reader.

Function: xmlTextReaderConstName

const xmlChar *	xmlTextReaderConstName	(xmlTextReaderPtr reader)

The qualified name of the node, equal to Prefix :LocalName.

-
reader:the xmlTextReaderPtr used
Returns:the local name or NULL if not available, the string is deallocated with the reader.

Function: xmlTextReaderConstNamespaceUri

const xmlChar *	xmlTextReaderConstNamespaceUri	(xmlTextReaderPtr reader)
+
reader:the xmlTextReaderPtr used
Returns:the local name or NULL if not available, the string is deallocated with the reader.

Function: xmlTextReaderConstNamespaceUri

const xmlChar *	xmlTextReaderConstNamespaceUri	(xmlTextReaderPtr reader)

The URI defining the namespace associated with the node.

-
reader:the xmlTextReaderPtr used
Returns:the namespace URI or NULL if not available, the string will be deallocated with the reader

Function: xmlTextReaderConstPrefix

const xmlChar *	xmlTextReaderConstPrefix	(xmlTextReaderPtr reader)
+
reader:the xmlTextReaderPtr used
Returns:the namespace URI or NULL if not available, the string will be deallocated with the reader

Function: xmlTextReaderConstPrefix

const xmlChar *	xmlTextReaderConstPrefix	(xmlTextReaderPtr reader)

A shorthand reference to the namespace associated with the node.

-
reader:the xmlTextReaderPtr used
Returns:the prefix or NULL if not available, the string is deallocated with the reader.

Function: xmlTextReaderConstString

const xmlChar *	xmlTextReaderConstString	(xmlTextReaderPtr reader, 
const xmlChar * str)
+
reader:the xmlTextReaderPtr used
Returns:the prefix or NULL if not available, the string is deallocated with the reader.

Function: xmlTextReaderConstString

const xmlChar *	xmlTextReaderConstString	(xmlTextReaderPtr reader, 
const xmlChar * str)

Get an interned string from the reader, allows for example to speedup string name comparisons

-
reader:the xmlTextReaderPtr used
str:the string to intern.
Returns:an interned copy of the string or NULL in case of error. The string will be deallocated with the reader.

Function: xmlTextReaderConstValue

const xmlChar *	xmlTextReaderConstValue	(xmlTextReaderPtr reader)
+
reader:the xmlTextReaderPtr used
str:the string to intern.
Returns:an interned copy of the string or NULL in case of error. The string will be deallocated with the reader.

Function: xmlTextReaderConstValue

const xmlChar *	xmlTextReaderConstValue	(xmlTextReaderPtr reader)

Provides the text value of the node if present

-
reader:the xmlTextReaderPtr used
Returns:the string or NULL if not available. The result will be deallocated on the next Read() operation.

Function: xmlTextReaderConstXmlLang

const xmlChar *	xmlTextReaderConstXmlLang	(xmlTextReaderPtr reader)
+
reader:the xmlTextReaderPtr used
Returns:the string or NULL if not available. The result will be deallocated on the next Read() operation.

Function: xmlTextReaderConstXmlLang

const xmlChar *	xmlTextReaderConstXmlLang	(xmlTextReaderPtr reader)

The xml:lang scope within which the node resides.

reader:the xmlTextReaderPtr used
Returns:the xml:lang value or NULL if none exists.

Function: xmlTextReaderCurrentDoc

xmlDocPtr	xmlTextReaderCurrentDoc	(xmlTextReaderPtr reader)

Hacking interface allowing to get the xmlDocPtr correponding to the current document being accessed by the xmlTextReader. NOTE: as a result of this call, the reader will not destroy the associated XML document and calling xmlFreeDoc() on the result is needed once the reader parsing has finished.

@@ -191,11 +191,11 @@ void xmlTextReaderErrorFunc (void * arg,
const char * msg,

arg:
msg:
severity:
locator:

Function: xmlTextReaderExpand

xmlNodePtr	xmlTextReaderExpand	(xmlTextReaderPtr reader)

Reads the contents of the current node and the full subtree. It then makes the subtree available until the next xmlTextReaderRead() call

-
reader:the xmlTextReaderPtr used
Returns:a node pointer valid until the next xmlTextReaderRead() call or NULL in case of error.

Function: xmlTextReaderGetAttribute

xmlChar *	xmlTextReaderGetAttribute	(xmlTextReaderPtr reader, 
const xmlChar * name)
+
reader:the xmlTextReaderPtr used
Returns:a node pointer valid until the next xmlTextReaderRead() call or NULL in case of error.

Function: xmlTextReaderGetAttribute

xmlChar *	xmlTextReaderGetAttribute	(xmlTextReaderPtr reader, 
const xmlChar * name)

Provides the value of the attribute with the specified qualified name.

-
reader:the xmlTextReaderPtr used
name:the qualified name of the attribute.
Returns:a string containing the value of the specified attribute, or NULL in case of error. The string must be deallocated by the caller.

Function: xmlTextReaderGetAttributeNo

xmlChar *	xmlTextReaderGetAttributeNo	(xmlTextReaderPtr reader, 
int no)
+
reader:the xmlTextReaderPtr used
name:the qualified name of the attribute.
Returns:a string containing the value of the specified attribute, or NULL in case of error. The string must be deallocated by the caller.

Function: xmlTextReaderGetAttributeNo

xmlChar *	xmlTextReaderGetAttributeNo	(xmlTextReaderPtr reader, 
int no)

Provides the value of the attribute with the specified index relative to the containing element.

-
reader:the xmlTextReaderPtr used
no:the zero-based index of the attribute relative to the containing element
Returns:a string containing the value of the specified attribute, or NULL in case of error. The string must be deallocated by the caller.

Function: xmlTextReaderGetAttributeNs

xmlChar *	xmlTextReaderGetAttributeNs	(xmlTextReaderPtr reader, 
const xmlChar * localName,
const xmlChar * namespaceURI)
+
reader:the xmlTextReaderPtr used
no:the zero-based index of the attribute relative to the containing element
Returns:a string containing the value of the specified attribute, or NULL in case of error. The string must be deallocated by the caller.

Function: xmlTextReaderGetAttributeNs

xmlChar *	xmlTextReaderGetAttributeNs	(xmlTextReaderPtr reader, 
const xmlChar * localName,
const xmlChar * namespaceURI)

Provides the value of the specified attribute

reader:the xmlTextReaderPtr used
localName:the local name of the attribute.
namespaceURI:the namespace URI of the attribute.
Returns:a string containing the value of the specified attribute, or NULL in case of error. The string must be deallocated by the caller.

Function: xmlTextReaderGetErrorHandler

void	xmlTextReaderGetErrorHandler	(xmlTextReaderPtr reader, 
xmlTextReaderErrorFunc * f,
void ** arg)

Retrieve the error callback function and user argument.

@@ -213,19 +213,19 @@ void xmlTextReaderErrorFunc (void * arg,
const char * msg,

Check if the current node is empty

reader:the xmlTextReaderPtr used
Returns:1 if empty, 0 if not and -1 in case of error

Function: xmlTextReaderIsValid

int	xmlTextReaderIsValid		(xmlTextReaderPtr reader)

Retrieve the validity status from the parser context

-
reader:the xmlTextReaderPtr used
Returns:the flag value 1 if valid, 0 if no, and -1 in case of error

Function: xmlTextReaderLocalName

xmlChar *	xmlTextReaderLocalName	(xmlTextReaderPtr reader)
+
reader:the xmlTextReaderPtr used
Returns:the flag value 1 if valid, 0 if no, and -1 in case of error

Function: xmlTextReaderLocalName

xmlChar *	xmlTextReaderLocalName	(xmlTextReaderPtr reader)

The local name of the node.

-
reader:the xmlTextReaderPtr used
Returns:the local name or NULL if not available

Function: xmlTextReaderLocatorBaseURI

xmlChar *	xmlTextReaderLocatorBaseURI	(xmlTextReaderLocatorPtr locator)
+
reader:the xmlTextReaderPtr used
Returns:the local name or NULL if not available

Function: xmlTextReaderLocatorBaseURI

xmlChar *	xmlTextReaderLocatorBaseURI	(xmlTextReaderLocatorPtr locator)

Obtain the base URI for the given locator.

locator:the xmlTextReaderLocatorPtr used
Returns:the base URI or NULL in case of error.

Function: xmlTextReaderLocatorLineNumber

int	xmlTextReaderLocatorLineNumber	(xmlTextReaderLocatorPtr locator)

Obtain the line number for the given locator.

-
locator:the xmlTextReaderLocatorPtr used
Returns:the line number or -1 in case of error.

Function: xmlTextReaderLookupNamespace

xmlChar *	xmlTextReaderLookupNamespace	(xmlTextReaderPtr reader, 
const xmlChar * prefix)
+
locator:the xmlTextReaderLocatorPtr used
Returns:the line number or -1 in case of error.

Function: xmlTextReaderLookupNamespace

xmlChar *	xmlTextReaderLookupNamespace	(xmlTextReaderPtr reader, 
const xmlChar * prefix)

Resolves a namespace prefix in the scope of the current element.

-
reader:the xmlTextReaderPtr used
prefix:the prefix whose namespace URI is to be resolved. To return the default namespace, specify NULL
Returns:a string containing the namespace URI to which the prefix maps or NULL in case of error. The string must be deallocated by the caller.

Function: xmlTextReaderMoveToAttribute

int	xmlTextReaderMoveToAttribute	(xmlTextReaderPtr reader, 
const xmlChar * name)
+
reader:the xmlTextReaderPtr used
prefix:the prefix whose namespace URI is to be resolved. To return the default namespace, specify NULL
Returns:a string containing the namespace URI to which the prefix maps or NULL in case of error. The string must be deallocated by the caller.

Function: xmlTextReaderMoveToAttribute

int	xmlTextReaderMoveToAttribute	(xmlTextReaderPtr reader, 
const xmlChar * name)

Moves the position of the current instance to the attribute with the specified qualified name.

reader:the xmlTextReaderPtr used
name:the qualified name of the attribute.
Returns:1 in case of success, -1 in case of error, 0 if not found

Function: xmlTextReaderMoveToAttributeNo

int	xmlTextReaderMoveToAttributeNo	(xmlTextReaderPtr reader, 
int no)

Moves the position of the current instance to the attribute with the specified index relative to the containing element.

-
reader:the xmlTextReaderPtr used
no:the zero-based index of the attribute relative to the containing element.
Returns:1 in case of success, -1 in case of error, 0 if not found

Function: xmlTextReaderMoveToAttributeNs

int	xmlTextReaderMoveToAttributeNs	(xmlTextReaderPtr reader, 
const xmlChar * localName,
const xmlChar * namespaceURI)
+
reader:the xmlTextReaderPtr used
no:the zero-based index of the attribute relative to the containing element.
Returns:1 in case of success, -1 in case of error, 0 if not found

Function: xmlTextReaderMoveToAttributeNs

int	xmlTextReaderMoveToAttributeNs	(xmlTextReaderPtr reader, 
const xmlChar * localName,
const xmlChar * namespaceURI)

Moves the position of the current instance to the attribute with the specified local name and namespace URI.

reader:the xmlTextReaderPtr used
localName:the local name of the attribute.
namespaceURI:the namespace URI of the attribute.
Returns:1 in case of success, -1 in case of error, 0 if not found

Function: xmlTextReaderMoveToElement

int	xmlTextReaderMoveToElement	(xmlTextReaderPtr reader)

Moves the position of the current instance to the node that contains the current Attribute node.

@@ -233,9 +233,9 @@ void xmlTextReaderErrorFunc (void * arg,
const char * msg,

Moves the position of the current instance to the first attribute associated with the current node.

reader:the xmlTextReaderPtr used
Returns:1 in case of success, -1 in case of error, 0 if not found

Function: xmlTextReaderMoveToNextAttribute

int	xmlTextReaderMoveToNextAttribute	(xmlTextReaderPtr reader)

Moves the position of the current instance to the next attribute associated with the current node.

-
reader:the xmlTextReaderPtr used
Returns:1 in case of success, -1 in case of error, 0 if not found

Function: xmlTextReaderName

xmlChar *	xmlTextReaderName	(xmlTextReaderPtr reader)
+
reader:the xmlTextReaderPtr used
Returns:1 in case of success, -1 in case of error, 0 if not found

Function: xmlTextReaderName

xmlChar *	xmlTextReaderName	(xmlTextReaderPtr reader)

The qualified name of the node, equal to Prefix :LocalName.

-
reader:the xmlTextReaderPtr used
Returns:the local name or NULL if not available

Function: xmlTextReaderNamespaceUri

xmlChar *	xmlTextReaderNamespaceUri	(xmlTextReaderPtr reader)
+
reader:the xmlTextReaderPtr used
Returns:the local name or NULL if not available

Function: xmlTextReaderNamespaceUri

xmlChar *	xmlTextReaderNamespaceUri	(xmlTextReaderPtr reader)

The URI defining the namespace associated with the node.

reader:the xmlTextReaderPtr used
Returns:the namespace URI or NULL if not available

Function: xmlTextReaderNext

int	xmlTextReaderNext		(xmlTextReaderPtr reader)

Skip to the node following the current one in document order while avoiding the subtree if any.

@@ -245,25 +245,25 @@ void xmlTextReaderErrorFunc (void * arg,
const char * msg,

Get the node type of the current node Reference: http://dotgnu.org/pnetlib-doc/System/Xml/XmlNodeType.html

reader:the xmlTextReaderPtr used
Returns:the xmlNodeType of the current node or -1 in case of error

Function: xmlTextReaderNormalization

int	xmlTextReaderNormalization	(xmlTextReaderPtr reader)

The value indicating whether to normalize white space and attribute values. Since attribute value and end of line normalizations are a MUST in the XML specification only the value true is accepted. The broken bahaviour of accepting out of range character entities like &#0; is of course not supported either.

-
reader:the xmlTextReaderPtr used
Returns:1 or -1 in case of error.

Function: xmlTextReaderPrefix

xmlChar *	xmlTextReaderPrefix	(xmlTextReaderPtr reader)
+
reader:the xmlTextReaderPtr used
Returns:1 or -1 in case of error.

Function: xmlTextReaderPrefix

xmlChar *	xmlTextReaderPrefix	(xmlTextReaderPtr reader)

A shorthand reference to the namespace associated with the node.

reader:the xmlTextReaderPtr used
Returns:the prefix or NULL if not available

Function: xmlTextReaderPreserve

xmlNodePtr	xmlTextReaderPreserve	(xmlTextReaderPtr reader)

current node being accessed by the xmlTextReader. This is dangerous because the underlying node may be destroyed on the next Reads.

-
reader:the xmlTextReaderPtr used
Returns:the xmlNodePtr or NULL in case of error.

Function: xmlTextReaderPreservePattern

int	xmlTextReaderPreservePattern	(xmlTextReaderPtr reader, 
const xmlChar * pattern,
const xmlChar ** namespaces)
+
reader:the xmlTextReaderPtr used
Returns:the xmlNodePtr or NULL in case of error.

Function: xmlTextReaderPreservePattern

int	xmlTextReaderPreservePattern	(xmlTextReaderPtr reader, 
const xmlChar * pattern,
const xmlChar ** namespaces)

This tells the XML Reader to preserve all nodes matched by the pattern. The caller must also use xmlTextReaderCurrentDoc() to keep an handle on the resulting document once parsing has finished

reader:the xmlTextReaderPtr used
pattern:an XPath subset pattern
namespaces:the prefix definitions, array of [URI, prefix] or NULL
Returns:a positive number in case of success and -1 in case of error

Function: xmlTextReaderQuoteChar

int	xmlTextReaderQuoteChar		(xmlTextReaderPtr reader)

The quotation mark character used to enclose the value of an attribute.

-
reader:the xmlTextReaderPtr used
Returns:" or ' and -1 in case of error

Function: xmlTextReaderRead

int	xmlTextReaderRead		(xmlTextReaderPtr reader)
+
reader:the xmlTextReaderPtr used
Returns:" or ' and -1 in case of error

Function: xmlTextReaderRead

int	xmlTextReaderRead		(xmlTextReaderPtr reader)

Moves the position of the current instance to the next node in the stream, exposing its properties.

reader:the xmlTextReaderPtr used
Returns:1 if the node was read successfully, 0 if there is no more nodes to read, or -1 in case of error

Function: xmlTextReaderReadAttributeValue

int	xmlTextReaderReadAttributeValue	(xmlTextReaderPtr reader)

Parses an attribute value into one or more Text and EntityReference nodes.

-
reader:the xmlTextReaderPtr used
Returns:1 in case of success, 0 if the reader was not positionned on an ttribute node or all the attribute values have been read, or -1 in case of error.

Function: xmlTextReaderReadInnerXml

xmlChar *	xmlTextReaderReadInnerXml	(xmlTextReaderPtr reader)
+
reader:the xmlTextReaderPtr used
Returns:1 in case of success, 0 if the reader was not positionned on an ttribute node or all the attribute values have been read, or -1 in case of error.

Function: xmlTextReaderReadInnerXml

xmlChar *	xmlTextReaderReadInnerXml	(xmlTextReaderPtr reader)

Reads the contents of the current node, including child nodes and markup.

-
reader:the xmlTextReaderPtr used
Returns:a string containing the XML content, or NULL if the current node is neither an element nor attribute, or has no child nodes. The string must be deallocated by the caller.

Function: xmlTextReaderReadOuterXml

xmlChar *	xmlTextReaderReadOuterXml	(xmlTextReaderPtr reader)
+
reader:the xmlTextReaderPtr used
Returns:a string containing the XML content, or NULL if the current node is neither an element nor attribute, or has no child nodes. The string must be deallocated by the caller.

Function: xmlTextReaderReadOuterXml

xmlChar *	xmlTextReaderReadOuterXml	(xmlTextReaderPtr reader)

Reads the contents of the current node, including child nodes and markup.

reader:the xmlTextReaderPtr used
Returns:a string containing the XML content, or NULL if the current node is neither an element nor attribute, or has no child nodes. The string must be deallocated by the caller.

Function: xmlTextReaderReadState

int	xmlTextReaderReadState		(xmlTextReaderPtr reader)

Gets the read state of the reader.

-
reader:the xmlTextReaderPtr used
Returns:the state value, or -1 in case of error

Function: xmlTextReaderReadString

xmlChar *	xmlTextReaderReadString	(xmlTextReaderPtr reader)
+
reader:the xmlTextReaderPtr used
Returns:the state value, or -1 in case of error

Function: xmlTextReaderReadString

xmlChar *	xmlTextReaderReadString	(xmlTextReaderPtr reader)

Reads the contents of an element or a text node as a string.

reader:the xmlTextReaderPtr used
Returns:a string containing the contents of the Element or Text node, or NULL if the reader is positioned on any other type of node. The string must be deallocated by the caller.

Function: xmlTextReaderRelaxNGSetSchema

int	xmlTextReaderRelaxNGSetSchema	(xmlTextReaderPtr reader, 
xmlRelaxNGPtr schema)

Use RelaxNG to validate the document as it is processed. Activation is only possible before the first Read(). if @schema is NULL, then RelaxNG validation is desactivated. @ The @schema should not be freed until the reader is deallocated or its use has been deactivated.

@@ -273,8 +273,8 @@ void xmlTextReaderErrorFunc (void * arg,
const char * msg,

Register a callback function that will be called on error and warnings. If @f is NULL, the default error and warning handlers are restored.

reader:the xmlTextReaderPtr used
f:the callback function to call on error and warnings
arg:a user argument to pass to the callback function

Function: xmlTextReaderSetParserProp

int	xmlTextReaderSetParserProp	(xmlTextReaderPtr reader, 
int prop,
int value)

Change the parser processing behaviour by changing some of its internal properties. Note that some properties can only be changed before any read has been done.

-
reader:the xmlTextReaderPtr used
prop:the xmlParserProperties to set
value:usually 0 or 1 to (de)activate it
Returns:0 if the call was successful, or -1 in case of error

Function: xmlTextReaderValue

xmlChar *	xmlTextReaderValue	(xmlTextReaderPtr reader)
+
reader:the xmlTextReaderPtr used
prop:the xmlParserProperties to set
value:usually 0 or 1 to (de)activate it
Returns:0 if the call was successful, or -1 in case of error

Function: xmlTextReaderValue

xmlChar *	xmlTextReaderValue	(xmlTextReaderPtr reader)

Provides the text value of the node if present

-
reader:the xmlTextReaderPtr used
Returns:the string or NULL if not available. The result must be deallocated with xmlFree()

Function: xmlTextReaderXmlLang

xmlChar *	xmlTextReaderXmlLang	(xmlTextReaderPtr reader)
+
reader:the xmlTextReaderPtr used
Returns:the string or NULL if not available. The result must be deallocated with xmlFree()

Function: xmlTextReaderXmlLang

xmlChar *	xmlTextReaderXmlLang	(xmlTextReaderPtr reader)

The xml:lang scope within which the node resides.

reader:the xmlTextReaderPtr used
Returns:the xml:lang value or NULL if none exists.

Daniel Veillard

diff --git a/doc/html/libxml-xmlregexp.html b/doc/html/libxml-xmlregexp.html index 9496c4c6..2082531c 100644 --- a/doc/html/libxml-xmlregexp.html +++ b/doc/html/libxml-xmlregexp.html @@ -17,15 +17,15 @@ The content of this structure is not made public by the API. The content of this structure is not made public by the API.
Typedef xmlRegexp * xmlRegexpPtr
 
Function type: xmlRegExecCallbacks
-void	xmlRegExecCallbacks		(xmlRegExecCtxtPtr exec, 
const xmlChar * token,
void * transdata,
void * inputdata) +void xmlRegExecCallbacks (xmlRegExecCtxtPtr exec,
const xmlChar * token,
void * transdata,
void * inputdata)
-
int	xmlRegExecPushString		(xmlRegExecCtxtPtr exec, 
const xmlChar * value,
void * data)
-
int	xmlRegExecPushString2		(xmlRegExecCtxtPtr exec, 
const xmlChar * value,
const xmlChar * value2,
void * data)
+
int	xmlRegExecPushString		(xmlRegExecCtxtPtr exec, 
const xmlChar * value,
void * data)
+
int	xmlRegExecPushString2		(xmlRegExecCtxtPtr exec, 
const xmlChar * value,
const xmlChar * value2,
void * data)
void	xmlRegFreeExecCtxt		(xmlRegExecCtxtPtr exec)
void	xmlRegFreeRegexp		(xmlRegexpPtr regexp)
xmlRegExecCtxtPtr	xmlRegNewExecCtxt	(xmlRegexpPtr comp, 
xmlRegExecCallbacks callback,
void * data)
-
xmlRegexpPtr	xmlRegexpCompile	(const xmlChar * regexp)
-
int	xmlRegexpExec			(xmlRegexpPtr comp, 
const xmlChar * content)
+
xmlRegexpPtr	xmlRegexpCompile	(const xmlChar * regexp)
+
int	xmlRegexpExec			(xmlRegexpPtr comp, 
const xmlChar * content)
int	xmlRegexpIsDeterminist		(xmlRegexpPtr comp)
void	xmlRegexpPrint			(FILE * output, 
xmlRegexpPtr regexp)

Description

@@ -34,11 +34,11 @@ The content of this structure is not made public by the API. }

Structure xmlRegexp

Structure xmlRegexp
struct _xmlRegexp { The content of this structure is not made public by the API. }

Function type: xmlRegExecCallbacks

Function type: xmlRegExecCallbacks
-void	xmlRegExecCallbacks		(xmlRegExecCtxtPtr exec, 
const xmlChar * token,
void * transdata,
void * inputdata) +void xmlRegExecCallbacks (xmlRegExecCtxtPtr exec,
const xmlChar * token,
void * transdata,
void * inputdata)

exec:
token:
transdata:
inputdata:

-

Function: xmlRegExecPushString

int	xmlRegExecPushString		(xmlRegExecCtxtPtr exec, 
const xmlChar * value,
void * data)
+

Function: xmlRegExecPushString

int	xmlRegExecPushString		(xmlRegExecCtxtPtr exec, 
const xmlChar * value,
void * data)

Push one input token in the execution context

-
exec:a regexp execution context or NULL to indicate the end
value:a string token input
data:data associated to the token to reuse in callbacks
Returns:1 if the regexp reached a final state, 0 if non-final, and a negative value in case of error.

Function: xmlRegExecPushString2

int	xmlRegExecPushString2		(xmlRegExecCtxtPtr exec, 
const xmlChar * value,
const xmlChar * value2,
void * data)
+
exec:a regexp execution context or NULL to indicate the end
value:a string token input
data:data associated to the token to reuse in callbacks
Returns:1 if the regexp reached a final state, 0 if non-final, and a negative value in case of error.

Function: xmlRegExecPushString2

int	xmlRegExecPushString2		(xmlRegExecCtxtPtr exec, 
const xmlChar * value,
const xmlChar * value2,
void * data)

Push one input token in the execution context

exec:a regexp execution context or NULL to indicate the end
value:the first string token input
value2:the second string token input
data:data associated to the token to reuse in callbacks
Returns:1 if the regexp reached a final state, 0 if non-final, and a negative value in case of error.

Function: xmlRegFreeExecCtxt

void	xmlRegFreeExecCtxt		(xmlRegExecCtxtPtr exec)

Free the structures associated to a regular expression evaulation context.

@@ -46,9 +46,9 @@ void xmlRegExecCallbacks (xml

Free a regexp

regexp:the regexp

Function: xmlRegNewExecCtxt

xmlRegExecCtxtPtr	xmlRegNewExecCtxt	(xmlRegexpPtr comp, 
xmlRegExecCallbacks callback,
void * data)

Build a context used for progressive evaluation of a regexp.

-
comp:a precompiled regular expression
callback:a callback function used for handling progresses in the automata matching phase
data:the context data associated to the callback in this context
Returns:the new context

Function: xmlRegexpCompile

xmlRegexpPtr	xmlRegexpCompile	(const xmlChar * regexp)
+
comp:a precompiled regular expression
callback:a callback function used for handling progresses in the automata matching phase
data:the context data associated to the callback in this context
Returns:the new context

Function: xmlRegexpCompile

xmlRegexpPtr	xmlRegexpCompile	(const xmlChar * regexp)

Parses a regular expression conforming to XML Schemas Part 2 Datatype Appendix F and build an automata suitable for testing strings against that regular expression

-
regexp:a regular expression string
Returns:the compiled expression or NULL in case of error

Function: xmlRegexpExec

int	xmlRegexpExec			(xmlRegexpPtr comp, 
const xmlChar * content)
+
regexp:a regular expression string
Returns:the compiled expression or NULL in case of error

Function: xmlRegexpExec

int	xmlRegexpExec			(xmlRegexpPtr comp, 
const xmlChar * content)

Check if the regular expression generate the value

comp:the compiled regular expression
content:the value to check against the regular expression
Returns:1 if it matches, 0 if not and a negativa value in case of error

Function: xmlRegexpIsDeterminist

int	xmlRegexpIsDeterminist		(xmlRegexpPtr comp)

Check if the regular expression is determinist

diff --git a/doc/html/libxml-xmlschemas.html b/doc/html/libxml-xmlschemas.html index 3b1e2395..39289854 100644 --- a/doc/html/libxml-xmlschemas.html +++ b/doc/html/libxml-xmlschemas.html @@ -40,10 +40,10 @@ void xmlSchemaValidityWarningFunc (v

Description

Structure xmlSchema

Structure xmlSchema
struct _xmlSchema { - const xmlChar * name : schema name - const xmlChar * targetNamespace : the target namespace - const xmlChar * version - const xmlChar * id + const xmlChar * name : schema name + const xmlChar * targetNamespace : the target namespace + const xmlChar * version + const xmlChar * id xmlDocPtr doc xmlSchemaAnnotPtr annot int flags diff --git a/doc/html/libxml-xmlschemastypes.html b/doc/html/libxml-xmlschemastypes.html index 814ed246..052c9686 100644 --- a/doc/html/libxml-xmlschemastypes.html +++ b/doc/html/libxml-xmlschemastypes.html @@ -10,19 +10,19 @@ A:link, A:visited, A:active { text-decoration: underline } Module xmlschemastypes from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlschemastypes from libxml2

API Menu
API Indexes
Related links

module providing the XML Schema Datatypes implementation both definition and validity checking

Table of Contents

int	xmlSchemaCheckFacet		(xmlSchemaFacetPtr facet, 
xmlSchemaTypePtr typeDecl,
xmlSchemaParserCtxtPtr ctxt,
const xmlChar * name)
+ Module xmlschemastypes from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlschemastypes from libxml2

API Menu
API Indexes
Related links

module providing the XML Schema Datatypes implementation both definition and validity checking

Table of Contents

int	xmlSchemaCheckFacet		(xmlSchemaFacetPtr facet, 
xmlSchemaTypePtr typeDecl,
xmlSchemaParserCtxtPtr ctxt,
const xmlChar * name)
void	xmlSchemaCleanupTypes		(void)
int	xmlSchemaCompareValues		(xmlSchemaValPtr x, 
xmlSchemaValPtr y)
void	xmlSchemaFreeFacet		(xmlSchemaFacetPtr facet)
void	xmlSchemaFreeValue		(xmlSchemaValPtr value)
-
xmlSchemaTypePtr	xmlSchemaGetPredefinedType	(const xmlChar * name, 
const xmlChar * ns)
+
xmlSchemaTypePtr	xmlSchemaGetPredefinedType	(const xmlChar * name, 
const xmlChar * ns)
void	xmlSchemaInitTypes		(void)
xmlSchemaFacetPtr	xmlSchemaNewFacet	(void)
-
int	xmlSchemaValPredefTypeNode	(xmlSchemaTypePtr type, 
const xmlChar * value,
xmlSchemaValPtr * val,
xmlNodePtr node)
-
int	xmlSchemaValidateFacet		(xmlSchemaTypePtr base, 
xmlSchemaFacetPtr facet,
const xmlChar * value,
xmlSchemaValPtr val)
-
int	xmlSchemaValidatePredefinedType	(xmlSchemaTypePtr type, 
const xmlChar * value,
xmlSchemaValPtr * val)
+
int	xmlSchemaValPredefTypeNode	(xmlSchemaTypePtr type, 
const xmlChar * value,
xmlSchemaValPtr * val,
xmlNodePtr node)
+
int	xmlSchemaValidateFacet		(xmlSchemaTypePtr base, 
xmlSchemaFacetPtr facet,
const xmlChar * value,
xmlSchemaValPtr val)
+
int	xmlSchemaValidatePredefinedType	(xmlSchemaTypePtr type, 
const xmlChar * value,
xmlSchemaValPtr * val)

Description

-

Function: xmlSchemaCheckFacet

int	xmlSchemaCheckFacet		(xmlSchemaFacetPtr facet, 
xmlSchemaTypePtr typeDecl,
xmlSchemaParserCtxtPtr ctxt,
const xmlChar * name)
+

Function: xmlSchemaCheckFacet

int	xmlSchemaCheckFacet		(xmlSchemaFacetPtr facet, 
xmlSchemaTypePtr typeDecl,
xmlSchemaParserCtxtPtr ctxt,
const xmlChar * name)

Checks the default values types, especially for facets

facet:the facet
typeDecl:the schema type definition
ctxt:the schema parser context or NULL
name:name of the type
Returns:0 if okay or -1 in cae of error

Function: xmlSchemaCleanupTypes

void	xmlSchemaCleanupTypes		(void)

Cleanup the default XML Schemas type library

@@ -32,16 +32,16 @@ A:link, A:visited, A:active { text-decoration: underline }

Deallocate a Schema Facet structure.

facet:a schema facet structure

Function: xmlSchemaFreeValue

void	xmlSchemaFreeValue		(xmlSchemaValPtr value)

Cleanup the default XML Schemas type library

-
value:the value to free

Function: xmlSchemaGetPredefinedType

xmlSchemaTypePtr	xmlSchemaGetPredefinedType	(const xmlChar * name, 
const xmlChar * ns)
+
value:the value to free

Function: xmlSchemaGetPredefinedType

xmlSchemaTypePtr	xmlSchemaGetPredefinedType	(const xmlChar * name, 
const xmlChar * ns)

Lookup a type in the default XML Schemas type library

-
name:the type name
ns:the URI of the namespace usually "http://www.w3.org/2001/XMLSchema"
Returns:the type if found, NULL otherwise

Function: xmlSchemaInitTypes

void	xmlSchemaInitTypes		(void)
+
name:the type name
ns:the URI of the namespace usually "http://www.w3.org/2001/XMLSchema"
Returns:the type if found, NULL otherwise

Function: xmlSchemaInitTypes

void	xmlSchemaInitTypes		(void)

Initialize the default XML Schemas type library

Function: xmlSchemaNewFacet

xmlSchemaFacetPtr	xmlSchemaNewFacet	(void)

Allocate a new Facet structure.

-
Returns:the newly allocated structure or NULL in case or error

Function: xmlSchemaValPredefTypeNode

int	xmlSchemaValPredefTypeNode	(xmlSchemaTypePtr type, 
const xmlChar * value,
xmlSchemaValPtr * val,
xmlNodePtr node)
+
Returns:the newly allocated structure or NULL in case or error

Function: xmlSchemaValPredefTypeNode

int	xmlSchemaValPredefTypeNode	(xmlSchemaTypePtr type, 
const xmlChar * value,
xmlSchemaValPtr * val,
xmlNodePtr node)

Check that a value conforms to the lexical space of the predefined type. if true a value is computed and returned in @val.

-
type:the predefined type
value:the value to check
val:the return computed value
node:the node containing the value
Returns:0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.

Function: xmlSchemaValidateFacet

int	xmlSchemaValidateFacet		(xmlSchemaTypePtr base, 
xmlSchemaFacetPtr facet,
const xmlChar * value,
xmlSchemaValPtr val)
+
type:the predefined type
value:the value to check
val:the return computed value
node:the node containing the value
Returns:0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.

Function: xmlSchemaValidateFacet

int	xmlSchemaValidateFacet		(xmlSchemaTypePtr base, 
xmlSchemaFacetPtr facet,
const xmlChar * value,
xmlSchemaValPtr val)

Check a value against a facet condition

-
base:the base type
facet:the facet to check
value:the lexical repr of the value to validate
val:the precomputed value
Returns:0 if the element is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.

Function: xmlSchemaValidatePredefinedType

int	xmlSchemaValidatePredefinedType	(xmlSchemaTypePtr type, 
const xmlChar * value,
xmlSchemaValPtr * val)
+
base:the base type
facet:the facet to check
value:the lexical repr of the value to validate
val:the precomputed value
Returns:0 if the element is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.

Function: xmlSchemaValidatePredefinedType

int	xmlSchemaValidatePredefinedType	(xmlSchemaTypePtr type, 
const xmlChar * value,
xmlSchemaValPtr * val)

Check that a value conforms to the lexical space of the predefined type. if true a value is computed and returned in @val.

type:the predefined type
value:the value to check
val:the return computed value
Returns:0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.

Daniel Veillard

diff --git a/doc/html/libxml-xmlstring.html b/doc/html/libxml-xmlstring.html new file mode 100644 index 00000000..811dc7f3 --- /dev/null +++ b/doc/html/libxml-xmlstring.html @@ -0,0 +1,106 @@ + + +Module xmlstring from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlstring from libxml2

API Menu
API Indexes
Related links

Interfaces, constants and types related to the XML parser

Table of Contents

#define BAD_CAST
Typedef unsigned char xmlChar
+
xmlChar *	xmlCharStrdup		(const char * cur)
+
xmlChar *	xmlCharStrndup		(const char * cur, 
int len)
+
int	xmlCheckUTF8			(const unsigned char * utf)
+
int	xmlGetUTF8Char			(const unsigned char * utf, 
int * len)
+
int	xmlStrEqual			(const xmlChar * str1, 
const xmlChar * str2)
+
int	xmlStrPrintf			(xmlChar * buf, 
int len,
const xmlChar * msg,
... ...)
+
int	xmlStrQEqual			(const xmlChar * pref, 
const xmlChar * name,
const xmlChar * str)
+
int	xmlStrVPrintf			(xmlChar * buf, 
int len,
const xmlChar * msg,
va_list ap)
+
int	xmlStrcasecmp			(const xmlChar * str1, 
const xmlChar * str2)
+
const xmlChar *	xmlStrcasestr		(const xmlChar * str, 
xmlChar * val)
+
xmlChar *	xmlStrcat		(xmlChar * cur, 
const xmlChar * add)
+
const xmlChar *	xmlStrchr		(const xmlChar * str, 
xmlChar val)
+
int	xmlStrcmp			(const xmlChar * str1, 
const xmlChar * str2)
+
xmlChar *	xmlStrdup		(const xmlChar * cur)
+
int	xmlStrlen			(const xmlChar * str)
+
int	xmlStrncasecmp			(const xmlChar * str1, 
const xmlChar * str2,
int len)
+
xmlChar *	xmlStrncat		(xmlChar * cur, 
const xmlChar * add,
int len)
+
xmlChar *	xmlStrncatNew		(const xmlChar * str1, 
const xmlChar * str2,
int len)
+
int	xmlStrncmp			(const xmlChar * str1, 
const xmlChar * str2,
int len)
+
xmlChar *	xmlStrndup		(const xmlChar * cur, 
int len)
+
const xmlChar *	xmlStrstr		(const xmlChar * str, 
const xmlChar * val)
+
xmlChar *	xmlStrsub		(const xmlChar * str, 
int start,
int len)
+
int	xmlUTF8Charcmp			(const xmlChar * utf1, 
const xmlChar * utf2)
+
int	xmlUTF8Size			(const xmlChar * utf)
+
int	xmlUTF8Strlen			(const xmlChar * utf)
+
int	xmlUTF8Strloc			(const xmlChar * utf, 
const xmlChar * utfchar)
+
xmlChar *	xmlUTF8Strndup		(const xmlChar * utf, 
int len)
+
xmlChar *	xmlUTF8Strpos		(const xmlChar * utf, 
int pos)
+
int	xmlUTF8Strsize			(const xmlChar * utf, 
int len)
+
xmlChar *	xmlUTF8Strsub		(const xmlChar * utf, 
int start,
int len)
+

Description

+

Macro: BAD_CAST

#define BAD_CAST

Macro to cast a string to an xmlChar * when one know its safe.

+

Function: xmlCharStrdup

xmlChar *	xmlCharStrdup		(const char * cur)
+

a strdup for char's to xmlChar's

+
cur:the input char *
Returns:a new xmlChar * or NULL

Function: xmlCharStrndup

xmlChar *	xmlCharStrndup		(const char * cur, 
int len)
+

a strndup for char's to xmlChar's

+
cur:the input char *
len:the len of @cur
Returns:a new xmlChar * or NULL

Function: xmlCheckUTF8

int	xmlCheckUTF8			(const unsigned char * utf)
+

Checks @utf for being valid UTF-8. @utf is assumed to be null-terminated. This function is not super-strict, as it will allow longer UTF-8 sequences than necessary. Note that Java is capable of producing these sequences if provoked. Also note, this routine checks for the 4-byte maximum size, but does not check for 0x10ffff maximum value.

+
utf:Pointer to putative UTF-8 encoded string.
Returns:value: true if @utf is valid.

Function: xmlGetUTF8Char

int	xmlGetUTF8Char			(const unsigned char * utf, 
int * len)
+

Read one UTF8 Char from @utf

+
utf:a sequence of UTF-8 encoded bytes
len:a pointer to @bytes len
Returns:the char value or -1 in case of error, and updates *len with the number of bytes consumed

Function: xmlStrEqual

int	xmlStrEqual			(const xmlChar * str1, 
const xmlChar * str2)
+

Check if both string are equal of have same content Should be a bit more readable and faster than xmlStrEqual()

+
str1:the first xmlChar *
str2:the second xmlChar *
Returns:1 if they are equal, 0 if they are different

Function: xmlStrPrintf

int	xmlStrPrintf			(xmlChar * buf, 
int len,
const xmlChar * msg,
... ...)
+

Formats @msg and places result into @buf.

+
buf:the result buffer.
len:the result buffer length.
msg:the message with printf formatting.
...:extra parameters for the message.
Returns:the number of characters written to @buf or -1 if an error occurs.

Function: xmlStrQEqual

int	xmlStrQEqual			(const xmlChar * pref, 
const xmlChar * name,
const xmlChar * str)
+

Check if a QName is Equal to a given string

+
pref:the prefix of the QName
name:the localname of the QName
str:the second xmlChar *
Returns:1 if they are equal, 0 if they are different

Function: xmlStrVPrintf

int	xmlStrVPrintf			(xmlChar * buf, 
int len,
const xmlChar * msg,
va_list ap)
+

Formats @msg and places result into @buf.

+
buf:the result buffer.
len:the result buffer length.
msg:the message with printf formatting.
ap:extra parameters for the message.
Returns:the number of characters written to @buf or -1 if an error occurs.

Function: xmlStrcasecmp

int	xmlStrcasecmp			(const xmlChar * str1, 
const xmlChar * str2)
+

a strcasecmp for xmlChar's

+
str1:the first xmlChar *
str2:the second xmlChar *
Returns:the integer result of the comparison

Function: xmlStrcasestr

const xmlChar *	xmlStrcasestr		(const xmlChar * str, 
xmlChar * val)
+

a case-ignoring strstr for xmlChar's

+
str:the xmlChar * array (haystack)
val:the xmlChar to search (needle)
Returns:the xmlChar * for the first occurrence or NULL.

Function: xmlStrcat

xmlChar *	xmlStrcat		(xmlChar * cur, 
const xmlChar * add)
+

a strcat for array of xmlChar's. Since they are supposed to be encoded in UTF-8 or an encoding with 8bit based chars, we assume a termination mark of '0'.

+
cur:the original xmlChar * array
add:the xmlChar * array added
Returns:a new xmlChar * containing the concatenated string.

Function: xmlStrchr

const xmlChar *	xmlStrchr		(const xmlChar * str, 
xmlChar val)
+

a strchr for xmlChar's

+
str:the xmlChar * array
val:the xmlChar to search
Returns:the xmlChar * for the first occurrence or NULL.

Function: xmlStrcmp

int	xmlStrcmp			(const xmlChar * str1, 
const xmlChar * str2)
+

a strcmp for xmlChar's

+
str1:the first xmlChar *
str2:the second xmlChar *
Returns:the integer result of the comparison

Function: xmlStrdup

xmlChar *	xmlStrdup		(const xmlChar * cur)
+

a strdup for array of xmlChar's. Since they are supposed to be encoded in UTF-8 or an encoding with 8bit based chars, we assume a termination mark of '0'.

+
cur:the input xmlChar *
Returns:a new xmlChar * or NULL

Function: xmlStrlen

int	xmlStrlen			(const xmlChar * str)
+

length of a xmlChar's string

+
str:the xmlChar * array
Returns:the number of xmlChar contained in the ARRAY.

Function: xmlStrncasecmp

int	xmlStrncasecmp			(const xmlChar * str1, 
const xmlChar * str2,
int len)
+

a strncasecmp for xmlChar's

+
str1:the first xmlChar *
str2:the second xmlChar *
len:the max comparison length
Returns:the integer result of the comparison

Function: xmlStrncat

xmlChar *	xmlStrncat		(xmlChar * cur, 
const xmlChar * add,
int len)
+

a strncat for array of xmlChar's, it will extend @cur with the len first bytes of @add.

+
cur:the original xmlChar * array
add:the xmlChar * array added
len:the length of @add
Returns:a new xmlChar *, the original @cur is reallocated if needed and should not be freed

Function: xmlStrncatNew

xmlChar *	xmlStrncatNew		(const xmlChar * str1, 
const xmlChar * str2,
int len)
+

same as xmlStrncat, but creates a new string. The original two strings are not freed.

+
str1:first xmlChar string
str2:second xmlChar string
len:the len of @str2
Returns:a new xmlChar * or NULL

Function: xmlStrncmp

int	xmlStrncmp			(const xmlChar * str1, 
const xmlChar * str2,
int len)
+

a strncmp for xmlChar's

+
str1:the first xmlChar *
str2:the second xmlChar *
len:the max comparison length
Returns:the integer result of the comparison

Function: xmlStrndup

xmlChar *	xmlStrndup		(const xmlChar * cur, 
int len)
+

a strndup for array of xmlChar's

+
cur:the input xmlChar *
len:the len of @cur
Returns:a new xmlChar * or NULL

Function: xmlStrstr

const xmlChar *	xmlStrstr		(const xmlChar * str, 
const xmlChar * val)
+

a strstr for xmlChar's

+
str:the xmlChar * array (haystack)
val:the xmlChar to search (needle)
Returns:the xmlChar * for the first occurrence or NULL.

Function: xmlStrsub

xmlChar *	xmlStrsub		(const xmlChar * str, 
int start,
int len)
+

Extract a substring of a given string

+
str:the xmlChar * array (haystack)
start:the index of the first char (zero based)
len:the length of the substring
Returns:the xmlChar * for the first occurrence or NULL.

Function: xmlUTF8Charcmp

int	xmlUTF8Charcmp			(const xmlChar * utf1, 
const xmlChar * utf2)
+

compares the two UCS4 values

+
utf1:pointer to first UTF8 char
utf2:pointer to second UTF8 char
Returns:result of the compare as with xmlStrncmp

Function: xmlUTF8Size

int	xmlUTF8Size			(const xmlChar * utf)
+

calculates the internal size of a UTF8 character

+
utf:pointer to the UTF8 character
Returns:the numbers of bytes in the character, -1 on format error

Function: xmlUTF8Strlen

int	xmlUTF8Strlen			(const xmlChar * utf)
+

compute the length of an UTF8 string, it doesn't do a full UTF8 checking of the content of the string.

+
utf:a sequence of UTF-8 encoded bytes
Returns:the number of characters in the string or -1 in case of error

Function: xmlUTF8Strloc

int	xmlUTF8Strloc			(const xmlChar * utf, 
const xmlChar * utfchar)
+

a function to provide the relative location of a UTF8 char

+
utf:the input UTF8 *
utfchar:the UTF8 character to be found
Returns:the relative character position of the desired char or -1 if not found

Function: xmlUTF8Strndup

xmlChar *	xmlUTF8Strndup		(const xmlChar * utf, 
int len)
+

a strndup for array of UTF8's

+
utf:the input UTF8 *
len:the len of @utf (in chars)
Returns:a new UTF8 * or NULL

Function: xmlUTF8Strpos

xmlChar *	xmlUTF8Strpos		(const xmlChar * utf, 
int pos)
+

a function to provide the equivalent of fetching a character from a string array

+
utf:the input UTF8 *
pos:the position of the desired UTF8 char (in chars)
Returns:a pointer to the UTF8 character or NULL

Function: xmlUTF8Strsize

int	xmlUTF8Strsize			(const xmlChar * utf, 
int len)
+

storage size of an UTF8 string

+
utf:a sequence of UTF-8 encoded bytes
len:the number of characters in the array
Returns:the storage size of the first 'len' characters of ARRAY

Function: xmlUTF8Strsub

xmlChar *	xmlUTF8Strsub		(const xmlChar * utf, 
int start,
int len)
+

Create a substring from a given UTF-8 string Note: positions are given in units of UTF-8 chars

+
utf:a sequence of UTF-8 encoded bytes
start:relative pos of first char
len:total number to copy
Returns:a pointer to a newly created string or NULL if any problem

Daniel Veillard

diff --git a/doc/html/libxml-xmlunicode.html b/doc/html/libxml-xmlunicode.html index 26760c2d..8250406b 100644 --- a/doc/html/libxml-xmlunicode.html +++ b/doc/html/libxml-xmlunicode.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module xmlunicode from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlunicode from libxml2

API Menu
API Indexes
Related links

API for the Unicode character APIs This file is automatically generated from the UCS description files of the Unicode Character Database

Table of Contents

int	xmlUCSIsAegeanNumbers		(int code)
+ Module xmlunicode from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlunicode from libxml2

API Menu
API Indexes
Related links

API for the Unicode character APIs This file is automatically generated from the UCS description files of the Unicode Character Database

Table of Contents

int	xmlUCSIsAegeanNumbers		(int code)
int	xmlUCSIsAlphabeticPresentationForms	(int code)
int	xmlUCSIsArabic			(int code)
int	xmlUCSIsArabicPresentationFormsA	(int code)
diff --git a/doc/html/libxml-xmlversion.html b/doc/html/libxml-xmlversion.html index 8b5c554e..87cb6c2e 100644 --- a/doc/html/libxml-xmlversion.html +++ b/doc/html/libxml-xmlversion.html @@ -19,7 +19,7 @@ A:link, A:visited, A:active { text-decoration: underline }

Macro: LIBXML_CATALOG_ENABLED

#define LIBXML_CATALOG_ENABLED

Whether the Catalog support is configured in

Macro: LIBXML_DEBUG_ENABLED

#define LIBXML_DEBUG_ENABLED

Whether Debugging module is configured in

Macro: LIBXML_DOCB_ENABLED

#define LIBXML_DOCB_ENABLED

Whether the SGML Docbook support is configured in

-

Macro: LIBXML_DOTTED_VERSION

#define LIBXML_DOTTED_VERSION

the version string like "1.2.3"

+

Macro: LIBXML_DOTTED_VERSION

#define LIBXML_DOTTED_VERSION

the version string like "1.2.3"

Macro: LIBXML_FTP_ENABLED

#define LIBXML_FTP_ENABLED

Whether the FTP support is configured in

Macro: LIBXML_HTML_ENABLED

#define LIBXML_HTML_ENABLED

Whether the HTML support is configured in

Macro: LIBXML_HTTP_ENABLED

#define LIBXML_HTTP_ENABLED

Whether the HTTP support is configured in

@@ -39,7 +39,7 @@ A:link, A:visited, A:active { text-decoration: underline }

Macro: LIBXML_UNICODE_ENABLED

#define LIBXML_UNICODE_ENABLED

Whether the Unicode related interfaces are compiled in

Macro: LIBXML_VALID_ENABLED

#define LIBXML_VALID_ENABLED

Whether the DTD validation support is configured in

Macro: LIBXML_VERSION

#define LIBXML_VERSION

the version number: 1.2.3 value is 1002003

-

Macro: LIBXML_VERSION_STRING

#define LIBXML_VERSION_STRING

the version number string, 1.2.3 value is "1002003"

+

Macro: LIBXML_VERSION_STRING

#define LIBXML_VERSION_STRING

the version number string, 1.2.3 value is "1002003"

Macro: LIBXML_WRITER_ENABLED

#define LIBXML_WRITER_ENABLED

Whether the xmlWriter saving interface is configured in

Macro: LIBXML_XINCLUDE_ENABLED

#define LIBXML_XINCLUDE_ENABLED

Whether XInclude is configured in

Macro: LIBXML_XPATH_ENABLED

#define LIBXML_XPATH_ENABLED

Whether XPath is configured in

diff --git a/doc/html/libxml-xmlwriter.html b/doc/html/libxml-xmlwriter.html index 01a3c7fd..66fa7184 100644 --- a/doc/html/libxml-xmlwriter.html +++ b/doc/html/libxml-xmlwriter.html @@ -29,61 +29,61 @@ The content of this structure is not made public by the API.
int	xmlTextWriterFlush		(xmlTextWriterPtr writer)
int	xmlTextWriterFullEndElement	(xmlTextWriterPtr writer)
int	xmlTextWriterSetIndent		(xmlTextWriterPtr writer, 
int indent)
-
int	xmlTextWriterSetIndentString	(xmlTextWriterPtr writer, 
xmlChar * str)
-
int	xmlTextWriterStartAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name)
-
int	xmlTextWriterStartAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI)
+
int	xmlTextWriterSetIndentString	(xmlTextWriterPtr writer, 
xmlChar * str)
+
int	xmlTextWriterStartAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name)
+
int	xmlTextWriterStartAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI)
int	xmlTextWriterStartCDATA		(xmlTextWriterPtr writer)
-
int	xmlTextWriterStartDTD		(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid)
-
int	xmlTextWriterStartDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name)
-
int	xmlTextWriterStartDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name)
-
int	xmlTextWriterStartDTDEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name)
+
int	xmlTextWriterStartDTD		(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid)
+
int	xmlTextWriterStartDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name)
+
int	xmlTextWriterStartDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name)
+
int	xmlTextWriterStartDTDEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name)
int	xmlTextWriterStartDocument	(xmlTextWriterPtr writer, 
const char * version,
const char * encoding,
const char * standalone)
-
int	xmlTextWriterStartElement	(xmlTextWriterPtr writer, 
const xmlChar * name)
-
int	xmlTextWriterStartElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI)
-
int	xmlTextWriterStartPI		(xmlTextWriterPtr writer, 
const xmlChar * target)
-
int	xmlTextWriterWriteAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)
-
int	xmlTextWriterWriteAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const xmlChar * content)
+
int	xmlTextWriterStartElement	(xmlTextWriterPtr writer, 
const xmlChar * name)
+
int	xmlTextWriterStartElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI)
+
int	xmlTextWriterStartPI		(xmlTextWriterPtr writer, 
const xmlChar * target)
+
int	xmlTextWriterWriteAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)
+
int	xmlTextWriterWriteAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const xmlChar * content)
int	xmlTextWriterWriteBase64	(xmlTextWriterPtr writer, 
const char * data,
int start,
int len)
int	xmlTextWriterWriteBinHex	(xmlTextWriterPtr writer, 
const char * data,
int start,
int len)
-
int	xmlTextWriterWriteCDATA		(xmlTextWriterPtr writer, 
const xmlChar * content)
-
int	xmlTextWriterWriteComment	(xmlTextWriterPtr writer, 
const xmlChar * content)
-
int	xmlTextWriterWriteDTD		(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * subset)
-
int	xmlTextWriterWriteDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)
-
int	xmlTextWriterWriteDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)
-
int	xmlTextWriterWriteDTDEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * ndataid,
const xmlChar * content)
-
int	xmlTextWriterWriteDTDExternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * ndataid)
-
int	xmlTextWriterWriteDTDInternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const xmlChar * content)
-
int	xmlTextWriterWriteDTDNotation	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid)
-
int	xmlTextWriterWriteElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)
-
int	xmlTextWriterWriteElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const xmlChar * content)
-
int	xmlTextWriterWriteFormatAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)
-
int	xmlTextWriterWriteFormatAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
... ...)
+
int	xmlTextWriterWriteCDATA		(xmlTextWriterPtr writer, 
const xmlChar * content)
+
int	xmlTextWriterWriteComment	(xmlTextWriterPtr writer, 
const xmlChar * content)
+
int	xmlTextWriterWriteDTD		(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * subset)
+
int	xmlTextWriterWriteDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)
+
int	xmlTextWriterWriteDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)
+
int	xmlTextWriterWriteDTDEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * ndataid,
const xmlChar * content)
+
int	xmlTextWriterWriteDTDExternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * ndataid)
+
int	xmlTextWriterWriteDTDInternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const xmlChar * content)
+
int	xmlTextWriterWriteDTDNotation	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid)
+
int	xmlTextWriterWriteElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)
+
int	xmlTextWriterWriteElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const xmlChar * content)
+
int	xmlTextWriterWriteFormatAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)
+
int	xmlTextWriterWriteFormatAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
... ...)
int	xmlTextWriterWriteFormatCDATA	(xmlTextWriterPtr writer, 
const char * format,
... ...)
int	xmlTextWriterWriteFormatComment	(xmlTextWriterPtr writer, 
const char * format,
... ...)
-
int	xmlTextWriterWriteFormatDTD	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const char * format,
... ...)
-
int	xmlTextWriterWriteFormatDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)
-
int	xmlTextWriterWriteFormatDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)
-
int	xmlTextWriterWriteFormatDTDInternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const char * format,
... ...)
-
int	xmlTextWriterWriteFormatElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)
-
int	xmlTextWriterWriteFormatElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
... ...)
-
int	xmlTextWriterWriteFormatPI	(xmlTextWriterPtr writer, 
const xmlChar * target,
const char * format,
... ...)
+
int	xmlTextWriterWriteFormatDTD	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const char * format,
... ...)
+
int	xmlTextWriterWriteFormatDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)
+
int	xmlTextWriterWriteFormatDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)
+
int	xmlTextWriterWriteFormatDTDInternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const char * format,
... ...)
+
int	xmlTextWriterWriteFormatElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)
+
int	xmlTextWriterWriteFormatElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
... ...)
+
int	xmlTextWriterWriteFormatPI	(xmlTextWriterPtr writer, 
const xmlChar * target,
const char * format,
... ...)
int	xmlTextWriterWriteFormatRaw	(xmlTextWriterPtr writer, 
const char * format,
... ...)
int	xmlTextWriterWriteFormatString	(xmlTextWriterPtr writer, 
const char * format,
... ...)
-
int	xmlTextWriterWritePI		(xmlTextWriterPtr writer, 
const xmlChar * target,
const xmlChar * content)
-
int	xmlTextWriterWriteRaw		(xmlTextWriterPtr writer, 
const xmlChar * content)
-
int	xmlTextWriterWriteRawLen	(xmlTextWriterPtr writer, 
const xmlChar * content,
int len)
-
int	xmlTextWriterWriteString	(xmlTextWriterPtr writer, 
const xmlChar * content)
-
int	xmlTextWriterWriteVFormatAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)
-
int	xmlTextWriterWriteVFormatAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
va_list argptr)
+
int	xmlTextWriterWritePI		(xmlTextWriterPtr writer, 
const xmlChar * target,
const xmlChar * content)
+
int	xmlTextWriterWriteRaw		(xmlTextWriterPtr writer, 
const xmlChar * content)
+
int	xmlTextWriterWriteRawLen	(xmlTextWriterPtr writer, 
const xmlChar * content,
int len)
+
int	xmlTextWriterWriteString	(xmlTextWriterPtr writer, 
const xmlChar * content)
+
int	xmlTextWriterWriteVFormatAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)
+
int	xmlTextWriterWriteVFormatAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
va_list argptr)
int	xmlTextWriterWriteVFormatCDATA	(xmlTextWriterPtr writer, 
const char * format,
va_list argptr)
int	xmlTextWriterWriteVFormatComment	(xmlTextWriterPtr writer, 
const char * format,
va_list argptr)
-
int	xmlTextWriterWriteVFormatDTD	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const char * format,
va_list argptr)
-
int	xmlTextWriterWriteVFormatDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)
-
int	xmlTextWriterWriteVFormatDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)
-
int	xmlTextWriterWriteVFormatDTDInternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const char * format,
va_list argptr)
-
int	xmlTextWriterWriteVFormatElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)
-
int	xmlTextWriterWriteVFormatElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
va_list argptr)
-
int	xmlTextWriterWriteVFormatPI	(xmlTextWriterPtr writer, 
const xmlChar * target,
const char * format,
va_list argptr)
+
int	xmlTextWriterWriteVFormatDTD	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const char * format,
va_list argptr)
+
int	xmlTextWriterWriteVFormatDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)
+
int	xmlTextWriterWriteVFormatDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)
+
int	xmlTextWriterWriteVFormatDTDInternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const char * format,
va_list argptr)
+
int	xmlTextWriterWriteVFormatElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)
+
int	xmlTextWriterWriteVFormatElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
va_list argptr)
+
int	xmlTextWriterWriteVFormatPI	(xmlTextWriterPtr writer, 
const xmlChar * target,
const char * format,
va_list argptr)
int	xmlTextWriterWriteVFormatRaw	(xmlTextWriterPtr writer, 
const char * format,
va_list argptr)
int	xmlTextWriterWriteVFormatString	(xmlTextWriterPtr writer, 
const char * format,
va_list argptr)

Description

@@ -126,115 +126,115 @@ The content of this structure is not made public by the API.

End the current xml element. Writes an end tag even if the element is empty

writer:the xmlTextWriterPtr
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterSetIndent

int	xmlTextWriterSetIndent		(xmlTextWriterPtr writer, 
int indent)

Set indentation output. indent = 0 do not indentation. indent > 0 do indentation.

-
writer:the xmlTextWriterPtr
indent:do indentation?
Returns:-1 on error or 0 otherwise.

Function: xmlTextWriterSetIndentString

int	xmlTextWriterSetIndentString	(xmlTextWriterPtr writer, 
xmlChar * str)
+
writer:the xmlTextWriterPtr
indent:do indentation?
Returns:-1 on error or 0 otherwise.

Function: xmlTextWriterSetIndentString

int	xmlTextWriterSetIndentString	(xmlTextWriterPtr writer, 
xmlChar * str)

Set string indentation.

-
writer:the xmlTextWriterPtr
str:the xmlChar string
Returns:-1 on error or 0 otherwise.

Function: xmlTextWriterStartAttribute

int	xmlTextWriterStartAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name)
+
writer:the xmlTextWriterPtr
str:the xmlChar string
Returns:-1 on error or 0 otherwise.

Function: xmlTextWriterStartAttribute

int	xmlTextWriterStartAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name)

Start an xml attribute.

-
writer:the xmlTextWriterPtr
name:element name
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterStartAttributeNS

int	xmlTextWriterStartAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI)
+
writer:the xmlTextWriterPtr
name:element name
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterStartAttributeNS

int	xmlTextWriterStartAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI)

Start an xml attribute with namespace support.

writer:the xmlTextWriterPtr
prefix:namespace prefix or NULL
name:element local name
namespaceURI:namespace URI or NULL
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterStartCDATA

int	xmlTextWriterStartCDATA		(xmlTextWriterPtr writer)

Start an xml CDATA section.

-
writer:the xmlTextWriterPtr
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterStartDTD

int	xmlTextWriterStartDTD		(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid)
+
writer:the xmlTextWriterPtr
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterStartDTD

int	xmlTextWriterStartDTD		(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid)

Start an xml DTD.

-
writer:the xmlTextWriterPtr
name:the name of the DTD
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterStartDTDAttlist

int	xmlTextWriterStartDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name)
+
writer:the xmlTextWriterPtr
name:the name of the DTD
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterStartDTDAttlist

int	xmlTextWriterStartDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name)

Start an xml DTD ATTLIST.

-
writer:the xmlTextWriterPtr
name:the name of the DTD ATTLIST
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterStartDTDElement

int	xmlTextWriterStartDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name)
+
writer:the xmlTextWriterPtr
name:the name of the DTD ATTLIST
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterStartDTDElement

int	xmlTextWriterStartDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name)

Start an xml DTD element.

-
writer:the xmlTextWriterPtr
name:the name of the DTD element
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterStartDTDEntity

int	xmlTextWriterStartDTDEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name)
+
writer:the xmlTextWriterPtr
name:the name of the DTD element
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterStartDTDEntity

int	xmlTextWriterStartDTDEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name)

Start an xml DTD ATTLIST.

writer:the xmlTextWriterPtr
pe:TRUE if this is a parameter entity, FALSE if not
name:the name of the DTD ATTLIST
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterStartDocument

int	xmlTextWriterStartDocument	(xmlTextWriterPtr writer, 
const char * version,
const char * encoding,
const char * standalone)

Start a new xml document

-
writer:the xmlTextWriterPtr
version:the xml version ("1.0") or NULL for default ("1.0")
encoding:the encoding or NULL for default
standalone:"yes" or "no" or NULL for default
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterStartElement

int	xmlTextWriterStartElement	(xmlTextWriterPtr writer, 
const xmlChar * name)
+
writer:the xmlTextWriterPtr
version:the xml version ("1.0") or NULL for default ("1.0")
encoding:the encoding or NULL for default
standalone:"yes" or "no" or NULL for default
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterStartElement

int	xmlTextWriterStartElement	(xmlTextWriterPtr writer, 
const xmlChar * name)

Start an xml element.

-
writer:the xmlTextWriterPtr
name:element name
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterStartElementNS

int	xmlTextWriterStartElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI)
+
writer:the xmlTextWriterPtr
name:element name
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterStartElementNS

int	xmlTextWriterStartElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI)

Start an xml element with namespace support.

-
writer:the xmlTextWriterPtr
prefix:namespace prefix or NULL
name:element local name
namespaceURI:namespace URI or NULL
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterStartPI

int	xmlTextWriterStartPI		(xmlTextWriterPtr writer, 
const xmlChar * target)
+
writer:the xmlTextWriterPtr
prefix:namespace prefix or NULL
name:element local name
namespaceURI:namespace URI or NULL
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterStartPI

int	xmlTextWriterStartPI		(xmlTextWriterPtr writer, 
const xmlChar * target)

Start an xml PI.

-
writer:the xmlTextWriterPtr
target:PI target
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteAttribute

int	xmlTextWriterWriteAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)
+
writer:the xmlTextWriterPtr
target:PI target
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteAttribute

int	xmlTextWriterWriteAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)

Write an xml attribute.

-
writer:the xmlTextWriterPtr
name:attribute name
content:attribute content
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteAttributeNS

int	xmlTextWriterWriteAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const xmlChar * content)
+
writer:the xmlTextWriterPtr
name:attribute name
content:attribute content
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteAttributeNS

int	xmlTextWriterWriteAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const xmlChar * content)

Write an xml attribute.

writer:the xmlTextWriterPtr
prefix:namespace prefix
name:attribute local name
namespaceURI:namespace URI
content:attribute content
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteBase64

int	xmlTextWriterWriteBase64	(xmlTextWriterPtr writer, 
const char * data,
int start,
int len)

Write an base64 encoded xml text.

writer:the xmlTextWriterPtr
data:binary data
start:the position within the data of the first byte to encode
len:the number of bytes to encode
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteBinHex

int	xmlTextWriterWriteBinHex	(xmlTextWriterPtr writer, 
const char * data,
int start,
int len)

Write a BinHex encoded xml text.

-
writer:the xmlTextWriterPtr
data:binary data
start:the position within the data of the first byte to encode
len:the number of bytes to encode
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteCDATA

int	xmlTextWriterWriteCDATA		(xmlTextWriterPtr writer, 
const xmlChar * content)
+
writer:the xmlTextWriterPtr
data:binary data
start:the position within the data of the first byte to encode
len:the number of bytes to encode
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteCDATA

int	xmlTextWriterWriteCDATA		(xmlTextWriterPtr writer, 
const xmlChar * content)

Write an xml CDATA.

-
writer:the xmlTextWriterPtr
content:CDATA content
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteComment

int	xmlTextWriterWriteComment	(xmlTextWriterPtr writer, 
const xmlChar * content)
+
writer:the xmlTextWriterPtr
content:CDATA content
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteComment

int	xmlTextWriterWriteComment	(xmlTextWriterPtr writer, 
const xmlChar * content)

Write an xml comment.

-
writer:the xmlTextWriterPtr
content:comment string
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteDTD

int	xmlTextWriterWriteDTD		(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * subset)
+
writer:the xmlTextWriterPtr
content:comment string
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteDTD

int	xmlTextWriterWriteDTD		(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * subset)

Write a DTD.

-
writer:the xmlTextWriterPtr
name:the name of the DTD
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
subset:string content of the DTD
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteDTDAttlist

int	xmlTextWriterWriteDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)
+
writer:the xmlTextWriterPtr
name:the name of the DTD
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
subset:string content of the DTD
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteDTDAttlist

int	xmlTextWriterWriteDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)

Write a DTD ATTLIST.

-
writer:the xmlTextWriterPtr
name:the name of the DTD ATTLIST
content:content of the ATTLIST
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteDTDElement

int	xmlTextWriterWriteDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)
+
writer:the xmlTextWriterPtr
name:the name of the DTD ATTLIST
content:content of the ATTLIST
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteDTDElement

int	xmlTextWriterWriteDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)

Write a DTD element.

-
writer:the xmlTextWriterPtr
name:the name of the DTD element
content:content of the element
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteDTDEntity

int	xmlTextWriterWriteDTDEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * ndataid,
const xmlChar * content)
+
writer:the xmlTextWriterPtr
name:the name of the DTD element
content:content of the element
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteDTDEntity

int	xmlTextWriterWriteDTDEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * ndataid,
const xmlChar * content)

Write a DTD entity.

-
writer:the xmlTextWriterPtr
pe:TRUE if this is a parameter entity, FALSE if not
name:the name of the DTD entity
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
ndataid:the xml notation name.
content:content of the entity
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteDTDExternalEntity

int	xmlTextWriterWriteDTDExternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * ndataid)
+
writer:the xmlTextWriterPtr
pe:TRUE if this is a parameter entity, FALSE if not
name:the name of the DTD entity
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
ndataid:the xml notation name.
content:content of the entity
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteDTDExternalEntity

int	xmlTextWriterWriteDTDExternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const xmlChar * ndataid)

Write a DTD internal entity.

-
writer:the xmlTextWriterPtr
pe:TRUE if this is a parameter entity, FALSE if not
name:the name of the DTD entity
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
ndataid:the xml notation name.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteDTDInternalEntity

int	xmlTextWriterWriteDTDInternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const xmlChar * content)
+
writer:the xmlTextWriterPtr
pe:TRUE if this is a parameter entity, FALSE if not
name:the name of the DTD entity
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
ndataid:the xml notation name.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteDTDInternalEntity

int	xmlTextWriterWriteDTDInternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const xmlChar * content)

Write a DTD internal entity.

-
writer:the xmlTextWriterPtr
pe:TRUE if this is a parameter entity, FALSE if not
name:the name of the DTD entity
content:content of the entity
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteDTDNotation

int	xmlTextWriterWriteDTDNotation	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid)
+
writer:the xmlTextWriterPtr
pe:TRUE if this is a parameter entity, FALSE if not
name:the name of the DTD entity
content:content of the entity
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteDTDNotation

int	xmlTextWriterWriteDTDNotation	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid)

Write a DTD entity.

-
writer:the xmlTextWriterPtr
name:the name of the xml notation
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteElement

int	xmlTextWriterWriteElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)
+
writer:the xmlTextWriterPtr
name:the name of the xml notation
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteElement

int	xmlTextWriterWriteElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * content)

Write an xml element.

-
writer:the xmlTextWriterPtr
name:element name
content:element content
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteElementNS

int	xmlTextWriterWriteElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const xmlChar * content)
+
writer:the xmlTextWriterPtr
name:element name
content:element content
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteElementNS

int	xmlTextWriterWriteElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const xmlChar * content)

Write an xml element with namespace support.

-
writer:the xmlTextWriterPtr
prefix:namespace prefix
name:element local name
namespaceURI:namespace URI
content:element content
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatAttribute

int	xmlTextWriterWriteFormatAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)
+
writer:the xmlTextWriterPtr
prefix:namespace prefix
name:element local name
namespaceURI:namespace URI
content:element content
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatAttribute

int	xmlTextWriterWriteFormatAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)

Write a formatted xml attribute.

-
writer:the xmlTextWriterPtr
name:attribute name
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatAttributeNS

int	xmlTextWriterWriteFormatAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
... ...)
+
writer:the xmlTextWriterPtr
name:attribute name
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatAttributeNS

int	xmlTextWriterWriteFormatAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
... ...)

Write a formatted xml attribute.with namespace support

writer:the xmlTextWriterPtr
prefix:namespace prefix
name:attribute local name
namespaceURI:namespace URI
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatCDATA

int	xmlTextWriterWriteFormatCDATA	(xmlTextWriterPtr writer, 
const char * format,
... ...)

Write a formatted xml CDATA.

writer:the xmlTextWriterPtr
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatComment

int	xmlTextWriterWriteFormatComment	(xmlTextWriterPtr writer, 
const char * format,
... ...)

Write an xml comment.

-
writer:the xmlTextWriterPtr
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatDTD

int	xmlTextWriterWriteFormatDTD	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const char * format,
... ...)
+
writer:the xmlTextWriterPtr
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatDTD

int	xmlTextWriterWriteFormatDTD	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const char * format,
... ...)

Write a DTD with a formatted markup declarations part.

-
writer:the xmlTextWriterPtr
name:the name of the DTD
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatDTDAttlist

int	xmlTextWriterWriteFormatDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)
+
writer:the xmlTextWriterPtr
name:the name of the DTD
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatDTDAttlist

int	xmlTextWriterWriteFormatDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)

Write a formatted DTD ATTLIST.

-
writer:the xmlTextWriterPtr
name:the name of the DTD ATTLIST
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatDTDElement

int	xmlTextWriterWriteFormatDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)
+
writer:the xmlTextWriterPtr
name:the name of the DTD ATTLIST
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatDTDElement

int	xmlTextWriterWriteFormatDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)

Write a formatted DTD element.

-
writer:the xmlTextWriterPtr
name:the name of the DTD element
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatDTDInternalEntity

int	xmlTextWriterWriteFormatDTDInternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const char * format,
... ...)
+
writer:the xmlTextWriterPtr
name:the name of the DTD element
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatDTDInternalEntity

int	xmlTextWriterWriteFormatDTDInternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const char * format,
... ...)

Write a formatted DTD internal entity.

-
writer:the xmlTextWriterPtr
pe:TRUE if this is a parameter entity, FALSE if not
name:the name of the DTD entity
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatElement

int	xmlTextWriterWriteFormatElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)
+
writer:the xmlTextWriterPtr
pe:TRUE if this is a parameter entity, FALSE if not
name:the name of the DTD entity
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatElement

int	xmlTextWriterWriteFormatElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
... ...)

Write a formatted xml element.

-
writer:the xmlTextWriterPtr
name:element name
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatElementNS

int	xmlTextWriterWriteFormatElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
... ...)
+
writer:the xmlTextWriterPtr
name:element name
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatElementNS

int	xmlTextWriterWriteFormatElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
... ...)

Write a formatted xml element with namespace support.

-
writer:the xmlTextWriterPtr
prefix:namespace prefix
name:element local name
namespaceURI:namespace URI
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatPI

int	xmlTextWriterWriteFormatPI	(xmlTextWriterPtr writer, 
const xmlChar * target,
const char * format,
... ...)
+
writer:the xmlTextWriterPtr
prefix:namespace prefix
name:element local name
namespaceURI:namespace URI
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatPI

int	xmlTextWriterWriteFormatPI	(xmlTextWriterPtr writer, 
const xmlChar * target,
const char * format,
... ...)

Write a formatted PI.

writer:the xmlTextWriterPtr
target:PI target
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatRaw

int	xmlTextWriterWriteFormatRaw	(xmlTextWriterPtr writer, 
const char * format,
... ...)

Write a formatted raw xml text.

writer:the xmlTextWriterPtr
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteFormatString

int	xmlTextWriterWriteFormatString	(xmlTextWriterPtr writer, 
const char * format,
... ...)

Write a formatted xml text.

-
writer:the xmlTextWriterPtr
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWritePI

int	xmlTextWriterWritePI		(xmlTextWriterPtr writer, 
const xmlChar * target,
const xmlChar * content)
+
writer:the xmlTextWriterPtr
format:format string (see printf)
...:extra parameters for the format
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWritePI

int	xmlTextWriterWritePI		(xmlTextWriterPtr writer, 
const xmlChar * target,
const xmlChar * content)

Write an xml PI.

-
writer:the xmlTextWriterPtr
target:PI target
content:PI content
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteRaw

int	xmlTextWriterWriteRaw		(xmlTextWriterPtr writer, 
const xmlChar * content)
+
writer:the xmlTextWriterPtr
target:PI target
content:PI content
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteRaw

int	xmlTextWriterWriteRaw		(xmlTextWriterPtr writer, 
const xmlChar * content)

Write a raw xml text.

-
writer:the xmlTextWriterPtr
content:text string
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteRawLen

int	xmlTextWriterWriteRawLen	(xmlTextWriterPtr writer, 
const xmlChar * content,
int len)
+
writer:the xmlTextWriterPtr
content:text string
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteRawLen

int	xmlTextWriterWriteRawLen	(xmlTextWriterPtr writer, 
const xmlChar * content,
int len)

Write an xml text. TODO: what about entities and special chars??

-
writer:the xmlTextWriterPtr
content:text string
len:length of the text string
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteString

int	xmlTextWriterWriteString	(xmlTextWriterPtr writer, 
const xmlChar * content)
+
writer:the xmlTextWriterPtr
content:text string
len:length of the text string
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteString

int	xmlTextWriterWriteString	(xmlTextWriterPtr writer, 
const xmlChar * content)

Write an xml text.

-
writer:the xmlTextWriterPtr
content:text string
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatAttribute

int	xmlTextWriterWriteVFormatAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)
+
writer:the xmlTextWriterPtr
content:text string
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatAttribute

int	xmlTextWriterWriteVFormatAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)

Write a formatted xml attribute.

-
writer:the xmlTextWriterPtr
name:attribute name
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatAttributeNS

int	xmlTextWriterWriteVFormatAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
va_list argptr)
+
writer:the xmlTextWriterPtr
name:attribute name
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatAttributeNS

int	xmlTextWriterWriteVFormatAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
va_list argptr)

Write a formatted xml attribute.with namespace support

writer:the xmlTextWriterPtr
prefix:namespace prefix
name:attribute local name
namespaceURI:namespace URI
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatCDATA

int	xmlTextWriterWriteVFormatCDATA	(xmlTextWriterPtr writer, 
const char * format,
va_list argptr)

Write a formatted xml CDATA.

writer:the xmlTextWriterPtr
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatComment

int	xmlTextWriterWriteVFormatComment	(xmlTextWriterPtr writer, 
const char * format,
va_list argptr)

Write an xml comment.

-
writer:the xmlTextWriterPtr
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatDTD

int	xmlTextWriterWriteVFormatDTD	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const char * format,
va_list argptr)
+
writer:the xmlTextWriterPtr
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatDTD

int	xmlTextWriterWriteVFormatDTD	(xmlTextWriterPtr writer, 
const xmlChar * name,
const xmlChar * pubid,
const xmlChar * sysid,
const char * format,
va_list argptr)

Write a DTD with a formatted markup declarations part.

-
writer:the xmlTextWriterPtr
name:the name of the DTD
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatDTDAttlist

int	xmlTextWriterWriteVFormatDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)
+
writer:the xmlTextWriterPtr
name:the name of the DTD
pubid:the public identifier, which is an alternative to the system identifier
sysid:the system identifier, which is the URI of the DTD
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatDTDAttlist

int	xmlTextWriterWriteVFormatDTDAttlist	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)

Write a formatted DTD ATTLIST.

-
writer:the xmlTextWriterPtr
name:the name of the DTD ATTLIST
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatDTDElement

int	xmlTextWriterWriteVFormatDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)
+
writer:the xmlTextWriterPtr
name:the name of the DTD ATTLIST
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatDTDElement

int	xmlTextWriterWriteVFormatDTDElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)

Write a formatted DTD element.

-
writer:the xmlTextWriterPtr
name:the name of the DTD element
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatDTDInternalEntity

int	xmlTextWriterWriteVFormatDTDInternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const char * format,
va_list argptr)
+
writer:the xmlTextWriterPtr
name:the name of the DTD element
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatDTDInternalEntity

int	xmlTextWriterWriteVFormatDTDInternalEntity	(xmlTextWriterPtr writer, 
int pe,
const xmlChar * name,
const char * format,
va_list argptr)

Write a formatted DTD internal entity.

-
writer:the xmlTextWriterPtr
pe:TRUE if this is a parameter entity, FALSE if not
name:the name of the DTD entity
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatElement

int	xmlTextWriterWriteVFormatElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)
+
writer:the xmlTextWriterPtr
pe:TRUE if this is a parameter entity, FALSE if not
name:the name of the DTD entity
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatElement

int	xmlTextWriterWriteVFormatElement	(xmlTextWriterPtr writer, 
const xmlChar * name,
const char * format,
va_list argptr)

Write a formatted xml element.

-
writer:the xmlTextWriterPtr
name:element name
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatElementNS

int	xmlTextWriterWriteVFormatElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
va_list argptr)
+
writer:the xmlTextWriterPtr
name:element name
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatElementNS

int	xmlTextWriterWriteVFormatElementNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI,
const char * format,
va_list argptr)

Write a formatted xml element with namespace support.

-
writer:the xmlTextWriterPtr
prefix:namespace prefix
name:element local name
namespaceURI:namespace URI
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatPI

int	xmlTextWriterWriteVFormatPI	(xmlTextWriterPtr writer, 
const xmlChar * target,
const char * format,
va_list argptr)
+
writer:the xmlTextWriterPtr
prefix:namespace prefix
name:element local name
namespaceURI:namespace URI
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatPI

int	xmlTextWriterWriteVFormatPI	(xmlTextWriterPtr writer, 
const xmlChar * target,
const char * format,
va_list argptr)

Write a formatted xml PI.

writer:the xmlTextWriterPtr
target:PI target
format:format string (see printf)
argptr:pointer to the first member of the variable argument list.
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterWriteVFormatRaw

int	xmlTextWriterWriteVFormatRaw	(xmlTextWriterPtr writer, 
const char * format,
va_list argptr)

Write a formatted raw xml text.

diff --git a/doc/html/libxml-xpath.html b/doc/html/libxml-xpath.html index 355f022c..2afd717a 100644 --- a/doc/html/libxml-xpath.html +++ b/doc/html/libxml-xpath.html @@ -35,21 +35,21 @@ The content of this structure is not made public by the API. xmlXPathObjectPtr xmlXPathAxisFunc (xmlXPathParserContextPtr ctxt,
xmlXPathObjectPtr cur)
double	xmlXPathCastBooleanToNumber	(int val)
-
xmlChar *	xmlXPathCastBooleanToString	(int val)
+
xmlChar *	xmlXPathCastBooleanToString	(int val)
int	xmlXPathCastNodeSetToBoolean	(xmlNodeSetPtr ns)
double	xmlXPathCastNodeSetToNumber	(xmlNodeSetPtr ns)
-
xmlChar *	xmlXPathCastNodeSetToString	(xmlNodeSetPtr ns)
+
xmlChar *	xmlXPathCastNodeSetToString	(xmlNodeSetPtr ns)
double	xmlXPathCastNodeToNumber	(xmlNodePtr node)
-
xmlChar *	xmlXPathCastNodeToString	(xmlNodePtr node)
+
xmlChar *	xmlXPathCastNodeToString	(xmlNodePtr node)
int	xmlXPathCastNumberToBoolean	(double val)
-
xmlChar *	xmlXPathCastNumberToString	(double val)
-
int	xmlXPathCastStringToBoolean	(const xmlChar * val)
-
double	xmlXPathCastStringToNumber	(const xmlChar * val)
+
xmlChar *	xmlXPathCastNumberToString	(double val)
+
int	xmlXPathCastStringToBoolean	(const xmlChar * val)
+
double	xmlXPathCastStringToNumber	(const xmlChar * val)
int	xmlXPathCastToBoolean		(xmlXPathObjectPtr val)
double	xmlXPathCastToNumber		(xmlXPathObjectPtr val)
-
xmlChar *	xmlXPathCastToString	(xmlXPathObjectPtr val)
+
xmlChar *	xmlXPathCastToString	(xmlXPathObjectPtr val)
int	xmlXPathCmpNodes		(xmlNodePtr node1, 
xmlNodePtr node2)
-
xmlXPathCompExprPtr	xmlXPathCompile	(const xmlChar * str)
+
xmlXPathCompExprPtr	xmlXPathCompile	(const xmlChar * str)
xmlXPathObjectPtr	xmlXPathCompiledEval	(xmlXPathCompExprPtr comp, 
xmlXPathContextPtr ctx)
xmlXPathObjectPtr	xmlXPathConvertBoolean	(xmlXPathObjectPtr val)
Function type: xmlXPathConvertFunc
@@ -57,8 +57,8 @@ int	xmlXPathConvertFunc		(xmlXPathObjectPtr	xmlXPathConvertNumber	(xmlXPathObjectPtr val)
xmlXPathObjectPtr	xmlXPathConvertString	(xmlXPathObjectPtr val)
-
xmlXPathObjectPtr	xmlXPathEval	(const xmlChar * str, 
xmlXPathContextPtr ctx)
-
xmlXPathObjectPtr	xmlXPathEvalExpression	(const xmlChar * str, 
xmlXPathContextPtr ctxt)
+
xmlXPathObjectPtr	xmlXPathEval	(const xmlChar * str, 
xmlXPathContextPtr ctx)
+
xmlXPathObjectPtr	xmlXPathEvalExpression	(const xmlChar * str, 
xmlXPathContextPtr ctxt)
Function type: xmlXPathEvalFunc
 void	xmlXPathEvalFunc		(xmlXPathParserContextPtr ctxt, 
int nargs)
@@ -87,7 +87,7 @@ void xmlXPathFunction (xmlNodePtr * nodeTab : array of nodes in no particular order @ }

Structure xmlXPathAxis

Structure xmlXPathAxis
struct _xmlXPathAxis { - const xmlChar * name : the axis name + const xmlChar * name : the axis name xmlXPathAxisFunc func : the search function }

Structure xmlXPathCompExpr

Structure xmlXPathCompExpr
struct _xmlXPathCompExpr { The content of this structure is not made public by the API. @@ -118,8 +118,8 @@ The content of this structure is not made public by the API. void * varLookupFunc : variable lookup func void * varLookupData : variable lookup data Possibility to lin void * extra : needed for XSLT The function name and U - const xmlChar * function - const xmlChar * functionURI : function lookup function and data + const xmlChar * function + const xmlChar * functionURI : function lookup function and data void * funcLookupFunc : function lookup func void * funcLookupData : function lookup data temporary namespac xmlNsPtr * tmpNsList : Array of namespaces @@ -153,14 +153,14 @@ The content of this structure is not made public by the API. XPATH_INVALID_CHAR_ERROR = 21 }

Structure xmlXPathFunct

Structure xmlXPathFunct
struct _xmlXPathFunct { - const xmlChar * name : the function name + const xmlChar * name : the function name xmlXPathEvalFunc func : the evaluation function }

Structure xmlXPathObject

Structure xmlXPathObject
struct _xmlXPathObject { xmlXPathObjectType type xmlNodeSetPtr nodesetval int boolval double floatval - xmlChar * stringval + xmlChar * stringval void * user int index void * user2 @@ -178,8 +178,8 @@ The content of this structure is not made public by the API. XPATH_XSLT_TREE = 9 : An XSLT value tree, non modifiable }

Structure xmlXPathParserContext

Structure xmlXPathParserContext
struct _xmlXPathParserContext { - const xmlChar * cur : the current char being parsed - const xmlChar * base : the full expression + const xmlChar * cur : the current char being parsed + const xmlChar * base : the full expression int error : error code xmlXPathContextPtr context : the evaluation context xmlXPathObjectPtr value : the current value @@ -190,45 +190,45 @@ The content of this structure is not made public by the API. int xptr : it this an XPointer expression xmlNodePtr ancestor : used for walking preceding axis }

Structure xmlXPathType

Structure xmlXPathType
struct _xmlXPathType { - const xmlChar * name : the type name + const xmlChar * name : the type name xmlXPathConvertFunc func : the conversion function }

Structure xmlXPathVariable

Structure xmlXPathVariable
struct _xmlXPathVariable { - const xmlChar * name : the variable name + const xmlChar * name : the variable name xmlXPathObjectPtr value : the value }

Function type: xmlXPathAxisFunc

Function type: xmlXPathAxisFunc
 xmlXPathObjectPtr	xmlXPathAxisFunc	(xmlXPathParserContextPtr ctxt, 
xmlXPathObjectPtr cur)

An axis traversal function. To traverse an axis, the engine calls the first time with cur == NULL and repeat until the function returns NULL indicating the end of the axis traversal.

ctxt:the XPath interpreter context
cur:the previous node being explored on that axis
Returns:the next node in that axis or NULL if at the end of the axis.

Function: xmlXPathCastBooleanToNumber

double	xmlXPathCastBooleanToNumber	(int val)

Converts a boolean to its number value

-
val:a boolean
Returns:the number value

Function: xmlXPathCastBooleanToString

xmlChar *	xmlXPathCastBooleanToString	(int val)
+
val:a boolean
Returns:the number value

Function: xmlXPathCastBooleanToString

xmlChar *	xmlXPathCastBooleanToString	(int val)

Converts a boolean to its string value.

val:a boolean
Returns:a newly allocated string.

Function: xmlXPathCastNodeSetToBoolean

int	xmlXPathCastNodeSetToBoolean	(xmlNodeSetPtr ns)

Converts a node-set to its boolean value

ns:a node-set
Returns:the boolean value

Function: xmlXPathCastNodeSetToNumber

double	xmlXPathCastNodeSetToNumber	(xmlNodeSetPtr ns)

Converts a node-set to its number value

-
ns:a node-set
Returns:the number value

Function: xmlXPathCastNodeSetToString

xmlChar *	xmlXPathCastNodeSetToString	(xmlNodeSetPtr ns)
+
ns:a node-set
Returns:the number value

Function: xmlXPathCastNodeSetToString

xmlChar *	xmlXPathCastNodeSetToString	(xmlNodeSetPtr ns)

Converts a node-set to its string value.

ns:a node-set
Returns:a newly allocated string.

Function: xmlXPathCastNodeToNumber

double	xmlXPathCastNodeToNumber	(xmlNodePtr node)

Converts a node to its number value

-
node:a node
Returns:the number value

Function: xmlXPathCastNodeToString

xmlChar *	xmlXPathCastNodeToString	(xmlNodePtr node)
+
node:a node
Returns:the number value

Function: xmlXPathCastNodeToString

xmlChar *	xmlXPathCastNodeToString	(xmlNodePtr node)

Converts a node to its string value.

node:a node
Returns:a newly allocated string.

Function: xmlXPathCastNumberToBoolean

int	xmlXPathCastNumberToBoolean	(double val)

Converts a number to its boolean value

-
val:a number
Returns:the boolean value

Function: xmlXPathCastNumberToString

xmlChar *	xmlXPathCastNumberToString	(double val)
+
val:a number
Returns:the boolean value

Function: xmlXPathCastNumberToString

xmlChar *	xmlXPathCastNumberToString	(double val)

Converts a number to its string value.

-
val:a number
Returns:a newly allocated string.

Function: xmlXPathCastStringToBoolean

int	xmlXPathCastStringToBoolean	(const xmlChar * val)
+
val:a number
Returns:a newly allocated string.

Function: xmlXPathCastStringToBoolean

int	xmlXPathCastStringToBoolean	(const xmlChar * val)

Converts a string to its boolean value

-
val:a string
Returns:the boolean value

Function: xmlXPathCastStringToNumber

double	xmlXPathCastStringToNumber	(const xmlChar * val)
+
val:a string
Returns:the boolean value

Function: xmlXPathCastStringToNumber

double	xmlXPathCastStringToNumber	(const xmlChar * val)

Converts a string to its number value

val:a string
Returns:the number value

Function: xmlXPathCastToBoolean

int	xmlXPathCastToBoolean		(xmlXPathObjectPtr val)

Converts an XPath object to its boolean value

val:an XPath object
Returns:the boolean value

Function: xmlXPathCastToNumber

double	xmlXPathCastToNumber		(xmlXPathObjectPtr val)

Converts an XPath object to its number value

-
val:an XPath object
Returns:the number value

Function: xmlXPathCastToString

xmlChar *	xmlXPathCastToString	(xmlXPathObjectPtr val)
+
val:an XPath object
Returns:the number value

Function: xmlXPathCastToString

xmlChar *	xmlXPathCastToString	(xmlXPathObjectPtr val)

Converts an existing object to its string() equivalent

val:an XPath object
Returns:the string value of the object, NULL in case of error. A new string is allocated only if needed (@val isn't a string object).

Function: xmlXPathCmpNodes

int	xmlXPathCmpNodes		(xmlNodePtr node1, 
xmlNodePtr node2)

Compare two nodes w.r.t document order

-
node1:the first node
node2:the second node
Returns:-2 in case of error 1 if first point < second point, 0 if it's the same node, -1 otherwise

Function: xmlXPathCompile

xmlXPathCompExprPtr	xmlXPathCompile	(const xmlChar * str)
+
node1:the first node
node2:the second node
Returns:-2 in case of error 1 if first point < second point, 0 if it's the same node, -1 otherwise

Function: xmlXPathCompile

xmlXPathCompExprPtr	xmlXPathCompile	(const xmlChar * str)

Compile an XPath expression

str:the XPath expression
Returns:the xmlXPathCompExprPtr resulting from the compilation or NULL. the caller has to free the object.

Function: xmlXPathCompiledEval

xmlXPathObjectPtr	xmlXPathCompiledEval	(xmlXPathCompExprPtr comp, 
xmlXPathContextPtr ctx)

Evaluate the Precompiled XPath expression in the given context.

@@ -241,9 +241,9 @@ int xmlXPathConvertFunc (xmlXPath

Converts an existing object to its number() equivalent

val:an XPath object
Returns:the new object, the old one is freed (or the operation is done directly on @val)

Function: xmlXPathConvertString

xmlXPathObjectPtr	xmlXPathConvertString	(xmlXPathObjectPtr val)

Converts an existing object to its string() equivalent

-
val:an XPath object
Returns:the new object, the old one is freed (or the operation is done directly on @val)

Function: xmlXPathEval

xmlXPathObjectPtr	xmlXPathEval	(const xmlChar * str, 
xmlXPathContextPtr ctx)
+
val:an XPath object
Returns:the new object, the old one is freed (or the operation is done directly on @val)

Function: xmlXPathEval

xmlXPathObjectPtr	xmlXPathEval	(const xmlChar * str, 
xmlXPathContextPtr ctx)

Evaluate the XPath Location Path in the given context.

-
str:the XPath expression
ctx:the XPath context
Returns:the xmlXPathObjectPtr resulting from the evaluation or NULL. the caller has to free the object.

Function: xmlXPathEvalExpression

xmlXPathObjectPtr	xmlXPathEvalExpression	(const xmlChar * str, 
xmlXPathContextPtr ctxt)
+
str:the XPath expression
ctx:the XPath context
Returns:the xmlXPathObjectPtr resulting from the evaluation or NULL. the caller has to free the object.

Function: xmlXPathEvalExpression

xmlXPathObjectPtr	xmlXPathEvalExpression	(const xmlChar * str, 
xmlXPathContextPtr ctxt)

Evaluate the XPath expression in the given context.

str:the XPath expression
ctxt:the XPath context
Returns:the xmlXPathObjectPtr resulting from the evaluation or NULL. the caller has to free the object.

Function type: xmlXPathEvalFunc

Function type: xmlXPathEvalFunc
 void	xmlXPathEvalFunc		(xmlXPathParserContextPtr ctxt, 
int nargs) diff --git a/doc/html/libxml-xpathInternals.html b/doc/html/libxml-xpathInternals.html index 1e176d29..2cc3178a 100644 --- a/doc/html/libxml-xpathInternals.html +++ b/doc/html/libxml-xpathInternals.html @@ -33,14 +33,14 @@ A:link, A:visited, A:active { text-decoration: underline }
void	xmlXPathFloorFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
void	xmlXPathFreeParserContext	(xmlXPathParserContextPtr ctxt)
Function type: xmlXPathFuncLookupFunc
-xmlXPathFunction	xmlXPathFuncLookupFunc	(void * ctxt, 
const xmlChar * name,
const xmlChar * ns_uri) +xmlXPathFunction xmlXPathFuncLookupFunc (void * ctxt,
const xmlChar * name,
const xmlChar * ns_uri)
-
xmlXPathFunction	xmlXPathFunctionLookup	(xmlXPathContextPtr ctxt, 
const xmlChar * name)
-
xmlXPathFunction	xmlXPathFunctionLookupNS	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri)
+
xmlXPathFunction	xmlXPathFunctionLookup	(xmlXPathContextPtr ctxt, 
const xmlChar * name)
+
xmlXPathFunction	xmlXPathFunctionLookupNS	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri)
int	xmlXPathHasSameNodes		(xmlNodeSetPtr nodes1, 
xmlNodeSetPtr nodes2)
void	xmlXPathIdFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
xmlNodeSetPtr	xmlXPathIntersection	(xmlNodeSetPtr nodes1, 
xmlNodeSetPtr nodes2)
-
int	xmlXPathIsNodeType		(const xmlChar * name)
+
int	xmlXPathIsNodeType		(const xmlChar * name)
void	xmlXPathLangFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
void	xmlXPathLastFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
xmlNodeSetPtr	xmlXPathLeading		(xmlNodeSetPtr nodes1, 
xmlNodeSetPtr nodes2)
@@ -54,8 +54,8 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlXPathObjectPtr	xmlXPathNewFloat	(double val)
xmlXPathObjectPtr	xmlXPathNewNodeSet	(xmlNodePtr val)
xmlXPathObjectPtr	xmlXPathNewNodeSetList	(xmlNodeSetPtr val)
-
xmlXPathParserContextPtr	xmlXPathNewParserContext	(const xmlChar * str, 
xmlXPathContextPtr ctxt)
-
xmlXPathObjectPtr	xmlXPathNewString	(const xmlChar * val)
+
xmlXPathParserContextPtr	xmlXPathNewParserContext	(const xmlChar * str, 
xmlXPathContextPtr ctxt)
+
xmlXPathObjectPtr	xmlXPathNewString	(const xmlChar * val)
xmlXPathObjectPtr	xmlXPathNewValueTree	(xmlNodePtr val)
xmlNodePtr	xmlXPathNextAncestor	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
xmlNodePtr	xmlXPathNextAncestorOrSelf	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
@@ -86,31 +86,31 @@ A:link, A:visited, A:active { text-decoration: underline }
void	xmlXPathNormalizeFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
int	xmlXPathNotEqualValues		(xmlXPathParserContextPtr ctxt)
void	xmlXPathNotFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
-
const xmlChar *	xmlXPathNsLookup	(xmlXPathContextPtr ctxt, 
const xmlChar * prefix)
+
const xmlChar *	xmlXPathNsLookup	(xmlXPathContextPtr ctxt, 
const xmlChar * prefix)
void	xmlXPathNumberFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
-
xmlChar *	xmlXPathParseNCName	(xmlXPathParserContextPtr ctxt)
-
xmlChar *	xmlXPathParseName	(xmlXPathParserContextPtr ctxt)
+
xmlChar *	xmlXPathParseNCName	(xmlXPathParserContextPtr ctxt)
+
xmlChar *	xmlXPathParseName	(xmlXPathParserContextPtr ctxt)
int	xmlXPathPopBoolean		(xmlXPathParserContextPtr ctxt)
void *	xmlXPathPopExternal		(xmlXPathParserContextPtr ctxt)
xmlNodeSetPtr	xmlXPathPopNodeSet	(xmlXPathParserContextPtr ctxt)
double	xmlXPathPopNumber		(xmlXPathParserContextPtr ctxt)
-
xmlChar *	xmlXPathPopString	(xmlXPathParserContextPtr ctxt)
+
xmlChar *	xmlXPathPopString	(xmlXPathParserContextPtr ctxt)
void	xmlXPathPositionFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
void	xmlXPathRegisterAllFunctions	(xmlXPathContextPtr ctxt)
-
int	xmlXPathRegisterFunc		(xmlXPathContextPtr ctxt, 
const xmlChar * name,
xmlXPathFunction f)
+
int	xmlXPathRegisterFunc		(xmlXPathContextPtr ctxt, 
const xmlChar * name,
xmlXPathFunction f)
void	xmlXPathRegisterFuncLookup	(xmlXPathContextPtr ctxt, 
xmlXPathFuncLookupFunc f,
void * funcCtxt)
-
int	xmlXPathRegisterFuncNS		(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri,
xmlXPathFunction f)
-
int	xmlXPathRegisterNs		(xmlXPathContextPtr ctxt, 
const xmlChar * prefix,
const xmlChar * ns_uri)
-
int	xmlXPathRegisterVariable	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
xmlXPathObjectPtr value)
+
int	xmlXPathRegisterFuncNS		(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri,
xmlXPathFunction f)
+
int	xmlXPathRegisterNs		(xmlXPathContextPtr ctxt, 
const xmlChar * prefix,
const xmlChar * ns_uri)
+
int	xmlXPathRegisterVariable	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
xmlXPathObjectPtr value)
void	xmlXPathRegisterVariableLookup	(xmlXPathContextPtr ctxt, 
xmlXPathVariableLookupFunc f,
void * data)
-
int	xmlXPathRegisterVariableNS	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri,
xmlXPathObjectPtr value)
+
int	xmlXPathRegisterVariableNS	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri,
xmlXPathObjectPtr value)
void	xmlXPathRegisteredFuncsCleanup	(xmlXPathContextPtr ctxt)
void	xmlXPathRegisteredNsCleanup	(xmlXPathContextPtr ctxt)
void	xmlXPathRegisteredVariablesCleanup	(xmlXPathContextPtr ctxt)
void	xmlXPathRoot			(xmlXPathParserContextPtr ctxt)
void	xmlXPathRoundFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
void	xmlXPathStartsWithFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
-
double	xmlXPathStringEvalNumber	(const xmlChar * str)
+
double	xmlXPathStringEvalNumber	(const xmlChar * str)
void	xmlXPathStringFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
void	xmlXPathStringLengthFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
void	xmlXPathSubValues		(xmlXPathParserContextPtr ctxt)
@@ -123,15 +123,15 @@ A:link, A:visited, A:active { text-decoration: underline }
void	xmlXPathTranslateFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
void	xmlXPathTrueFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
void	xmlXPathValueFlipSign		(xmlXPathParserContextPtr ctxt)
-
xmlXPathObjectPtr	xmlXPathVariableLookup	(xmlXPathContextPtr ctxt, 
const xmlChar * name)
+
xmlXPathObjectPtr	xmlXPathVariableLookup	(xmlXPathContextPtr ctxt, 
const xmlChar * name)
Function type: xmlXPathVariableLookupFunc
-xmlXPathObjectPtr	xmlXPathVariableLookupFunc	(void * ctxt, 
const xmlChar * name,
const xmlChar * ns_uri) +xmlXPathObjectPtr xmlXPathVariableLookupFunc (void * ctxt,
const xmlChar * name,
const xmlChar * ns_uri)
-
xmlXPathObjectPtr	xmlXPathVariableLookupNS	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri)
+
xmlXPathObjectPtr	xmlXPathVariableLookupNS	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri)
xmlXPathObjectPtr	xmlXPathWrapCString	(char * val)
xmlXPathObjectPtr	xmlXPathWrapExternal	(void * val)
xmlXPathObjectPtr	xmlXPathWrapNodeSet	(xmlNodeSetPtr val)
-
xmlXPathObjectPtr	xmlXPathWrapString	(xmlChar * val)
+
xmlXPathObjectPtr	xmlXPathWrapString	(xmlChar * val)
void	xmlXPatherror			(xmlXPathParserContextPtr ctxt, 
const char * file,
int line,
int no)

Description

Macro: CAST_TO_BOOLEAN

#define CAST_TO_BOOLEAN

Macro to try to cast the value on the top of the XPath stack to a boolean.

@@ -208,11 +208,11 @@ A:link, A:visited, A:active { text-decoration: underline }
ctxt:the XPath Parser context
nargs:the number of arguments

Function: xmlXPathFreeParserContext

void	xmlXPathFreeParserContext	(xmlXPathParserContextPtr ctxt)

Free up an xmlXPathParserContext

ctxt:the context to free

Function type: xmlXPathFuncLookupFunc

Function type: xmlXPathFuncLookupFunc
-xmlXPathFunction	xmlXPathFuncLookupFunc	(void * ctxt, 
const xmlChar * name,
const xmlChar * ns_uri) +xmlXPathFunction xmlXPathFuncLookupFunc (void * ctxt,
const xmlChar * name,
const xmlChar * ns_uri)

Prototype for callbacks used to plug function lookup in the XPath engine.

ctxt:an XPath context
name:name of the function
ns_uri:the namespace name hosting this function
Returns:the XPath function or NULL if not found.

-

Function: xmlXPathFunctionLookup

xmlXPathFunction	xmlXPathFunctionLookup	(xmlXPathContextPtr ctxt, 
const xmlChar * name)
+

Function: xmlXPathFunctionLookup

xmlXPathFunction	xmlXPathFunctionLookup	(xmlXPathContextPtr ctxt, 
const xmlChar * name)

Search in the Function array of the context for the given function.

-
ctxt:the XPath context
name:the function name
Returns:the xmlXPathFunction or NULL if not found

Function: xmlXPathFunctionLookupNS

xmlXPathFunction	xmlXPathFunctionLookupNS	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri)
+
ctxt:the XPath context
name:the function name
Returns:the xmlXPathFunction or NULL if not found

Function: xmlXPathFunctionLookupNS

xmlXPathFunction	xmlXPathFunctionLookupNS	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri)

Search in the Function array of the context for the given function.

ctxt:the XPath context
name:the function name
ns_uri:the function namespace URI
Returns:the xmlXPathFunction or NULL if not found

Function: xmlXPathHasSameNodes

int	xmlXPathHasSameNodes		(xmlNodeSetPtr nodes1, 
xmlNodeSetPtr nodes2)

Implements the EXSLT - Sets has-same-nodes function: boolean set:has-same-node(node-set, node-set)

@@ -220,7 +220,7 @@ A:link, A:visited, A:active { text-decoration: underline }

Implement the id() XPath function node-set id(object) The id function selects elements by their unique ID (see [5.2.1 Unique IDs]). When the argument to id is of type node-set, then the result is the union of the result of applying id to the string value of each of the nodes in the argument node-set. When the argument to id is of any other type, the argument is converted to a string as if by a call to the string function; the string is split into a whitespace-separated list of tokens (whitespace is any sequence of characters matching the production S); the result is a node-set containing the elements in the same document as the context node that have a unique ID equal to any of the tokens in the list.

ctxt:the XPath Parser context
nargs:the number of arguments

Function: xmlXPathIntersection

xmlNodeSetPtr	xmlXPathIntersection	(xmlNodeSetPtr nodes1, 
xmlNodeSetPtr nodes2)

Implements the EXSLT - Sets intersection() function: node-set set:intersection (node-set, node-set)

-
nodes1:a node-set
nodes2:a node-set
Returns:a node set comprising the nodes that are within both the node sets passed as arguments

Function: xmlXPathIsNodeType

int	xmlXPathIsNodeType		(const xmlChar * name)
+
nodes1:a node-set
nodes2:a node-set
Returns:a node set comprising the nodes that are within both the node sets passed as arguments

Function: xmlXPathIsNodeType

int	xmlXPathIsNodeType		(const xmlChar * name)

Is the name given a NodeType one. [38] NodeType ::= 'comment' | 'text' | 'processing-instruction' | 'node'

name:a name string
Returns:1 if true 0 otherwise

Function: xmlXPathLangFunction

void	xmlXPathLangFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)

Implement the lang() XPath function boolean lang(string) The lang function returns true or false depending on whether the language of the context node as specified by xml:lang attributes is the same as or is a sublanguage of the language specified by the argument string. The language of the context node is determined by the value of the xml:lang attribute on the context node, or, if the context node has no xml:lang attribute, by the value of the xml:lang attribute on the nearest ancestor of the context node that has an xml:lang attribute. If there is no such attribute, then lang

@@ -248,38 +248,38 @@ A:link, A:visited, A:active { text-decoration: underline }

Create a new xmlXPathObjectPtr of type NodeSet and initialize it with the single Node @val

val:the NodePtr value
Returns:the newly created object.

Function: xmlXPathNewNodeSetList

xmlXPathObjectPtr	xmlXPathNewNodeSetList	(xmlNodeSetPtr val)

Create a new xmlXPathObjectPtr of type NodeSet and initialize it with the Nodeset @val

-
val:an existing NodeSet
Returns:the newly created object.

Function: xmlXPathNewParserContext

xmlXPathParserContextPtr	xmlXPathNewParserContext	(const xmlChar * str, 
xmlXPathContextPtr ctxt)
+
val:an existing NodeSet
Returns:the newly created object.

Function: xmlXPathNewParserContext

xmlXPathParserContextPtr	xmlXPathNewParserContext	(const xmlChar * str, 
xmlXPathContextPtr ctxt)

Create a new xmlXPathParserContext

-
str:the XPath expression
ctxt:the XPath context
Returns:the xmlXPathParserContext just allocated.

Function: xmlXPathNewString

xmlXPathObjectPtr	xmlXPathNewString	(const xmlChar * val)
+
str:the XPath expression
ctxt:the XPath context
Returns:the xmlXPathParserContext just allocated.

Function: xmlXPathNewString

xmlXPathObjectPtr	xmlXPathNewString	(const xmlChar * val)

Create a new xmlXPathObjectPtr of type string and of value @val

-
val:the xmlChar * value
Returns:the newly created object.

Function: xmlXPathNewValueTree

xmlXPathObjectPtr	xmlXPathNewValueTree	(xmlNodePtr val)
+
val:the xmlChar * value
Returns:the newly created object.

Function: xmlXPathNewValueTree

xmlXPathObjectPtr	xmlXPathNewValueTree	(xmlNodePtr val)

Create a new xmlXPathObjectPtr of type Value Tree (XSLT) and initialize it with the tree root @val

val:the NodePtr value
Returns:the newly created object.

Function: xmlXPathNextAncestor

xmlNodePtr	xmlXPathNextAncestor	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
-

Traversal function for the "ancestor" direction the ancestor axis contains the ancestors of the context node; the ancestors of the context node consist of the parent of context node and the parent's parent and so on; the nodes are ordered in reverse document order; thus the parent is the first node on the axis, and the parent's parent is the second node on the axis

+

Traversal function for the "ancestor" direction the ancestor axis contains the ancestors of the context node; the ancestors of the context node consist of the parent of context node and the parent's parent and so on; the nodes are ordered in reverse document order; thus the parent is the first node on the axis, and the parent's parent is the second node on the axis

ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis

Function: xmlXPathNextAncestorOrSelf

xmlNodePtr	xmlXPathNextAncestorOrSelf	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
-

Traversal function for the "ancestor-or-self" direction he ancestor-or-self axis contains the context node and ancestors of the context node in reverse document order; thus the context node is the first node on the axis, and the context node's parent the second; parent here is defined the same as with the parent axis.

+

Traversal function for the "ancestor-or-self" direction he ancestor-or-self axis contains the context node and ancestors of the context node in reverse document order; thus the context node is the first node on the axis, and the context node's parent the second; parent here is defined the same as with the parent axis.

ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis

Function: xmlXPathNextAttribute

xmlNodePtr	xmlXPathNextAttribute	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
-

Traversal function for the "attribute" direction TODO: support DTD inherited default attributes

+

Traversal function for the "attribute" direction TODO: support DTD inherited default attributes

ctxt:the XPath Parser context
cur:the current attribute in the traversal
Returns:the next element following that axis

Function: xmlXPathNextChild

xmlNodePtr	xmlXPathNextChild	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
-

Traversal function for the "child" direction The child axis contains the children of the context node in document order.

+

Traversal function for the "child" direction The child axis contains the children of the context node in document order.

ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis

Function: xmlXPathNextDescendant

xmlNodePtr	xmlXPathNextDescendant	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
-

Traversal function for the "descendant" direction the descendant axis contains the descendants of the context node in document order; a descendant is a child or a child of a child and so on.

+

Traversal function for the "descendant" direction the descendant axis contains the descendants of the context node in document order; a descendant is a child or a child of a child and so on.

ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis

Function: xmlXPathNextDescendantOrSelf

xmlNodePtr	xmlXPathNextDescendantOrSelf	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
-

Traversal function for the "descendant-or-self" direction the descendant-or-self axis contains the context node and the descendants of the context node in document order; thus the context node is the first node on the axis, and the first child of the context node is the second node on the axis

+

Traversal function for the "descendant-or-self" direction the descendant-or-self axis contains the context node and the descendants of the context node in document order; thus the context node is the first node on the axis, and the first child of the context node is the second node on the axis

ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis

Function: xmlXPathNextFollowing

xmlNodePtr	xmlXPathNextFollowing	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
-

Traversal function for the "following" direction The following axis contains all nodes in the same document as the context node that are after the context node in document order, excluding any descendants and excluding attribute nodes and namespace nodes; the nodes are ordered in document order

+

Traversal function for the "following" direction The following axis contains all nodes in the same document as the context node that are after the context node in document order, excluding any descendants and excluding attribute nodes and namespace nodes; the nodes are ordered in document order

ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis

Function: xmlXPathNextFollowingSibling

xmlNodePtr	xmlXPathNextFollowingSibling	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
-

Traversal function for the "following-sibling" direction The following-sibling axis contains the following siblings of the context node in document order.

+

Traversal function for the "following-sibling" direction The following-sibling axis contains the following siblings of the context node in document order.

ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis

Function: xmlXPathNextNamespace

xmlNodePtr	xmlXPathNextNamespace	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
-

Traversal function for the "namespace" direction the namespace axis contains the namespace nodes of the context node; the order of nodes on this axis is implementation-defined; the axis will be empty unless the context node is an element We keep the XML namespace node at the end of the list.

+

Traversal function for the "namespace" direction the namespace axis contains the namespace nodes of the context node; the order of nodes on this axis is implementation-defined; the axis will be empty unless the context node is an element We keep the XML namespace node at the end of the list.

ctxt:the XPath Parser context
cur:the current attribute in the traversal
Returns:the next element following that axis

Function: xmlXPathNextParent

xmlNodePtr	xmlXPathNextParent	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
-

Traversal function for the "parent" direction The parent axis contains the parent of the context node, if there is one.

+

Traversal function for the "parent" direction The parent axis contains the parent of the context node, if there is one.

ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis

Function: xmlXPathNextPreceding

xmlNodePtr	xmlXPathNextPreceding	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
-

Traversal function for the "preceding" direction the preceding axis contains all nodes in the same document as the context node that are before the context node in document order, excluding any ancestors and excluding attribute nodes and namespace nodes; the nodes are ordered in reverse document order

+

Traversal function for the "preceding" direction the preceding axis contains all nodes in the same document as the context node that are before the context node in document order, excluding any ancestors and excluding attribute nodes and namespace nodes; the nodes are ordered in reverse document order

ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis

Function: xmlXPathNextPrecedingSibling

xmlNodePtr	xmlXPathNextPrecedingSibling	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
-

Traversal function for the "preceding-sibling" direction The preceding-sibling axis contains the preceding siblings of the context node in reverse document order; the first preceding sibling is first on the axis; the sibling preceding that node is the second on the axis and so on.

+

Traversal function for the "preceding-sibling" direction The preceding-sibling axis contains the preceding siblings of the context node in reverse document order; the first preceding sibling is first on the axis; the sibling preceding that node is the second on the axis and so on.

ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis

Function: xmlXPathNextSelf

xmlNodePtr	xmlXPathNextSelf	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
-

Traversal function for the "self" direction The self axis contains just the context node itself

+

Traversal function for the "self" direction The self axis contains just the context node itself

ctxt:the XPath Parser context
cur:the current node in the traversal
Returns:the next element following that axis

Function: xmlXPathNodeLeading

xmlNodeSetPtr	xmlXPathNodeLeading	(xmlNodeSetPtr nodes, 
xmlNodePtr node)

Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set) @nodes is sorted by document order, then #exslSetsNodeLeadingSorted is called.

nodes:a node-set
node:a node
Returns:the nodes in @nodes that precede @node in document order, @nodes if @node is NULL or an empty node-set if @nodes doesn't contain @node

Function: xmlXPathNodeLeadingSorted

xmlNodeSetPtr	xmlXPathNodeLeadingSorted	(xmlNodeSetPtr nodes, 
xmlNodePtr node)
@@ -312,13 +312,13 @@ A:link, A:visited, A:active { text-decoration: underline }

Implement the equal operation on XPath objects content: @arg1 == @arg2

ctxt:the XPath Parser context
Returns:0 or 1 depending on the results of the test.

Function: xmlXPathNotFunction

void	xmlXPathNotFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)

Implement the not() XPath function boolean not(boolean) The not function returns true if its argument is false, and false otherwise.

-
ctxt:the XPath Parser context
nargs:the number of arguments

Function: xmlXPathNsLookup

const xmlChar *	xmlXPathNsLookup	(xmlXPathContextPtr ctxt, 
const xmlChar * prefix)
+
ctxt:the XPath Parser context
nargs:the number of arguments

Function: xmlXPathNsLookup

const xmlChar *	xmlXPathNsLookup	(xmlXPathContextPtr ctxt, 
const xmlChar * prefix)

Search in the namespace declaration array of the context for the given namespace name associated to the given prefix

ctxt:the XPath context
prefix:the namespace prefix value
Returns:the value or NULL if not found

Function: xmlXPathNumberFunction

void	xmlXPathNumberFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)

Implement the number() XPath function number number(object?)

-
ctxt:the XPath Parser context
nargs:the number of arguments

Function: xmlXPathParseNCName

xmlChar *	xmlXPathParseNCName	(xmlXPathParserContextPtr ctxt)
+
ctxt:the XPath Parser context
nargs:the number of arguments

Function: xmlXPathParseNCName

xmlChar *	xmlXPathParseNCName	(xmlXPathParserContextPtr ctxt)

parse an XML namespace non qualified name. [NS 3] NCName ::= (Letter | '_') (NCNameChar)* [NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender

-
ctxt:the XPath Parser context
Returns:the namespace name or NULL

Function: xmlXPathParseName

xmlChar *	xmlXPathParseName	(xmlXPathParserContextPtr ctxt)
+
ctxt:the XPath Parser context
Returns:the namespace name or NULL

Function: xmlXPathParseName

xmlChar *	xmlXPathParseName	(xmlXPathParserContextPtr ctxt)

parse an XML name [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)*

ctxt:the XPath Parser context
Returns:the namespace name or NULL

Function: xmlXPathPopBoolean

int	xmlXPathPopBoolean		(xmlXPathParserContextPtr ctxt)

Pops a boolean from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.

@@ -328,25 +328,25 @@ A:link, A:visited, A:active { text-decoration: underline }

Pops a node-set from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.

ctxt:an XPath parser context
Returns:the node-set

Function: xmlXPathPopNumber

double	xmlXPathPopNumber		(xmlXPathParserContextPtr ctxt)

Pops a number from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.

-
ctxt:an XPath parser context
Returns:the number

Function: xmlXPathPopString

xmlChar *	xmlXPathPopString	(xmlXPathParserContextPtr ctxt)
+
ctxt:an XPath parser context
Returns:the number

Function: xmlXPathPopString

xmlChar *	xmlXPathPopString	(xmlXPathParserContextPtr ctxt)

Pops a string from the stack, handling conversion if needed. Check error with #xmlXPathCheckError.

ctxt:an XPath parser context
Returns:the string

Function: xmlXPathPositionFunction

void	xmlXPathPositionFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)

Implement the position() XPath function number position() The position function returns the position of the context node in the context node list. The first position is 1, and so the last position will be equal to last().

ctxt:the XPath Parser context
nargs:the number of arguments

Function: xmlXPathRegisterAllFunctions

void	xmlXPathRegisterAllFunctions	(xmlXPathContextPtr ctxt)

Registers all default XPath functions in this context

-
ctxt:the XPath context

Function: xmlXPathRegisterFunc

int	xmlXPathRegisterFunc		(xmlXPathContextPtr ctxt, 
const xmlChar * name,
xmlXPathFunction f)
+
ctxt:the XPath context

Function: xmlXPathRegisterFunc

int	xmlXPathRegisterFunc		(xmlXPathContextPtr ctxt, 
const xmlChar * name,
xmlXPathFunction f)

Register a new function. If @f is NULL it unregisters the function

ctxt:the XPath context
name:the function name
f:the function implementation or NULL
Returns:0 in case of success, -1 in case of error

Function: xmlXPathRegisterFuncLookup

void	xmlXPathRegisterFuncLookup	(xmlXPathContextPtr ctxt, 
xmlXPathFuncLookupFunc f,
void * funcCtxt)

Registers an external mechanism to do function lookup.

-
ctxt:the XPath context
f:the lookup function
funcCtxt:the lookup data

Function: xmlXPathRegisterFuncNS

int	xmlXPathRegisterFuncNS		(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri,
xmlXPathFunction f)
+
ctxt:the XPath context
f:the lookup function
funcCtxt:the lookup data

Function: xmlXPathRegisterFuncNS

int	xmlXPathRegisterFuncNS		(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri,
xmlXPathFunction f)

Register a new function. If @f is NULL it unregisters the function

-
ctxt:the XPath context
name:the function name
ns_uri:the function namespace URI
f:the function implementation or NULL
Returns:0 in case of success, -1 in case of error

Function: xmlXPathRegisterNs

int	xmlXPathRegisterNs		(xmlXPathContextPtr ctxt, 
const xmlChar * prefix,
const xmlChar * ns_uri)
+
ctxt:the XPath context
name:the function name
ns_uri:the function namespace URI
f:the function implementation or NULL
Returns:0 in case of success, -1 in case of error

Function: xmlXPathRegisterNs

int	xmlXPathRegisterNs		(xmlXPathContextPtr ctxt, 
const xmlChar * prefix,
const xmlChar * ns_uri)

Register a new namespace. If @ns_uri is NULL it unregisters the namespace

-
ctxt:the XPath context
prefix:the namespace prefix
ns_uri:the namespace name
Returns:0 in case of success, -1 in case of error

Function: xmlXPathRegisterVariable

int	xmlXPathRegisterVariable	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
xmlXPathObjectPtr value)
+
ctxt:the XPath context
prefix:the namespace prefix
ns_uri:the namespace name
Returns:0 in case of success, -1 in case of error

Function: xmlXPathRegisterVariable

int	xmlXPathRegisterVariable	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
xmlXPathObjectPtr value)

Register a new variable value. If @value is NULL it unregisters the variable

ctxt:the XPath context
name:the variable name
value:the variable value or NULL
Returns:0 in case of success, -1 in case of error

Function: xmlXPathRegisterVariableLookup

void	xmlXPathRegisterVariableLookup	(xmlXPathContextPtr ctxt, 
xmlXPathVariableLookupFunc f,
void * data)

register an external mechanism to do variable lookup

-
ctxt:the XPath context
f:the lookup function
data:the lookup data

Function: xmlXPathRegisterVariableNS

int	xmlXPathRegisterVariableNS	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri,
xmlXPathObjectPtr value)
+
ctxt:the XPath context
f:the lookup function
data:the lookup data

Function: xmlXPathRegisterVariableNS

int	xmlXPathRegisterVariableNS	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri,
xmlXPathObjectPtr value)

Register a new variable value. If @value is NULL it unregisters the variable

ctxt:the XPath context
name:the variable name
ns_uri:the variable namespace URI
value:the variable value or NULL
Returns:0 in case of success, -1 in case of error

Function: xmlXPathRegisteredFuncsCleanup

void	xmlXPathRegisteredFuncsCleanup	(xmlXPathContextPtr ctxt)

Cleanup the XPath context data associated to registered functions

@@ -360,7 +360,7 @@ A:link, A:visited, A:active { text-decoration: underline }

Implement the round() XPath function number round(number) The round function returns the number that is closest to the argument and that is an integer. If there are two such numbers, then the one that is even is returned.

ctxt:the XPath Parser context
nargs:the number of arguments

Function: xmlXPathStartsWithFunction

void	xmlXPathStartsWithFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)

Implement the starts-with() XPath function boolean starts-with(string, string) The starts-with function returns true if the first argument string starts with the second argument string, and otherwise returns false.

-
ctxt:the XPath Parser context
nargs:the number of arguments

Function: xmlXPathStringEvalNumber

double	xmlXPathStringEvalNumber	(const xmlChar * str)
+
ctxt:the XPath Parser context
nargs:the number of arguments

Function: xmlXPathStringEvalNumber

double	xmlXPathStringEvalNumber	(const xmlChar * str)

[30a] Float ::= Number ('e' Digits?)? [30] Number ::= Digits ('.' Digits?)? | '.' Digits [31] Digits ::= [0-9]+ Compile a Number in the string In complement of the Number expression, this function also handles negative values : '-' Number.

str:A string to scan
Returns:the double value.

Function: xmlXPathStringFunction

void	xmlXPathStringFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)

Implement the string() XPath function string string(object?) The string function converts an object to a string as follows: - A node-set is converted to a string by returning the value of the node in the node-set that is first in document order. If the node-set is empty, an empty string is returned. - A number is converted to a string as follows + NaN is converted to the string NaN + positive zero is converted to the string 0 + negative zero is converted to the string 0 + positive infinity is converted to the string Infinity + negative infinity is converted to the string -Infinity + if the number is an integer, the number is represented in decimal form as a Number with no decimal point and no leading zeros, preceded by a minus sign (-) if the number is negative + otherwise, the number is represented in decimal form as a Number including a decimal point with at least one digit before the decimal point and at least one digit after the decimal point, preceded by a minus sign (-) if the number is negative; there must be no leading zeros before the decimal point apart possibly from the one required digit immediately before the decimal point; beyond the one required digit after the decimal point there must be as many, but only as many, more digits as are needed to uniquely distinguish the number from all other IEEE 754 numeric values. - The boolean false value is converted to the string false. The boolean true value is converted to the string true. If the argument is omitted, it defaults to a node-set with the context node as its only member.

@@ -369,11 +369,11 @@ A:link, A:visited, A:active { text-decoration: underline }
ctxt:the XPath Parser context
nargs:the number of arguments

Function: xmlXPathSubValues

void	xmlXPathSubValues		(xmlXPathParserContextPtr ctxt)

Implement the subtraction operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.

ctxt:the XPath Parser context

Function: xmlXPathSubstringAfterFunction

void	xmlXPathSubstringAfterFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
-

Implement the substring-after() XPath function string substring-after(string, string) The substring-after function returns the substring of the first argument string that follows the first occurrence of the second argument string in the first argument string, or the empty stringi if the first argument string does not contain the second argument string. For example, substring-after("1999/04/01","/") returns 04/01, and substring-after("1999/04/01","19") returns 99/04/01.

+

Implement the substring-after() XPath function string substring-after(string, string) The substring-after function returns the substring of the first argument string that follows the first occurrence of the second argument string in the first argument string, or the empty stringi if the first argument string does not contain the second argument string. For example, substring-after("1999/04/01","/") returns 04/01, and substring-after("1999/04/01","19") returns 99/04/01.

ctxt:the XPath Parser context
nargs:the number of arguments

Function: xmlXPathSubstringBeforeFunction

void	xmlXPathSubstringBeforeFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
-

Implement the substring-before() XPath function string substring-before(string, string) The substring-before function returns the substring of the first argument string that precedes the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not contain the second argument string. For example, substring-before("1999/04/01","/") returns 1999.

+

Implement the substring-before() XPath function string substring-before(string, string) The substring-before function returns the substring of the first argument string that precedes the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not contain the second argument string. For example, substring-before("1999/04/01","/") returns 1999.

ctxt:the XPath Parser context
nargs:the number of arguments

Function: xmlXPathSubstringFunction

void	xmlXPathSubstringFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
-

Implement the substring() XPath function string substring(string, number, number?) The substring function returns the substring of the first argument starting at the position specified in the second argument with length specified in the third argument. For example, substring("12345",2,3) returns "234". If the third argument is not specified, it returns the substring starting at the position specified in the second argument and continuing to the end of the string. For example, substring("12345",2) returns "2345". More precisely, each character in the string (see [3.6 Strings]) is considered to have a numeric position: the position of the first character is 1, the position of the second character is 2 and so on. The returned substring contains those characters for which the position of the character is greater than or equal to the second argument and, if the third argument is specified, less than the sum of the second and third arguments; the comparisons and addition used for the above follow the standard IEEE 754 rules. Thus: - substring("12345", 1.5, 2.6) returns "234" - substring("12345", 0, 3) returns "12" - substring("12345", 0 div 0, 3) returns "" - substring("12345", 1, 0 div 0) returns "" - substring("12345", -42, 1 div 0) returns "12345" - substring("12345", -1 div 0, 1 div 0) returns ""

+

Implement the substring() XPath function string substring(string, number, number?) The substring function returns the substring of the first argument starting at the position specified in the second argument with length specified in the third argument. For example, substring("12345",2,3) returns "234". If the third argument is not specified, it returns the substring starting at the position specified in the second argument and continuing to the end of the string. For example, substring("12345",2) returns "2345". More precisely, each character in the string (see [3.6 Strings]) is considered to have a numeric position: the position of the first character is 1, the position of the second character is 2 and so on. The returned substring contains those characters for which the position of the character is greater than or equal to the second argument and, if the third argument is specified, less than the sum of the second and third arguments; the comparisons and addition used for the above follow the standard IEEE 754 rules. Thus: - substring("12345", 1.5, 2.6) returns "234" - substring("12345", 0, 3) returns "12" - substring("12345", 0 div 0, 3) returns "" - substring("12345", 1, 0 div 0) returns "" - substring("12345", -42, 1 div 0) returns "12345" - substring("12345", -1 div 0, 1 div 0) returns ""

ctxt:the XPath Parser context
nargs:the number of arguments

Function: xmlXPathSumFunction

void	xmlXPathSumFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)

Implement the sum() XPath function number sum(node-set) The sum function returns the sum of the values of the nodes in the argument node-set.

ctxt:the XPath Parser context
nargs:the number of arguments

Function: xmlXPathTrailing

xmlNodeSetPtr	xmlXPathTrailing	(xmlNodeSetPtr nodes1, 
xmlNodeSetPtr nodes2)
@@ -381,17 +381,17 @@ A:link, A:visited, A:active { text-decoration: underline }
nodes1:a node-set
nodes2:a node-set
Returns:the nodes in @nodes1 that follow the first node in @nodes2 in document order, @nodes1 if @nodes2 is NULL or empty or an empty node-set if @nodes1 doesn't contain @nodes2

Function: xmlXPathTrailingSorted

xmlNodeSetPtr	xmlXPathTrailingSorted	(xmlNodeSetPtr nodes1, 
xmlNodeSetPtr nodes2)

Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set)

nodes1:a node-set, sorted by document order
nodes2:a node-set, sorted by document order
Returns:the nodes in @nodes1 that follow the first node in @nodes2 in document order, @nodes1 if @nodes2 is NULL or empty or an empty node-set if @nodes1 doesn't contain @nodes2

Function: xmlXPathTranslateFunction

void	xmlXPathTranslateFunction	(xmlXPathParserContextPtr ctxt, 
int nargs)
-

Implement the translate() XPath function string translate(string, string, string) The translate function returns the first argument string with occurrences of characters in the second argument string replaced by the character at the corresponding position in the third argument string. For example, translate("bar","abc","ABC") returns the string BAr. If there is a character in the second argument string with no character at a corresponding position in the third argument string (because the second argument string is longer than the third argument string), then occurrences of that character in the first argument string are removed. For example, translate("--aaa--","abc-","ABC")

+

Implement the translate() XPath function string translate(string, string, string) The translate function returns the first argument string with occurrences of characters in the second argument string replaced by the character at the corresponding position in the third argument string. For example, translate("bar","abc","ABC") returns the string BAr. If there is a character in the second argument string with no character at a corresponding position in the third argument string (because the second argument string is longer than the third argument string), then occurrences of that character in the first argument string are removed. For example, translate("--aaa--","abc-","ABC")

ctxt:the XPath Parser context
nargs:the number of arguments

Function: xmlXPathTrueFunction

void	xmlXPathTrueFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)

Implement the true() XPath function boolean true()

ctxt:the XPath Parser context
nargs:the number of arguments

Function: xmlXPathValueFlipSign

void	xmlXPathValueFlipSign		(xmlXPathParserContextPtr ctxt)

Implement the unary - operation on an XPath object The numeric operators convert their operands to numbers as if by calling the number function.

-
ctxt:the XPath Parser context

Function: xmlXPathVariableLookup

xmlXPathObjectPtr	xmlXPathVariableLookup	(xmlXPathContextPtr ctxt, 
const xmlChar * name)
+
ctxt:the XPath Parser context

Function: xmlXPathVariableLookup

xmlXPathObjectPtr	xmlXPathVariableLookup	(xmlXPathContextPtr ctxt, 
const xmlChar * name)

Search in the Variable array of the context for the given variable value.

ctxt:the XPath context
name:the variable name
Returns:a copy of the value or NULL if not found

Function type: xmlXPathVariableLookupFunc

Function type: xmlXPathVariableLookupFunc
-xmlXPathObjectPtr	xmlXPathVariableLookupFunc	(void * ctxt, 
const xmlChar * name,
const xmlChar * ns_uri) +xmlXPathObjectPtr xmlXPathVariableLookupFunc (void * ctxt,
const xmlChar * name,
const xmlChar * ns_uri)

Prototype for callbacks used to plug variable lookup in the XPath engine.

ctxt:an XPath context
name:name of the variable
ns_uri:the namespace name hosting this variable
Returns:the XPath object value or NULL if not found.

-

Function: xmlXPathVariableLookupNS

xmlXPathObjectPtr	xmlXPathVariableLookupNS	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri)
+

Function: xmlXPathVariableLookupNS

xmlXPathObjectPtr	xmlXPathVariableLookupNS	(xmlXPathContextPtr ctxt, 
const xmlChar * name,
const xmlChar * ns_uri)

Search in the Variable array of the context for the given variable value.

ctxt:the XPath context
name:the variable name
ns_uri:the variable namespace URI
Returns:the a copy of the value or NULL if not found

Function: xmlXPathWrapCString

xmlXPathObjectPtr	xmlXPathWrapCString	(char * val)

Wraps a string into an XPath object.

@@ -399,8 +399,8 @@ A:link, A:visited, A:active { text-decoration: underline }

Wraps the @val data into an XPath object.

val:the user data
Returns:the newly created object.

Function: xmlXPathWrapNodeSet

xmlXPathObjectPtr	xmlXPathWrapNodeSet	(xmlNodeSetPtr val)

Wrap the Nodeset @val in a new xmlXPathObjectPtr

-
val:the NodePtr value
Returns:the newly created object.

Function: xmlXPathWrapString

xmlXPathObjectPtr	xmlXPathWrapString	(xmlChar * val)
+
val:the NodePtr value
Returns:the newly created object.

Function: xmlXPathWrapString

xmlXPathObjectPtr	xmlXPathWrapString	(xmlChar * val)

Wraps the @val string into an XPath object.

-
val:the xmlChar * value
Returns:the newly created object.

Function: xmlXPatherror

void	xmlXPatherror			(xmlXPathParserContextPtr ctxt, 
const char * file,
int line,
int no)
+
val:the xmlChar * value
Returns:the newly created object.

Function: xmlXPatherror

void	xmlXPatherror			(xmlXPathParserContextPtr ctxt, 
const char * file,
int line,
int no)

Formats an error message.

ctxt:the XPath Parser context
file:the file name
line:the line number
no:the error number

Daniel Veillard

diff --git a/doc/html/libxml-xpointer.html b/doc/html/libxml-xpointer.html index 36255f5a..94944a05 100644 --- a/doc/html/libxml-xpointer.html +++ b/doc/html/libxml-xpointer.html @@ -13,7 +13,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module xpointer from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xpointer from libxml2

API Menu
API Indexes
Related links

API to handle XML Pointers Base implementation was made accordingly to W3C Candidate Recommendation 7 June 2000

Table of Contents

Structure xmlLocationSet
struct _xmlLocationSet
Typedef xmlLocationSet * xmlLocationSetPtr
 
xmlNodePtr	xmlXPtrBuildNodeList	(xmlXPathObjectPtr obj)
-
xmlXPathObjectPtr	xmlXPtrEval	(const xmlChar * str, 
xmlXPathContextPtr ctx)
+
xmlXPathObjectPtr	xmlXPtrEval	(const xmlChar * str, 
xmlXPathContextPtr ctx)
void	xmlXPtrEvalRangePredicate	(xmlXPathParserContextPtr ctxt)
void	xmlXPtrFreeLocationSet		(xmlLocationSetPtr obj)
void	xmlXPtrLocationSetAdd		(xmlLocationSetPtr cur, 
xmlXPathObjectPtr val)
@@ -40,7 +40,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathObjectPtr * locTab : array of locations }

Function: xmlXPtrBuildNodeList

xmlNodePtr	xmlXPtrBuildNodeList	(xmlXPathObjectPtr obj)

Build a node list tree copy of the XPointer result. This will drop Attributes and Namespace declarations.

-
obj:the XPointer result from the evaluation.
Returns:an xmlNodePtr list or NULL. the caller has to free the node tree.

Function: xmlXPtrEval

xmlXPathObjectPtr	xmlXPtrEval	(const xmlChar * str, 
xmlXPathContextPtr ctx)
+
obj:the XPointer result from the evaluation.
Returns:an xmlNodePtr list or NULL. the caller has to free the node tree.

Function: xmlXPtrEval

xmlXPathObjectPtr	xmlXPtrEval	(const xmlChar * str, 
xmlXPathContextPtr ctx)

Evaluate the XPath Location Path in the given context.

str:the XPointer expression
ctx:the XPointer context
Returns:the xmlXPathObjectPtr resulting from the evaluation or NULL. the caller has to free the object.

Function: xmlXPtrEvalRangePredicate

void	xmlXPtrEvalRangePredicate	(xmlXPathParserContextPtr ctxt)

[8] Predicate ::= '[' PredicateExpr ']' [9] PredicateExpr ::= Expr Evaluate a predicate as in xmlXPathEvalPredicate() but for a Location Set instead of a node set

diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml index 00c3b134..749dc759 100644 --- a/doc/libxml2-api.xml +++ b/doc/libxml2-api.xml @@ -407,35 +407,25 @@ + - + + + - + + - - - - - - - - - - - - - - - - + - + + interface for the XML entities handling @@ -709,16 +699,12 @@ - - - - @@ -726,33 +712,25 @@ - - - - - - + - - - @@ -761,14 +739,12 @@ - - - + @@ -786,7 +762,6 @@ - @@ -796,12 +771,10 @@ - - + - - + @@ -810,23 +783,20 @@ - - + - - - + internals routines exported by the parser. @@ -1159,12 +1129,11 @@ this module describes the structures found in an tree resulting from an XML or HTML parsing, as well as the API provided for various processing on that tree Daniel Veillard - - - - + + + @@ -1226,10 +1195,9 @@ - + - @@ -2464,6 +2432,43 @@ + + the core parser module + Interfaces, constants and types related to the XML parser + Daniel Veillard + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unicode character APIs API for the Unicode character APIs This file is automatically generated from the UCS description files of the Unicode Character Database @@ -3057,7 +3062,7 @@ Macro used to signal to GCC unused function parameters - + Macro to cast a string to an xmlChar * when one know its safe. @@ -4587,7 +4592,7 @@ if necessary or NULL'/> - + @@ -7063,12 +7068,12 @@ actually an xmlCharEncoding'/> - + a strdup for char's to xmlChar's - + a strndup for char's to xmlChar's @@ -7090,7 +7095,7 @@ actually an xmlCharEncoding'/> - + Checks @utf for being valid UTF-8. @utf is assumed to be null-terminated. This function is not super-strict, as it will allow longer UTF-8 sequences than necessary. Note that Java is capable of producing these sequences if provoked. Also note, this routine checks for the 4-byte maximum size, but does not check for 0x10ffff maximum value. @@ -8064,7 +8069,7 @@ actually an xmlCharEncoding'/> xmlGetThreadId() find the current thread ID number - + Read one UTF8 Char from @utf @@ -8738,9 +8743,9 @@ actually an xmlCharEncoding'/> - a free() equivalent, with error checking. + - + Provides the memory access functions set currently in use @@ -8751,15 +8756,15 @@ actually an xmlCharEncoding'/> - a malloc() equivalent, with logging of the allocation info. - - + + + - a realloc() equivalent, with logging of the allocation info. - - - + + + + Override the default memory access functions with a new set This has to be called before any other libxml routines ! Should this be blocked if there was already some allocations done ? @@ -8791,9 +8796,9 @@ actually an xmlCharEncoding'/> - a strdup() equivalent, with logging of the allocation info. - - + + + xmlMutexLock() is used to lock a libxml2 token. @@ -11347,13 +11352,13 @@ actually an xmlCharEncoding'/> - + Check if both string are equal of have same content Should be a bit more readable and faster than xmlStrEqual() - + Formats @msg and places result into @buf. @@ -11361,14 +11366,14 @@ actually an xmlCharEncoding'/> - + Check if a QName is Equal to a given string - + Formats @msg and places result into @buf. @@ -11376,37 +11381,37 @@ actually an xmlCharEncoding'/> - + a strcasecmp for xmlChar's - + a case-ignoring strstr for xmlChar's - + a strcat for array of xmlChar's. Since they are supposed to be encoded in UTF-8 or an encoding with 8bit based chars, we assume a termination mark of '0'. - + a strchr for xmlChar's - + a strcmp for xmlChar's - + a strdup for array of xmlChar's. Since they are supposed to be encoded in UTF-8 or an encoding with 8bit based chars, we assume a termination mark of '0'. @@ -11457,52 +11462,52 @@ actually an xmlCharEncoding'/> - + length of a xmlChar's string - + a strncasecmp for xmlChar's - + a strncat for array of xmlChar's, it will extend @cur with the len first bytes of @add. - + same as xmlStrncat, but creates a new string. The original two strings are not freed. - + a strncmp for xmlChar's - + a strndup for array of xmlChar's - + a strstr for xmlChar's - + Extract a substring of a given string @@ -13294,47 +13299,47 @@ actually an xmlCharEncoding'/> - + compares the two UCS4 values - + calculates the internal size of a UTF8 character - + compute the length of an UTF8 string, it doesn't do a full UTF8 checking of the content of the string. - + a function to provide the relative location of a UTF8 char - + a strndup for array of UTF8's - + a function to provide the equivalent of fetching a character from a string array - + storage size of an UTF8 string - + Create a substring from a given UTF-8 string Note: positions are given in units of UTF-8 chars diff --git a/doc/libxml2-refs.xml b/doc/libxml2-refs.xml index a8de0021..b3c5595c 100644 --- a/doc/libxml2-refs.xml +++ b/doc/libxml2-refs.xml @@ -2,7 +2,7 @@ - + @@ -1304,7 +1304,7 @@ - + @@ -1315,12 +1315,12 @@ - - + + - + @@ -1525,7 +1525,7 @@ - + @@ -2194,16 +2194,16 @@ - - - - - - - - - - + + + + + + + + + + @@ -2213,14 +2213,14 @@ - - - - - - - - + + + + + + + + @@ -2554,14 +2554,14 @@ - - - - - - - - + + + + + + + + @@ -8787,2925 +8787,2927 @@ - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + + - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + - - - - + + - + + + + + - - - - - - - - + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + - - - - - - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + - + + + + + + + + + + + + + + + + - - - - - + + - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + - + - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + - - - - + + + + - + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - + + + - - - - - - - - - - + - - - + + + - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - + + + - - - - + + - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - - - - - - - - - - - - + - - - + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + - - - - - - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + - - - - - + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - - - - - - - + + + + - - - - + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - + - - - - - + + + - + + + + - - - - - - - - - - - - - - - - - + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + - - + - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - + + + + + - - - - - - - + - - - - + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + - - - + - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + - - - - + + + + - - + + + + + + - - - - + - - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + - - - - - - - - - - - - - - - - - - - - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + - - - - - + + + + + - - - - - - + - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -15996,8 +15998,6 @@ - - @@ -16008,10 +16008,7 @@ - - - @@ -16283,8 +16280,6 @@ - - @@ -16720,8 +16715,6 @@ - - @@ -17011,7 +17004,6 @@ - @@ -18834,11 +18826,7 @@ - - - - @@ -20277,10 +20265,7 @@ - - - @@ -20354,9 +20339,7 @@ - - @@ -20475,6 +20458,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -20710,8 +20716,6 @@ - - @@ -21060,10 +21064,7 @@ - - - @@ -21162,7 +21163,6 @@ - @@ -21925,7 +21925,6 @@ - @@ -23114,7 +23113,6 @@ - @@ -24354,8 +24352,6 @@ - - @@ -24558,7 +24554,6 @@ - diff --git a/doc/search.php b/doc/search.php index 4f4b1566..5705d71a 100644 --- a/doc/search.php +++ b/doc/search.php @@ -90,6 +90,7 @@ A:link, A:visited, A:active { text-decoration: underline }
Search the documentation on XMLSoft.org"; diff --git a/encoding.c b/encoding.c index fd3623d1..928f3afa 100644 --- a/encoding.c +++ b/encoding.c @@ -17,9 +17,6 @@ * * daniel@veillard.com * - * UTF8 string routines from: - * "William M. Brack" - * * Original code for IsoLatin1 and UTF-16 by "Martin J. Duerst" */ @@ -73,388 +70,6 @@ static void xmlRegisterCharEncodingHandlersISO8859x (void); static int xmlLittleEndian = 1; -/************************************************************************ - * * - * Generic UTF8 handling routines * - * * - * From rfc2044: encoding of the Unicode values on UTF-8: * - * * - * UCS-4 range (hex.) UTF-8 octet sequence (binary) * - * 0000 0000-0000 007F 0xxxxxxx * - * 0000 0080-0000 07FF 110xxxxx 10xxxxxx * - * 0000 0800-0000 FFFF 1110xxxx 10xxxxxx 10xxxxxx * - * * - * I hope we won't use values > 0xFFFF anytime soon ! * - * * - ************************************************************************/ - -/** - * xmlUTF8Size: - * @utf: pointer to the UTF8 character - * - * calculates the internal size of a UTF8 character - * - * returns the numbers of bytes in the character, -1 on format error - */ -int -xmlUTF8Size(const xmlChar *utf) { - xmlChar mask; - int len; - - if (utf == NULL) - return -1; - if (*utf < 0x80) - return 1; - /* check valid UTF8 character */ - if (!(*utf & 0x40)) - return -1; - /* determine number of bytes in char */ - len = 2; - for (mask=0x20; mask != 0; mask>>=1) { - if (!(*utf & mask)) - return len; - len++; - } - return -1; -} - -/** - * xmlUTF8Charcmp: - * @utf1: pointer to first UTF8 char - * @utf2: pointer to second UTF8 char - * - * compares the two UCS4 values - * - * returns result of the compare as with xmlStrncmp - */ -int -xmlUTF8Charcmp(const xmlChar *utf1, const xmlChar *utf2) { - - if (utf1 == NULL ) { - if (utf2 == NULL) - return 0; - return -1; - } - return xmlStrncmp(utf1, utf2, xmlUTF8Size(utf1)); -} - -/** - * xmlUTF8Strlen: - * @utf: a sequence of UTF-8 encoded bytes - * - * compute the length of an UTF8 string, it doesn't do a full UTF8 - * checking of the content of the string. - * - * Returns the number of characters in the string or -1 in case of error - */ -int -xmlUTF8Strlen(const xmlChar *utf) { - int ret = 0; - - if (utf == NULL) - return(-1); - - while (*utf != 0) { - if (utf[0] & 0x80) { - if ((utf[1] & 0xc0) != 0x80) - return(-1); - if ((utf[0] & 0xe0) == 0xe0) { - if ((utf[2] & 0xc0) != 0x80) - return(-1); - if ((utf[0] & 0xf0) == 0xf0) { - if ((utf[0] & 0xf8) != 0xf0 || (utf[3] & 0xc0) != 0x80) - return(-1); - utf += 4; - } else { - utf += 3; - } - } else { - utf += 2; - } - } else { - utf++; - } - ret++; - } - return(ret); -} - -/** - * xmlGetUTF8Char: - * @utf: a sequence of UTF-8 encoded bytes - * @len: a pointer to @bytes len - * - * Read one UTF8 Char from @utf - * - * Returns the char value or -1 in case of error, and updates *len with the - * number of bytes consumed - */ -int -xmlGetUTF8Char(const unsigned char *utf, int *len) { - unsigned int c; - - if (utf == NULL) - goto error; - if (len == NULL) - goto error; - if (*len < 1) - goto error; - - c = utf[0]; - if (c & 0x80) { - if (*len < 2) - goto error; - if ((utf[1] & 0xc0) != 0x80) - goto error; - if ((c & 0xe0) == 0xe0) { - if (*len < 3) - goto error; - if ((utf[2] & 0xc0) != 0x80) - goto error; - if ((c & 0xf0) == 0xf0) { - if (*len < 4) - goto error; - if ((c & 0xf8) != 0xf0 || (utf[3] & 0xc0) != 0x80) - goto error; - *len = 4; - /* 4-byte code */ - c = (utf[0] & 0x7) << 18; - c |= (utf[1] & 0x3f) << 12; - c |= (utf[2] & 0x3f) << 6; - c |= utf[3] & 0x3f; - } else { - /* 3-byte code */ - *len = 3; - c = (utf[0] & 0xf) << 12; - c |= (utf[1] & 0x3f) << 6; - c |= utf[2] & 0x3f; - } - } else { - /* 2-byte code */ - *len = 2; - c = (utf[0] & 0x1f) << 6; - c |= utf[1] & 0x3f; - } - } else { - /* 1-byte code */ - *len = 1; - } - return(c); - -error: - *len = 0; - return(-1); -} - -/** - * xmlCheckUTF8: - * @utf: Pointer to putative UTF-8 encoded string. - * - * Checks @utf for being valid UTF-8. @utf is assumed to be - * null-terminated. This function is not super-strict, as it will - * allow longer UTF-8 sequences than necessary. Note that Java is - * capable of producing these sequences if provoked. Also note, this - * routine checks for the 4-byte maximum size, but does not check for - * 0x10ffff maximum value. - * - * Return value: true if @utf is valid. - **/ -int -xmlCheckUTF8(const unsigned char *utf) -{ - int ix; - unsigned char c; - - for (ix = 0; (c = utf[ix]);) { - if (c & 0x80) { - if ((utf[ix + 1] & 0xc0) != 0x80) - return(0); - if ((c & 0xe0) == 0xe0) { - if ((utf[ix + 2] & 0xc0) != 0x80) - return(0); - if ((c & 0xf0) == 0xf0) { - if ((c & 0xf8) != 0xf0 || (utf[ix + 3] & 0xc0) != 0x80) - return(0); - ix += 4; - /* 4-byte code */ - } else - /* 3-byte code */ - ix += 3; - } else - /* 2-byte code */ - ix += 2; - } else - /* 1-byte code */ - ix++; - } - return(1); -} - -/** - * xmlUTF8Strsize: - * @utf: a sequence of UTF-8 encoded bytes - * @len: the number of characters in the array - * - * storage size of an UTF8 string - * - * Returns the storage size of - * the first 'len' characters of ARRAY - * - */ - -int -xmlUTF8Strsize(const xmlChar *utf, int len) { - const xmlChar *ptr=utf; - xmlChar ch; - - if (len <= 0) - return(0); - - while ( len-- > 0) { - if ( !*ptr ) - break; - if ( (ch = *ptr++) & 0x80) - while ( (ch<<=1) & 0x80 ) - ptr++; - } - return (ptr - utf); -} - - -/** - * xmlUTF8Strndup: - * @utf: the input UTF8 * - * @len: the len of @utf (in chars) - * - * a strndup for array of UTF8's - * - * Returns a new UTF8 * or NULL - */ -xmlChar * -xmlUTF8Strndup(const xmlChar *utf, int len) { - xmlChar *ret; - int i; - - if ((utf == NULL) || (len < 0)) return(NULL); - i = xmlUTF8Strsize(utf, len); - ret = (xmlChar *) xmlMallocAtomic((i + 1) * sizeof(xmlChar)); - if (ret == NULL) { - xmlGenericError(xmlGenericErrorContext, - "malloc of %ld byte failed\n", - (len + 1) * (long)sizeof(xmlChar)); - return(NULL); - } - memcpy(ret, utf, i * sizeof(xmlChar)); - ret[i] = 0; - return(ret); -} - -/** - * xmlUTF8Strpos: - * @utf: the input UTF8 * - * @pos: the position of the desired UTF8 char (in chars) - * - * a function to provide the equivalent of fetching a - * character from a string array - * - * Returns a pointer to the UTF8 character or NULL - */ -xmlChar * -xmlUTF8Strpos(const xmlChar *utf, int pos) { - xmlChar ch; - - if (utf == NULL) return(NULL); - if ( (pos < 0) || (pos >= xmlUTF8Strlen(utf)) ) - return(NULL); - while (pos--) { - if ((ch=*utf++) == 0) return(NULL); - if ( ch & 0x80 ) { - /* if not simple ascii, verify proper format */ - if ( (ch & 0xc0) != 0xc0 ) - return(NULL); - /* then skip over remaining bytes for this char */ - while ( (ch <<= 1) & 0x80 ) - if ( (*utf++ & 0xc0) != 0x80 ) - return(NULL); - } - } - return((xmlChar *)utf); -} - -/** - * xmlUTF8Strloc: - * @utf: the input UTF8 * - * @utfchar: the UTF8 character to be found - * - * a function to provide the relative location of a UTF8 char - * - * Returns the relative character position of the desired char - * or -1 if not found - */ -int -xmlUTF8Strloc(const xmlChar *utf, const xmlChar *utfchar) { - int i, size; - xmlChar ch; - - if (utf==NULL || utfchar==NULL) return -1; - size = xmlUTF8Strsize(utfchar, 1); - for(i=0; (ch=*utf) != 0; i++) { - if (xmlStrncmp(utf, utfchar, size)==0) - return(i); - utf++; - if ( ch & 0x80 ) { - /* if not simple ascii, verify proper format */ - if ( (ch & 0xc0) != 0xc0 ) - return(-1); - /* then skip over remaining bytes for this char */ - while ( (ch <<= 1) & 0x80 ) - if ( (*utf++ & 0xc0) != 0x80 ) - return(-1); - } - } - - return(-1); -} -/** - * xmlUTF8Strsub: - * @utf: a sequence of UTF-8 encoded bytes - * @start: relative pos of first char - * @len: total number to copy - * - * Create a substring from a given UTF-8 string - * Note: positions are given in units of UTF-8 chars - * - * Returns a pointer to a newly created string - * or NULL if any problem - */ - -xmlChar * -xmlUTF8Strsub(const xmlChar *utf, int start, int len) { - int i; - xmlChar ch; - - if (utf == NULL) return(NULL); - if (start < 0) return(NULL); - if (len < 0) return(NULL); - - /* - * Skip over any leading chars - */ - for (i = 0;i < start;i++) { - if ((ch=*utf++) == 0) return(NULL); - if ( ch & 0x80 ) { - /* if not simple ascii, verify proper format */ - if ( (ch & 0xc0) != 0xc0 ) - return(NULL); - /* then skip over remaining bytes for this char */ - while ( (ch <<= 1) & 0x80 ) - if ( (*utf++ & 0xc0) != 0x80 ) - return(NULL); - } - } - - return(xmlUTF8Strndup(utf, len)); -} /************************************************************************ * * diff --git a/include/libxml/Makefile.am b/include/libxml/Makefile.am index 081198b6..c2f0a53d 100644 --- a/include/libxml/Makefile.am +++ b/include/libxml/Makefile.am @@ -37,6 +37,7 @@ xmlinc_HEADERS = \ xmlschemas.h \ schemasInternals.h \ xmlschemastypes.h \ + xmlstring.h \ xmlunicode.h \ xmlreader.h \ relaxng.h \ diff --git a/include/libxml/catalog.h b/include/libxml/catalog.h index 9701da06..2996330c 100644 --- a/include/libxml/catalog.h +++ b/include/libxml/catalog.h @@ -20,6 +20,7 @@ #include #include +#include #ifdef LIBXML_CATALOG_ENABLED diff --git a/include/libxml/chvalid.h b/include/libxml/chvalid.h index db122630..6301a91f 100644 --- a/include/libxml/chvalid.h +++ b/include/libxml/chvalid.h @@ -15,6 +15,7 @@ #define __XML_CHVALID_H__ #include +#include #ifdef __cplusplus extern "C" { diff --git a/include/libxml/encoding.h b/include/libxml/encoding.h index b49f2741..7b7d4ec7 100644 --- a/include/libxml/encoding.h +++ b/include/libxml/encoding.h @@ -217,38 +217,6 @@ XMLPUBFUN int XMLCALL int *outlen, const unsigned char *in, int *inlen); -XMLPUBFUN int XMLCALL - xmlGetUTF8Char (const unsigned char *utf, - int *len); -/* - * Export additional string routines which are "UTF-8 aware". - */ - -XMLPUBFUN int XMLCALL - xmlCheckUTF8 (const unsigned char *utf); -XMLPUBFUN int XMLCALL - xmlUTF8Strsize (const xmlChar *utf, - int len); -XMLPUBFUN xmlChar * XMLCALL - xmlUTF8Strndup (const xmlChar *utf, - int len); -XMLPUBFUN xmlChar * XMLCALL - xmlUTF8Strpos (const xmlChar *utf, - int pos); -XMLPUBFUN int XMLCALL - xmlUTF8Strloc (const xmlChar *utf, - const xmlChar *utfchar); -XMLPUBFUN xmlChar * XMLCALL - xmlUTF8Strsub (const xmlChar *utf, - int start, - int len); -XMLPUBFUN int XMLCALL - xmlUTF8Strlen (const xmlChar *utf); -XMLPUBFUN int XMLCALL - xmlUTF8Size (const xmlChar *utf); -XMLPUBFUN int XMLCALL - xmlUTF8Charcmp (const xmlChar *utf1, - const xmlChar *utf2); #ifdef __cplusplus } #endif diff --git a/include/libxml/parser.h b/include/libxml/parser.h index d3c092cd..88d5ee68 100644 --- a/include/libxml/parser.h +++ b/include/libxml/parser.h @@ -19,6 +19,7 @@ #include #include #include +#include #ifdef __cplusplus extern "C" { @@ -804,80 +805,6 @@ XMLPUBFUN int XMLCALL xmlParserInputGrow (xmlParserInputPtr in, int len); -/* - * xmlChar handling - */ -XMLPUBFUN xmlChar * XMLCALL - xmlStrdup (const xmlChar *cur); -XMLPUBFUN xmlChar * XMLCALL - xmlStrndup (const xmlChar *cur, - int len); -XMLPUBFUN xmlChar * XMLCALL - xmlCharStrndup (const char *cur, - int len); -XMLPUBFUN xmlChar * XMLCALL - xmlCharStrdup (const char *cur); -XMLPUBFUN xmlChar * XMLCALL - xmlStrsub (const xmlChar *str, - int start, - int len); -XMLPUBFUN const xmlChar * XMLCALL - xmlStrchr (const xmlChar *str, - xmlChar val); -XMLPUBFUN const xmlChar * XMLCALL - xmlStrstr (const xmlChar *str, - const xmlChar *val); -XMLPUBFUN const xmlChar * XMLCALL - xmlStrcasestr (const xmlChar *str, - xmlChar *val); -XMLPUBFUN int XMLCALL - xmlStrcmp (const xmlChar *str1, - const xmlChar *str2); -XMLPUBFUN int XMLCALL - xmlStrncmp (const xmlChar *str1, - const xmlChar *str2, - int len); -XMLPUBFUN int XMLCALL - xmlStrcasecmp (const xmlChar *str1, - const xmlChar *str2); -XMLPUBFUN int XMLCALL - xmlStrncasecmp (const xmlChar *str1, - const xmlChar *str2, - int len); -XMLPUBFUN int XMLCALL - xmlStrEqual (const xmlChar *str1, - const xmlChar *str2); -XMLPUBFUN int XMLCALL - xmlStrQEqual (const xmlChar *pref, - const xmlChar *name, - const xmlChar *str); -XMLPUBFUN int XMLCALL - xmlStrlen (const xmlChar *str); -XMLPUBFUN xmlChar * XMLCALL - xmlStrcat (xmlChar *cur, - const xmlChar *add); -XMLPUBFUN xmlChar * XMLCALL - xmlStrncat (xmlChar *cur, - const xmlChar *add, - int len); - -XMLPUBFUN xmlChar * XMLCALL - xmlStrncatNew (const xmlChar *str1, - const xmlChar *str2, - int len); - -XMLPUBFUN int XMLCALL - xmlStrPrintf (xmlChar *buf, - int len, - const xmlChar *msg, - ...); - -XMLPUBFUN int XMLCALL - xmlStrVPrintf (xmlChar *buf, - int len, - const xmlChar *msg, - va_list ap); - /* * Basic parsing Interfaces */ diff --git a/include/libxml/relaxng.h b/include/libxml/relaxng.h index 3cf95c2b..3743f3e6 100644 --- a/include/libxml/relaxng.h +++ b/include/libxml/relaxng.h @@ -12,6 +12,7 @@ #include #include +#include #ifdef __cplusplus extern "C" { diff --git a/include/libxml/tree.h b/include/libxml/tree.h index 73d8735d..954b2c18 100644 --- a/include/libxml/tree.h +++ b/include/libxml/tree.h @@ -14,6 +14,7 @@ #include #include +#include #ifdef __cplusplus extern "C" { @@ -97,22 +98,6 @@ typedef enum { #endif } xmlElementType; -/** - * xmlChar: - * - * This is a basic byte in an UTF-8 encoded string. - * It's unsigned allowing to pinpoint case where char * are assigned - * to xmlChar * (possibly making serialization back impossible). - */ - -typedef unsigned char xmlChar; - -/** - * BAD_CAST: - * - * Macro to cast a string to an xmlChar * when one know its safe. - */ -#define BAD_CAST (xmlChar *) /** * xmlNotation: diff --git a/include/libxml/xmlstring.h b/include/libxml/xmlstring.h new file mode 100644 index 00000000..620c0e3b --- /dev/null +++ b/include/libxml/xmlstring.h @@ -0,0 +1,140 @@ +/* + * Summary: the core parser module + * Description: Interfaces, constants and types related to the XML parser + * + * Copy: See Copyright for the status of this software. + * + * Author: Daniel Veillard + */ + +#ifndef __XML_STRING_H__ +#define __XML_STRING_H__ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * xmlChar: + * + * This is a basic byte in an UTF-8 encoded string. + * It's unsigned allowing to pinpoint case where char * are assigned + * to xmlChar * (possibly making serialization back impossible). + */ + +typedef unsigned char xmlChar; + +/** + * BAD_CAST: + * + * Macro to cast a string to an xmlChar * when one know its safe. + */ +#define BAD_CAST (xmlChar *) + +/* + * xmlChar handling + */ +XMLPUBFUN xmlChar * XMLCALL + xmlStrdup (const xmlChar *cur); +XMLPUBFUN xmlChar * XMLCALL + xmlStrndup (const xmlChar *cur, + int len); +XMLPUBFUN xmlChar * XMLCALL + xmlCharStrndup (const char *cur, + int len); +XMLPUBFUN xmlChar * XMLCALL + xmlCharStrdup (const char *cur); +XMLPUBFUN xmlChar * XMLCALL + xmlStrsub (const xmlChar *str, + int start, + int len); +XMLPUBFUN const xmlChar * XMLCALL + xmlStrchr (const xmlChar *str, + xmlChar val); +XMLPUBFUN const xmlChar * XMLCALL + xmlStrstr (const xmlChar *str, + const xmlChar *val); +XMLPUBFUN const xmlChar * XMLCALL + xmlStrcasestr (const xmlChar *str, + xmlChar *val); +XMLPUBFUN int XMLCALL + xmlStrcmp (const xmlChar *str1, + const xmlChar *str2); +XMLPUBFUN int XMLCALL + xmlStrncmp (const xmlChar *str1, + const xmlChar *str2, + int len); +XMLPUBFUN int XMLCALL + xmlStrcasecmp (const xmlChar *str1, + const xmlChar *str2); +XMLPUBFUN int XMLCALL + xmlStrncasecmp (const xmlChar *str1, + const xmlChar *str2, + int len); +XMLPUBFUN int XMLCALL + xmlStrEqual (const xmlChar *str1, + const xmlChar *str2); +XMLPUBFUN int XMLCALL + xmlStrQEqual (const xmlChar *pref, + const xmlChar *name, + const xmlChar *str); +XMLPUBFUN int XMLCALL + xmlStrlen (const xmlChar *str); +XMLPUBFUN xmlChar * XMLCALL + xmlStrcat (xmlChar *cur, + const xmlChar *add); +XMLPUBFUN xmlChar * XMLCALL + xmlStrncat (xmlChar *cur, + const xmlChar *add, + int len); +XMLPUBFUN xmlChar * XMLCALL + xmlStrncatNew (const xmlChar *str1, + const xmlChar *str2, + int len); +XMLPUBFUN int XMLCALL + xmlStrPrintf (xmlChar *buf, + int len, + const xmlChar *msg, + ...); +XMLPUBFUN int XMLCALL + xmlStrVPrintf (xmlChar *buf, + int len, + const xmlChar *msg, + va_list ap); + +XMLPUBFUN int XMLCALL + xmlGetUTF8Char (const unsigned char *utf, + int *len); +XMLPUBFUN int XMLCALL + xmlCheckUTF8 (const unsigned char *utf); +XMLPUBFUN int XMLCALL + xmlUTF8Strsize (const xmlChar *utf, + int len); +XMLPUBFUN xmlChar * XMLCALL + xmlUTF8Strndup (const xmlChar *utf, + int len); +XMLPUBFUN xmlChar * XMLCALL + xmlUTF8Strpos (const xmlChar *utf, + int pos); +XMLPUBFUN int XMLCALL + xmlUTF8Strloc (const xmlChar *utf, + const xmlChar *utfchar); +XMLPUBFUN xmlChar * XMLCALL + xmlUTF8Strsub (const xmlChar *utf, + int start, + int len); +XMLPUBFUN int XMLCALL + xmlUTF8Strlen (const xmlChar *utf); +XMLPUBFUN int XMLCALL + xmlUTF8Size (const xmlChar *utf); +XMLPUBFUN int XMLCALL + xmlUTF8Charcmp (const xmlChar *utf1, + const xmlChar *utf2); + +#ifdef __cplusplus +} +#endif +#endif /* __XML_STRING_H__ */ diff --git a/include/libxml/xmlwriter.h b/include/libxml/xmlwriter.h index b43b439b..acb1ec1d 100644 --- a/include/libxml/xmlwriter.h +++ b/include/libxml/xmlwriter.h @@ -10,13 +10,14 @@ #ifndef __XML_XMLWRITER_H__ #define __XML_XMLWRITER_H__ -#ifdef __cplusplus -extern "C" { -#endif - #include #include #include +#include + +#ifdef __cplusplus +extern "C" { +#endif typedef struct _xmlTextWriter xmlTextWriter; typedef xmlTextWriter *xmlTextWriterPtr; diff --git a/parser.c b/parser.c index 10259006..ff04816c 100644 --- a/parser.c +++ b/parser.c @@ -2027,549 +2027,6 @@ xmlStringDecodeEntities(xmlParserCtxtPtr ctxt, const xmlChar *str, int what, end, end2, end3)); } -/************************************************************************ - * * - * Commodity functions to handle xmlChars * - * * - ************************************************************************/ - -/** - * xmlStrndup: - * @cur: the input xmlChar * - * @len: the len of @cur - * - * a strndup for array of xmlChar's - * - * Returns a new xmlChar * or NULL - */ -xmlChar * -xmlStrndup(const xmlChar *cur, int len) { - xmlChar *ret; - - if ((cur == NULL) || (len < 0)) return(NULL); - ret = (xmlChar *) xmlMallocAtomic((len + 1) * sizeof(xmlChar)); - if (ret == NULL) { - xmlErrMemory(NULL, NULL); - return(NULL); - } - memcpy(ret, cur, len * sizeof(xmlChar)); - ret[len] = 0; - return(ret); -} - -/** - * xmlStrdup: - * @cur: the input xmlChar * - * - * a strdup for array of xmlChar's. Since they are supposed to be - * encoded in UTF-8 or an encoding with 8bit based chars, we assume - * a termination mark of '0'. - * - * Returns a new xmlChar * or NULL - */ -xmlChar * -xmlStrdup(const xmlChar *cur) { - const xmlChar *p = cur; - - if (cur == NULL) return(NULL); - while (*p != 0) p++; /* non input consuming */ - return(xmlStrndup(cur, p - cur)); -} - -/** - * xmlCharStrndup: - * @cur: the input char * - * @len: the len of @cur - * - * a strndup for char's to xmlChar's - * - * Returns a new xmlChar * or NULL - */ - -xmlChar * -xmlCharStrndup(const char *cur, int len) { - int i; - xmlChar *ret; - - if ((cur == NULL) || (len < 0)) return(NULL); - ret = (xmlChar *) xmlMallocAtomic((len + 1) * sizeof(xmlChar)); - if (ret == NULL) { - xmlErrMemory(NULL, NULL); - return(NULL); - } - for (i = 0;i < len;i++) - ret[i] = (xmlChar) cur[i]; - ret[len] = 0; - return(ret); -} - -/** - * xmlCharStrdup: - * @cur: the input char * - * - * a strdup for char's to xmlChar's - * - * Returns a new xmlChar * or NULL - */ - -xmlChar * -xmlCharStrdup(const char *cur) { - const char *p = cur; - - if (cur == NULL) return(NULL); - while (*p != '\0') p++; /* non input consuming */ - return(xmlCharStrndup(cur, p - cur)); -} - -/** - * xmlStrcmp: - * @str1: the first xmlChar * - * @str2: the second xmlChar * - * - * a strcmp for xmlChar's - * - * Returns the integer result of the comparison - */ - -int -xmlStrcmp(const xmlChar *str1, const xmlChar *str2) { - register int tmp; - - if (str1 == str2) return(0); - if (str1 == NULL) return(-1); - if (str2 == NULL) return(1); - do { - tmp = *str1++ - *str2; - if (tmp != 0) return(tmp); - } while (*str2++ != 0); - return 0; -} - -/** - * xmlStrEqual: - * @str1: the first xmlChar * - * @str2: the second xmlChar * - * - * Check if both string are equal of have same content - * Should be a bit more readable and faster than xmlStrEqual() - * - * Returns 1 if they are equal, 0 if they are different - */ - -int -xmlStrEqual(const xmlChar *str1, const xmlChar *str2) { - if (str1 == str2) return(1); - if (str1 == NULL) return(0); - if (str2 == NULL) return(0); - do { - if (*str1++ != *str2) return(0); - } while (*str2++); - return(1); -} - -/** - * xmlStrQEqual: - * @pref: the prefix of the QName - * @name: the localname of the QName - * @str: the second xmlChar * - * - * Check if a QName is Equal to a given string - * - * Returns 1 if they are equal, 0 if they are different - */ - -int -xmlStrQEqual(const xmlChar *pref, const xmlChar *name, const xmlChar *str) { - if (pref == NULL) return(xmlStrEqual(name, str)); - if (name == NULL) return(0); - if (str == NULL) return(0); - - do { - if (*pref++ != *str) return(0); - } while ((*str++) && (*pref)); - if (*str++ != ':') return(0); - do { - if (*name++ != *str) return(0); - } while (*str++); - return(1); -} - -/** - * xmlStrncmp: - * @str1: the first xmlChar * - * @str2: the second xmlChar * - * @len: the max comparison length - * - * a strncmp for xmlChar's - * - * Returns the integer result of the comparison - */ - -int -xmlStrncmp(const xmlChar *str1, const xmlChar *str2, int len) { - register int tmp; - - if (len <= 0) return(0); - if (str1 == str2) return(0); - if (str1 == NULL) return(-1); - if (str2 == NULL) return(1); - do { - tmp = *str1++ - *str2; - if (tmp != 0 || --len == 0) return(tmp); - } while (*str2++ != 0); - return 0; -} - -static const xmlChar casemap[256] = { - 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07, - 0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, - 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, - 0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, - 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27, - 0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, - 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37, - 0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, - 0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67, - 0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, - 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77, - 0x78,0x79,0x7A,0x7B,0x5C,0x5D,0x5E,0x5F, - 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67, - 0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, - 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77, - 0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, - 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87, - 0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, - 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97, - 0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, - 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7, - 0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, - 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7, - 0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, - 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7, - 0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, - 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7, - 0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, - 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7, - 0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, - 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7, - 0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF -}; - -/** - * xmlStrcasecmp: - * @str1: the first xmlChar * - * @str2: the second xmlChar * - * - * a strcasecmp for xmlChar's - * - * Returns the integer result of the comparison - */ - -int -xmlStrcasecmp(const xmlChar *str1, const xmlChar *str2) { - register int tmp; - - if (str1 == str2) return(0); - if (str1 == NULL) return(-1); - if (str2 == NULL) return(1); - do { - tmp = casemap[*str1++] - casemap[*str2]; - if (tmp != 0) return(tmp); - } while (*str2++ != 0); - return 0; -} - -/** - * xmlStrncasecmp: - * @str1: the first xmlChar * - * @str2: the second xmlChar * - * @len: the max comparison length - * - * a strncasecmp for xmlChar's - * - * Returns the integer result of the comparison - */ - -int -xmlStrncasecmp(const xmlChar *str1, const xmlChar *str2, int len) { - register int tmp; - - if (len <= 0) return(0); - if (str1 == str2) return(0); - if (str1 == NULL) return(-1); - if (str2 == NULL) return(1); - do { - tmp = casemap[*str1++] - casemap[*str2]; - if (tmp != 0 || --len == 0) return(tmp); - } while (*str2++ != 0); - return 0; -} - -/** - * xmlStrchr: - * @str: the xmlChar * array - * @val: the xmlChar to search - * - * a strchr for xmlChar's - * - * Returns the xmlChar * for the first occurrence or NULL. - */ - -const xmlChar * -xmlStrchr(const xmlChar *str, xmlChar val) { - if (str == NULL) return(NULL); - while (*str != 0) { /* non input consuming */ - if (*str == val) return((xmlChar *) str); - str++; - } - return(NULL); -} - -/** - * xmlStrstr: - * @str: the xmlChar * array (haystack) - * @val: the xmlChar to search (needle) - * - * a strstr for xmlChar's - * - * Returns the xmlChar * for the first occurrence or NULL. - */ - -const xmlChar * -xmlStrstr(const xmlChar *str, const xmlChar *val) { - int n; - - if (str == NULL) return(NULL); - if (val == NULL) return(NULL); - n = xmlStrlen(val); - - if (n == 0) return(str); - while (*str != 0) { /* non input consuming */ - if (*str == *val) { - if (!xmlStrncmp(str, val, n)) return((const xmlChar *) str); - } - str++; - } - return(NULL); -} - -/** - * xmlStrcasestr: - * @str: the xmlChar * array (haystack) - * @val: the xmlChar to search (needle) - * - * a case-ignoring strstr for xmlChar's - * - * Returns the xmlChar * for the first occurrence or NULL. - */ - -const xmlChar * -xmlStrcasestr(const xmlChar *str, xmlChar *val) { - int n; - - if (str == NULL) return(NULL); - if (val == NULL) return(NULL); - n = xmlStrlen(val); - - if (n == 0) return(str); - while (*str != 0) { /* non input consuming */ - if (casemap[*str] == casemap[*val]) - if (!xmlStrncasecmp(str, val, n)) return(str); - str++; - } - return(NULL); -} - -/** - * xmlStrsub: - * @str: the xmlChar * array (haystack) - * @start: the index of the first char (zero based) - * @len: the length of the substring - * - * Extract a substring of a given string - * - * Returns the xmlChar * for the first occurrence or NULL. - */ - -xmlChar * -xmlStrsub(const xmlChar *str, int start, int len) { - int i; - - if (str == NULL) return(NULL); - if (start < 0) return(NULL); - if (len < 0) return(NULL); - - for (i = 0;i < start;i++) { - if (*str == 0) return(NULL); - str++; - } - if (*str == 0) return(NULL); - return(xmlStrndup(str, len)); -} - -/** - * xmlStrlen: - * @str: the xmlChar * array - * - * length of a xmlChar's string - * - * Returns the number of xmlChar contained in the ARRAY. - */ - -int -xmlStrlen(const xmlChar *str) { - int len = 0; - - if (str == NULL) return(0); - while (*str != 0) { /* non input consuming */ - str++; - len++; - } - return(len); -} - -/** - * xmlStrncat: - * @cur: the original xmlChar * array - * @add: the xmlChar * array added - * @len: the length of @add - * - * a strncat for array of xmlChar's, it will extend @cur with the len - * first bytes of @add. - * - * Returns a new xmlChar *, the original @cur is reallocated if needed - * and should not be freed - */ - -xmlChar * -xmlStrncat(xmlChar *cur, const xmlChar *add, int len) { - int size; - xmlChar *ret; - - if ((add == NULL) || (len == 0)) - return(cur); - if (cur == NULL) - return(xmlStrndup(add, len)); - - size = xmlStrlen(cur); - ret = (xmlChar *) xmlRealloc(cur, (size + len + 1) * sizeof(xmlChar)); - if (ret == NULL) { - xmlErrMemory(NULL, NULL); - return(cur); - } - memcpy(&ret[size], add, len * sizeof(xmlChar)); - ret[size + len] = 0; - return(ret); -} - -/** - * xmlStrncatNew: - * @str1: first xmlChar string - * @str2: second xmlChar string - * @len: the len of @str2 - * - * same as xmlStrncat, but creates a new string. The original - * two strings are not freed. - * - * Returns a new xmlChar * or NULL - */ -xmlChar * -xmlStrncatNew(const xmlChar *str1, const xmlChar *str2, int len) { - int size; - xmlChar *ret; - - if ((str2 == NULL) || (len == 0)) - return(xmlStrdup(str1)); - if (str1 == NULL) - return(xmlStrndup(str2, len)); - - size = xmlStrlen(str1); - ret = (xmlChar *) xmlMalloc((size + len + 1) * sizeof(xmlChar)); - if (ret == NULL) { - xmlErrMemory(NULL, NULL); - return(xmlStrndup(str1, size)); - } - memcpy(ret, str1, size * sizeof(xmlChar)); - memcpy(&ret[size], str2, len * sizeof(xmlChar)); - ret[size + len] = 0; - return(ret); -} - -/** - * xmlStrcat: - * @cur: the original xmlChar * array - * @add: the xmlChar * array added - * - * a strcat for array of xmlChar's. Since they are supposed to be - * encoded in UTF-8 or an encoding with 8bit based chars, we assume - * a termination mark of '0'. - * - * Returns a new xmlChar * containing the concatenated string. - */ -xmlChar * -xmlStrcat(xmlChar *cur, const xmlChar *add) { - const xmlChar *p = add; - - if (add == NULL) return(cur); - if (cur == NULL) - return(xmlStrdup(add)); - - while (*p != 0) p++; /* non input consuming */ - return(xmlStrncat(cur, add, p - add)); -} - -/** - * xmlStrPrintf: - * @buf: the result buffer. - * @len: the result buffer length. - * @msg: the message with printf formatting. - * @...: extra parameters for the message. - * - * Formats @msg and places result into @buf. - * - * Returns the number of characters written to @buf or -1 if an error occurs. - */ -int -xmlStrPrintf(xmlChar *buf, int len, const xmlChar *msg, ...) { - va_list args; - int ret; - - if((buf == NULL) || (msg == NULL)) { - return(-1); - } - - va_start(args, msg); - ret = vsnprintf((char *) buf, len, (const char *) msg, args); - va_end(args); - buf[len - 1] = 0; /* be safe ! */ - - return(ret); -} - -/** - * xmlStrVPrintf: - * @buf: the result buffer. - * @len: the result buffer length. - * @msg: the message with printf formatting. - * @ap: extra parameters for the message. - * - * Formats @msg and places result into @buf. - * - * Returns the number of characters written to @buf or -1 if an error occurs. - */ -int -xmlStrVPrintf(xmlChar *buf, int len, const xmlChar *msg, va_list ap) { - int ret; - - if((buf == NULL) || (msg == NULL)) { - return(-1); - } - - ret = vsnprintf((char *) buf, len, (const char *) msg, ap); - buf[len - 1] = 0; /* be safe ! */ - - return(ret); -} /************************************************************************ * * * Commodity functions, cleanup needed ? * diff --git a/python/libxml2class.txt b/python/libxml2class.txt index a5de430a..eebdf6f9 100644 --- a/python/libxml2class.txt +++ b/python/libxml2class.txt @@ -64,16 +64,7 @@ debugDumpString() shellPrintXPathError() # functions from module encoding -UTF8Charcmp() -UTF8Size() -UTF8Strlen() -UTF8Strloc() -UTF8Strndup() -UTF8Strpos() -UTF8Strsize() -UTF8Strsub() addEncodingAlias() -checkUTF8() cleanupCharEncodingHandlers() cleanupEncodingAliases() delEncodingAlias() @@ -228,6 +219,17 @@ regexpCompile() schemaCleanupTypes() schemaInitTypes() +# functions from module xmlstring +UTF8Charcmp() +UTF8Size() +UTF8Strlen() +UTF8Strloc() +UTF8Strndup() +UTF8Strpos() +UTF8Strsize() +UTF8Strsub() +checkUTF8() + # functions from module xmlunicode uCSIsAegeanNumbers() uCSIsAlphabeticPresentationForms() diff --git a/xmlstring.c b/xmlstring.c new file mode 100644 index 00000000..b47e13eb --- /dev/null +++ b/xmlstring.c @@ -0,0 +1,951 @@ +/* + * string.c : an XML string utilities module + * + * This module provides various utility functions for manipulating + * the xmlChar* type. All functions named xmlStr* have been moved here + * from the parser.c file (their original home). + * + * See Copyright for the status of this software. + * + * UTF8 string routines from: + * William Brack + * + * daniel@veillard.com + */ + +#define IN_LIBXML +#include "libxml.h" + +#include +#include +#include +#include +#include + +/************************************************************************ + * * + * Commodity functions to handle xmlChars * + * * + ************************************************************************/ + +/** + * xmlStrndup: + * @cur: the input xmlChar * + * @len: the len of @cur + * + * a strndup for array of xmlChar's + * + * Returns a new xmlChar * or NULL + */ +xmlChar * +xmlStrndup(const xmlChar *cur, int len) { + xmlChar *ret; + + if ((cur == NULL) || (len < 0)) return(NULL); + ret = (xmlChar *) xmlMallocAtomic((len + 1) * sizeof(xmlChar)); + if (ret == NULL) { + xmlErrMemory(NULL, NULL); + return(NULL); + } + memcpy(ret, cur, len * sizeof(xmlChar)); + ret[len] = 0; + return(ret); +} + +/** + * xmlStrdup: + * @cur: the input xmlChar * + * + * a strdup for array of xmlChar's. Since they are supposed to be + * encoded in UTF-8 or an encoding with 8bit based chars, we assume + * a termination mark of '0'. + * + * Returns a new xmlChar * or NULL + */ +xmlChar * +xmlStrdup(const xmlChar *cur) { + const xmlChar *p = cur; + + if (cur == NULL) return(NULL); + while (*p != 0) p++; /* non input consuming */ + return(xmlStrndup(cur, p - cur)); +} + +/** + * xmlCharStrndup: + * @cur: the input char * + * @len: the len of @cur + * + * a strndup for char's to xmlChar's + * + * Returns a new xmlChar * or NULL + */ + +xmlChar * +xmlCharStrndup(const char *cur, int len) { + int i; + xmlChar *ret; + + if ((cur == NULL) || (len < 0)) return(NULL); + ret = (xmlChar *) xmlMallocAtomic((len + 1) * sizeof(xmlChar)); + if (ret == NULL) { + xmlErrMemory(NULL, NULL); + return(NULL); + } + for (i = 0;i < len;i++) + ret[i] = (xmlChar) cur[i]; + ret[len] = 0; + return(ret); +} + +/** + * xmlCharStrdup: + * @cur: the input char * + * + * a strdup for char's to xmlChar's + * + * Returns a new xmlChar * or NULL + */ + +xmlChar * +xmlCharStrdup(const char *cur) { + const char *p = cur; + + if (cur == NULL) return(NULL); + while (*p != '\0') p++; /* non input consuming */ + return(xmlCharStrndup(cur, p - cur)); +} + +/** + * xmlStrcmp: + * @str1: the first xmlChar * + * @str2: the second xmlChar * + * + * a strcmp for xmlChar's + * + * Returns the integer result of the comparison + */ + +int +xmlStrcmp(const xmlChar *str1, const xmlChar *str2) { + register int tmp; + + if (str1 == str2) return(0); + if (str1 == NULL) return(-1); + if (str2 == NULL) return(1); + do { + tmp = *str1++ - *str2; + if (tmp != 0) return(tmp); + } while (*str2++ != 0); + return 0; +} + +/** + * xmlStrEqual: + * @str1: the first xmlChar * + * @str2: the second xmlChar * + * + * Check if both string are equal of have same content + * Should be a bit more readable and faster than xmlStrEqual() + * + * Returns 1 if they are equal, 0 if they are different + */ + +int +xmlStrEqual(const xmlChar *str1, const xmlChar *str2) { + if (str1 == str2) return(1); + if (str1 == NULL) return(0); + if (str2 == NULL) return(0); + do { + if (*str1++ != *str2) return(0); + } while (*str2++); + return(1); +} + +/** + * xmlStrQEqual: + * @pref: the prefix of the QName + * @name: the localname of the QName + * @str: the second xmlChar * + * + * Check if a QName is Equal to a given string + * + * Returns 1 if they are equal, 0 if they are different + */ + +int +xmlStrQEqual(const xmlChar *pref, const xmlChar *name, const xmlChar *str) { + if (pref == NULL) return(xmlStrEqual(name, str)); + if (name == NULL) return(0); + if (str == NULL) return(0); + + do { + if (*pref++ != *str) return(0); + } while ((*str++) && (*pref)); + if (*str++ != ':') return(0); + do { + if (*name++ != *str) return(0); + } while (*str++); + return(1); +} + +/** + * xmlStrncmp: + * @str1: the first xmlChar * + * @str2: the second xmlChar * + * @len: the max comparison length + * + * a strncmp for xmlChar's + * + * Returns the integer result of the comparison + */ + +int +xmlStrncmp(const xmlChar *str1, const xmlChar *str2, int len) { + register int tmp; + + if (len <= 0) return(0); + if (str1 == str2) return(0); + if (str1 == NULL) return(-1); + if (str2 == NULL) return(1); + do { + tmp = *str1++ - *str2; + if (tmp != 0 || --len == 0) return(tmp); + } while (*str2++ != 0); + return 0; +} + +static const xmlChar casemap[256] = { + 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07, + 0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, + 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, + 0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, + 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27, + 0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, + 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37, + 0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, + 0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67, + 0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, + 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77, + 0x78,0x79,0x7A,0x7B,0x5C,0x5D,0x5E,0x5F, + 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67, + 0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, + 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77, + 0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, + 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87, + 0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, + 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97, + 0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, + 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7, + 0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, + 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7, + 0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, + 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7, + 0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, + 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7, + 0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, + 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7, + 0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, + 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7, + 0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF +}; + +/** + * xmlStrcasecmp: + * @str1: the first xmlChar * + * @str2: the second xmlChar * + * + * a strcasecmp for xmlChar's + * + * Returns the integer result of the comparison + */ + +int +xmlStrcasecmp(const xmlChar *str1, const xmlChar *str2) { + register int tmp; + + if (str1 == str2) return(0); + if (str1 == NULL) return(-1); + if (str2 == NULL) return(1); + do { + tmp = casemap[*str1++] - casemap[*str2]; + if (tmp != 0) return(tmp); + } while (*str2++ != 0); + return 0; +} + +/** + * xmlStrncasecmp: + * @str1: the first xmlChar * + * @str2: the second xmlChar * + * @len: the max comparison length + * + * a strncasecmp for xmlChar's + * + * Returns the integer result of the comparison + */ + +int +xmlStrncasecmp(const xmlChar *str1, const xmlChar *str2, int len) { + register int tmp; + + if (len <= 0) return(0); + if (str1 == str2) return(0); + if (str1 == NULL) return(-1); + if (str2 == NULL) return(1); + do { + tmp = casemap[*str1++] - casemap[*str2]; + if (tmp != 0 || --len == 0) return(tmp); + } while (*str2++ != 0); + return 0; +} + +/** + * xmlStrchr: + * @str: the xmlChar * array + * @val: the xmlChar to search + * + * a strchr for xmlChar's + * + * Returns the xmlChar * for the first occurrence or NULL. + */ + +const xmlChar * +xmlStrchr(const xmlChar *str, xmlChar val) { + if (str == NULL) return(NULL); + while (*str != 0) { /* non input consuming */ + if (*str == val) return((xmlChar *) str); + str++; + } + return(NULL); +} + +/** + * xmlStrstr: + * @str: the xmlChar * array (haystack) + * @val: the xmlChar to search (needle) + * + * a strstr for xmlChar's + * + * Returns the xmlChar * for the first occurrence or NULL. + */ + +const xmlChar * +xmlStrstr(const xmlChar *str, const xmlChar *val) { + int n; + + if (str == NULL) return(NULL); + if (val == NULL) return(NULL); + n = xmlStrlen(val); + + if (n == 0) return(str); + while (*str != 0) { /* non input consuming */ + if (*str == *val) { + if (!xmlStrncmp(str, val, n)) return((const xmlChar *) str); + } + str++; + } + return(NULL); +} + +/** + * xmlStrcasestr: + * @str: the xmlChar * array (haystack) + * @val: the xmlChar to search (needle) + * + * a case-ignoring strstr for xmlChar's + * + * Returns the xmlChar * for the first occurrence or NULL. + */ + +const xmlChar * +xmlStrcasestr(const xmlChar *str, xmlChar *val) { + int n; + + if (str == NULL) return(NULL); + if (val == NULL) return(NULL); + n = xmlStrlen(val); + + if (n == 0) return(str); + while (*str != 0) { /* non input consuming */ + if (casemap[*str] == casemap[*val]) + if (!xmlStrncasecmp(str, val, n)) return(str); + str++; + } + return(NULL); +} + +/** + * xmlStrsub: + * @str: the xmlChar * array (haystack) + * @start: the index of the first char (zero based) + * @len: the length of the substring + * + * Extract a substring of a given string + * + * Returns the xmlChar * for the first occurrence or NULL. + */ + +xmlChar * +xmlStrsub(const xmlChar *str, int start, int len) { + int i; + + if (str == NULL) return(NULL); + if (start < 0) return(NULL); + if (len < 0) return(NULL); + + for (i = 0;i < start;i++) { + if (*str == 0) return(NULL); + str++; + } + if (*str == 0) return(NULL); + return(xmlStrndup(str, len)); +} + +/** + * xmlStrlen: + * @str: the xmlChar * array + * + * length of a xmlChar's string + * + * Returns the number of xmlChar contained in the ARRAY. + */ + +int +xmlStrlen(const xmlChar *str) { + int len = 0; + + if (str == NULL) return(0); + while (*str != 0) { /* non input consuming */ + str++; + len++; + } + return(len); +} + +/** + * xmlStrncat: + * @cur: the original xmlChar * array + * @add: the xmlChar * array added + * @len: the length of @add + * + * a strncat for array of xmlChar's, it will extend @cur with the len + * first bytes of @add. + * + * Returns a new xmlChar *, the original @cur is reallocated if needed + * and should not be freed + */ + +xmlChar * +xmlStrncat(xmlChar *cur, const xmlChar *add, int len) { + int size; + xmlChar *ret; + + if ((add == NULL) || (len == 0)) + return(cur); + if (cur == NULL) + return(xmlStrndup(add, len)); + + size = xmlStrlen(cur); + ret = (xmlChar *) xmlRealloc(cur, (size + len + 1) * sizeof(xmlChar)); + if (ret == NULL) { + xmlErrMemory(NULL, NULL); + return(cur); + } + memcpy(&ret[size], add, len * sizeof(xmlChar)); + ret[size + len] = 0; + return(ret); +} + +/** + * xmlStrncatNew: + * @str1: first xmlChar string + * @str2: second xmlChar string + * @len: the len of @str2 + * + * same as xmlStrncat, but creates a new string. The original + * two strings are not freed. + * + * Returns a new xmlChar * or NULL + */ +xmlChar * +xmlStrncatNew(const xmlChar *str1, const xmlChar *str2, int len) { + int size; + xmlChar *ret; + + if ((str2 == NULL) || (len == 0)) + return(xmlStrdup(str1)); + if (str1 == NULL) + return(xmlStrndup(str2, len)); + + size = xmlStrlen(str1); + ret = (xmlChar *) xmlMalloc((size + len + 1) * sizeof(xmlChar)); + if (ret == NULL) { + xmlErrMemory(NULL, NULL); + return(xmlStrndup(str1, size)); + } + memcpy(ret, str1, size * sizeof(xmlChar)); + memcpy(&ret[size], str2, len * sizeof(xmlChar)); + ret[size + len] = 0; + return(ret); +} + +/** + * xmlStrcat: + * @cur: the original xmlChar * array + * @add: the xmlChar * array added + * + * a strcat for array of xmlChar's. Since they are supposed to be + * encoded in UTF-8 or an encoding with 8bit based chars, we assume + * a termination mark of '0'. + * + * Returns a new xmlChar * containing the concatenated string. + */ +xmlChar * +xmlStrcat(xmlChar *cur, const xmlChar *add) { + const xmlChar *p = add; + + if (add == NULL) return(cur); + if (cur == NULL) + return(xmlStrdup(add)); + + while (*p != 0) p++; /* non input consuming */ + return(xmlStrncat(cur, add, p - add)); +} + +/** + * xmlStrPrintf: + * @buf: the result buffer. + * @len: the result buffer length. + * @msg: the message with printf formatting. + * @...: extra parameters for the message. + * + * Formats @msg and places result into @buf. + * + * Returns the number of characters written to @buf or -1 if an error occurs. + */ +int +xmlStrPrintf(xmlChar *buf, int len, const xmlChar *msg, ...) { + va_list args; + int ret; + + if((buf == NULL) || (msg == NULL)) { + return(-1); + } + + va_start(args, msg); + ret = vsnprintf((char *) buf, len, (const char *) msg, args); + va_end(args); + buf[len - 1] = 0; /* be safe ! */ + + return(ret); +} + +/** + * xmlStrVPrintf: + * @buf: the result buffer. + * @len: the result buffer length. + * @msg: the message with printf formatting. + * @ap: extra parameters for the message. + * + * Formats @msg and places result into @buf. + * + * Returns the number of characters written to @buf or -1 if an error occurs. + */ +int +xmlStrVPrintf(xmlChar *buf, int len, const xmlChar *msg, va_list ap) { + int ret; + + if((buf == NULL) || (msg == NULL)) { + return(-1); + } + + ret = vsnprintf((char *) buf, len, (const char *) msg, ap); + buf[len - 1] = 0; /* be safe ! */ + + return(ret); +} + +/************************************************************************ + * * + * Generic UTF8 handling routines * + * * + * From rfc2044: encoding of the Unicode values on UTF-8: * + * * + * UCS-4 range (hex.) UTF-8 octet sequence (binary) * + * 0000 0000-0000 007F 0xxxxxxx * + * 0000 0080-0000 07FF 110xxxxx 10xxxxxx * + * 0000 0800-0000 FFFF 1110xxxx 10xxxxxx 10xxxxxx * + * * + * I hope we won't use values > 0xFFFF anytime soon ! * + * * + ************************************************************************/ + + +/** + * xmlUTF8Size: + * @utf: pointer to the UTF8 character + * + * calculates the internal size of a UTF8 character + * + * returns the numbers of bytes in the character, -1 on format error + */ +int +xmlUTF8Size(const xmlChar *utf) { + xmlChar mask; + int len; + + if (utf == NULL) + return -1; + if (*utf < 0x80) + return 1; + /* check valid UTF8 character */ + if (!(*utf & 0x40)) + return -1; + /* determine number of bytes in char */ + len = 2; + for (mask=0x20; mask != 0; mask>>=1) { + if (!(*utf & mask)) + return len; + len++; + } + return -1; +} + +/** + * xmlUTF8Charcmp: + * @utf1: pointer to first UTF8 char + * @utf2: pointer to second UTF8 char + * + * compares the two UCS4 values + * + * returns result of the compare as with xmlStrncmp + */ +int +xmlUTF8Charcmp(const xmlChar *utf1, const xmlChar *utf2) { + + if (utf1 == NULL ) { + if (utf2 == NULL) + return 0; + return -1; + } + return xmlStrncmp(utf1, utf2, xmlUTF8Size(utf1)); +} + +/** + * xmlUTF8Strlen: + * @utf: a sequence of UTF-8 encoded bytes + * + * compute the length of an UTF8 string, it doesn't do a full UTF8 + * checking of the content of the string. + * + * Returns the number of characters in the string or -1 in case of error + */ +int +xmlUTF8Strlen(const xmlChar *utf) { + int ret = 0; + + if (utf == NULL) + return(-1); + + while (*utf != 0) { + if (utf[0] & 0x80) { + if ((utf[1] & 0xc0) != 0x80) + return(-1); + if ((utf[0] & 0xe0) == 0xe0) { + if ((utf[2] & 0xc0) != 0x80) + return(-1); + if ((utf[0] & 0xf0) == 0xf0) { + if ((utf[0] & 0xf8) != 0xf0 || (utf[3] & 0xc0) != 0x80) + return(-1); + utf += 4; + } else { + utf += 3; + } + } else { + utf += 2; + } + } else { + utf++; + } + ret++; + } + return(ret); +} + +/** + * xmlGetUTF8Char: + * @utf: a sequence of UTF-8 encoded bytes + * @len: a pointer to @bytes len + * + * Read one UTF8 Char from @utf + * + * Returns the char value or -1 in case of error, and updates *len with the + * number of bytes consumed + */ +int +xmlGetUTF8Char(const unsigned char *utf, int *len) { + unsigned int c; + + if (utf == NULL) + goto error; + if (len == NULL) + goto error; + if (*len < 1) + goto error; + + c = utf[0]; + if (c & 0x80) { + if (*len < 2) + goto error; + if ((utf[1] & 0xc0) != 0x80) + goto error; + if ((c & 0xe0) == 0xe0) { + if (*len < 3) + goto error; + if ((utf[2] & 0xc0) != 0x80) + goto error; + if ((c & 0xf0) == 0xf0) { + if (*len < 4) + goto error; + if ((c & 0xf8) != 0xf0 || (utf[3] & 0xc0) != 0x80) + goto error; + *len = 4; + /* 4-byte code */ + c = (utf[0] & 0x7) << 18; + c |= (utf[1] & 0x3f) << 12; + c |= (utf[2] & 0x3f) << 6; + c |= utf[3] & 0x3f; + } else { + /* 3-byte code */ + *len = 3; + c = (utf[0] & 0xf) << 12; + c |= (utf[1] & 0x3f) << 6; + c |= utf[2] & 0x3f; + } + } else { + /* 2-byte code */ + *len = 2; + c = (utf[0] & 0x1f) << 6; + c |= utf[1] & 0x3f; + } + } else { + /* 1-byte code */ + *len = 1; + } + return(c); + +error: + *len = 0; + return(-1); +} + +/** + * xmlCheckUTF8: + * @utf: Pointer to putative UTF-8 encoded string. + * + * Checks @utf for being valid UTF-8. @utf is assumed to be + * null-terminated. This function is not super-strict, as it will + * allow longer UTF-8 sequences than necessary. Note that Java is + * capable of producing these sequences if provoked. Also note, this + * routine checks for the 4-byte maximum size, but does not check for + * 0x10ffff maximum value. + * + * Return value: true if @utf is valid. + **/ +int +xmlCheckUTF8(const unsigned char *utf) +{ + int ix; + unsigned char c; + + for (ix = 0; (c = utf[ix]);) { + if (c & 0x80) { + if ((utf[ix + 1] & 0xc0) != 0x80) + return(0); + if ((c & 0xe0) == 0xe0) { + if ((utf[ix + 2] & 0xc0) != 0x80) + return(0); + if ((c & 0xf0) == 0xf0) { + if ((c & 0xf8) != 0xf0 || (utf[ix + 3] & 0xc0) != 0x80) + return(0); + ix += 4; + /* 4-byte code */ + } else + /* 3-byte code */ + ix += 3; + } else + /* 2-byte code */ + ix += 2; + } else + /* 1-byte code */ + ix++; + } + return(1); +} + +/** + * xmlUTF8Strsize: + * @utf: a sequence of UTF-8 encoded bytes + * @len: the number of characters in the array + * + * storage size of an UTF8 string + * + * Returns the storage size of + * the first 'len' characters of ARRAY + * + */ + +int +xmlUTF8Strsize(const xmlChar *utf, int len) { + const xmlChar *ptr=utf; + xmlChar ch; + + if (len <= 0) + return(0); + + while ( len-- > 0) { + if ( !*ptr ) + break; + if ( (ch = *ptr++) & 0x80) + while ( (ch<<=1) & 0x80 ) + ptr++; + } + return (ptr - utf); +} + + +/** + * xmlUTF8Strndup: + * @utf: the input UTF8 * + * @len: the len of @utf (in chars) + * + * a strndup for array of UTF8's + * + * Returns a new UTF8 * or NULL + */ +xmlChar * +xmlUTF8Strndup(const xmlChar *utf, int len) { + xmlChar *ret; + int i; + + if ((utf == NULL) || (len < 0)) return(NULL); + i = xmlUTF8Strsize(utf, len); + ret = (xmlChar *) xmlMallocAtomic((i + 1) * sizeof(xmlChar)); + if (ret == NULL) { + xmlGenericError(xmlGenericErrorContext, + "malloc of %ld byte failed\n", + (len + 1) * (long)sizeof(xmlChar)); + return(NULL); + } + memcpy(ret, utf, i * sizeof(xmlChar)); + ret[i] = 0; + return(ret); +} + +/** + * xmlUTF8Strpos: + * @utf: the input UTF8 * + * @pos: the position of the desired UTF8 char (in chars) + * + * a function to provide the equivalent of fetching a + * character from a string array + * + * Returns a pointer to the UTF8 character or NULL + */ +xmlChar * +xmlUTF8Strpos(const xmlChar *utf, int pos) { + xmlChar ch; + + if (utf == NULL) return(NULL); + if ( (pos < 0) || (pos >= xmlUTF8Strlen(utf)) ) + return(NULL); + while (pos--) { + if ((ch=*utf++) == 0) return(NULL); + if ( ch & 0x80 ) { + /* if not simple ascii, verify proper format */ + if ( (ch & 0xc0) != 0xc0 ) + return(NULL); + /* then skip over remaining bytes for this char */ + while ( (ch <<= 1) & 0x80 ) + if ( (*utf++ & 0xc0) != 0x80 ) + return(NULL); + } + } + return((xmlChar *)utf); +} + +/** + * xmlUTF8Strloc: + * @utf: the input UTF8 * + * @utfchar: the UTF8 character to be found + * + * a function to provide the relative location of a UTF8 char + * + * Returns the relative character position of the desired char + * or -1 if not found + */ +int +xmlUTF8Strloc(const xmlChar *utf, const xmlChar *utfchar) { + int i, size; + xmlChar ch; + + if (utf==NULL || utfchar==NULL) return -1; + size = xmlUTF8Strsize(utfchar, 1); + for(i=0; (ch=*utf) != 0; i++) { + if (xmlStrncmp(utf, utfchar, size)==0) + return(i); + utf++; + if ( ch & 0x80 ) { + /* if not simple ascii, verify proper format */ + if ( (ch & 0xc0) != 0xc0 ) + return(-1); + /* then skip over remaining bytes for this char */ + while ( (ch <<= 1) & 0x80 ) + if ( (*utf++ & 0xc0) != 0x80 ) + return(-1); + } + } + + return(-1); +} +/** + * xmlUTF8Strsub: + * @utf: a sequence of UTF-8 encoded bytes + * @start: relative pos of first char + * @len: total number to copy + * + * Create a substring from a given UTF-8 string + * Note: positions are given in units of UTF-8 chars + * + * Returns a pointer to a newly created string + * or NULL if any problem + */ + +xmlChar * +xmlUTF8Strsub(const xmlChar *utf, int start, int len) { + int i; + xmlChar ch; + + if (utf == NULL) return(NULL); + if (start < 0) return(NULL); + if (len < 0) return(NULL); + + /* + * Skip over any leading chars + */ + for (i = 0;i < start;i++) { + if ((ch=*utf++) == 0) return(NULL); + if ( ch & 0x80 ) { + /* if not simple ascii, verify proper format */ + if ( (ch & 0xc0) != 0xc0 ) + return(NULL); + /* then skip over remaining bytes for this char */ + while ( (ch <<= 1) & 0x80 ) + if ( (*utf++ & 0xc0) != 0x80 ) + return(NULL); + } + } + + return(xmlUTF8Strndup(utf, len)); +}