From 06622dfe904a2fa8d727e0769d5c5e57997b64ac Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 21 Jan 2002 17:53:42 +0000 Subject: [PATCH] Recompiled the docs, Daniel --- doc/html/book1.html | 327 ++ doc/html/index.sgml | 2 +- doc/html/libxml-catalog.html | 264 +- doc/html/libxml-debugxml.html | 184 +- doc/html/libxml-docbparser.html | 108 +- doc/html/libxml-encoding.html | 210 +- doc/html/libxml-entities.html | 42 +- doc/html/libxml-globals.html | 124 +- doc/html/libxml-hash.html | 318 +- doc/html/libxml-htmlparser.html | 76 +- doc/html/libxml-htmltree.html | 40 +- doc/html/libxml-lib.html | 181 +- doc/html/libxml-nanoftp.html | 310 +- doc/html/libxml-nanohttp.html | 254 +- doc/html/libxml-parser.html | 4749 +++++++++++++++++++++++++- doc/html/libxml-parserinternals.html | 1400 ++++---- doc/html/libxml-sax.html | 86 +- doc/html/libxml-threads.html | 106 +- doc/html/libxml-tree.html | 410 +-- doc/html/libxml-uri.html | 30 +- doc/html/libxml-valid.html | 196 +- doc/html/libxml-xinclude.html | 16 +- doc/html/libxml-xmlerror.html | 20 +- doc/html/libxml-xmlio.html | 248 +- doc/html/libxml-xmlmemory.html | 118 +- doc/html/libxml-xpath.html | 349 +- doc/html/libxml-xpathinternals.html | 1401 ++++---- doc/html/libxml-xpointer.html | 150 +- 28 files changed, 8528 insertions(+), 3191 deletions(-) diff --git a/doc/html/book1.html b/doc/html/book1.html index e69de29b..7fbbcbcb 100644 --- a/doc/html/book1.html +++ b/doc/html/book1.html @@ -0,0 +1,327 @@ +Gnome XML Library Reference Manual

Gnome XML Library Reference Manual

Daniel Veillard

    daniel@veillard.com
+   

Copyright © 1999 by Daniel Veillard

This manual documents the interfaces of the libxml + library and has some short notes to help get you up to speed + with using the library.

Permission is granted to make and distribute verbatim + copies of this manual provided the copyright notice and this + permission notice are preserved on all copies.

Permission is granted to copy and distribute modified + versions of this manual under the conditions for verbatim + copying, provided also that the entire resulting derived work is + distributed under the terms of a permission notice identical to + this one.

Permission is granted to copy and distribute translations + of this manual into another language, under the above conditions + for modified versions.

Table of Contents
Libxml Programming Notes
Libxml Library Reference
parser
SAX
tree
entities
valid
uri
xmlerror
HTMLparser
HTMLtree
xpath
xpathInternals
xpointer
xinclude
nanohttp
nanoftp
xmlIO
catalog
threads
globals
DOCBparser
parserInternals
encoding
hash
debugXML
xmlmemory


   Next Page >>>
 Libxml Programming Notes
\ No newline at end of file diff --git a/doc/html/index.sgml b/doc/html/index.sgml index 4e7d46c9..04a7f8ca 100644 --- a/doc/html/index.sgml +++ b/doc/html/index.sgml @@ -602,7 +602,7 @@ - + diff --git a/doc/html/libxml-catalog.html b/doc/html/libxml-catalog.html index d34e1a7a..b52e2668 100644 --- a/doc/html/libxml-catalog.html +++ b/doc/html/libxml-catalog.html @@ -123,7 +123,7 @@ NAME="LIBXML-CATALOG" >

Name

Synopsis

Description

Details

XML_CATALOGS_NAMESPACE

>XML_CATALOGS_NAMESPACE

XML_CATALOG_PI

>XML_CATALOG_PI

enum xmlCatalogPrefer

>enum xmlCatalogPrefer

enum xmlCatalogAllow

>enum xmlCatalogAllow

struct xmlCatalog

>struct xmlCatalog

xmlCatalogPtr

>xmlCatalogPtr

xmlNewCatalog ()

>xmlNewCatalog ()


xmlLoadACatalog ()

>xmlLoadACatalog ()


xmlLoadSGMLSuperCatalog ()

>xmlLoadSGMLSuperCatalog ()


xmlConvertSGMLCatalog ()

>xmlConvertSGMLCatalog ()


xmlACatalogAdd ()

>xmlACatalogAdd ()


xmlACatalogRemove ()

>xmlACatalogRemove ()


xmlACatalogResolve ()

>xmlACatalogResolve ()

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

xmlACatalogResolveSystem ()

>xmlACatalogResolveSystem ()

the system ID if found or NULL otherwise, the value returned -must be freed by the caller.

xmlACatalogResolvePublic ()

>xmlACatalogResolvePublic ()

the system ID if found or NULL otherwise, the value returned -must be freed by the caller.

xmlACatalogResolveURI ()

>xmlACatalogResolveURI ()

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

xmlACatalogDump ()

>xmlACatalogDump ()


xmlFreeCatalog ()

>xmlFreeCatalog ()


xmlCatalogIsEmpty ()

>xmlCatalogIsEmpty ()


xmlInitializeCatalog ()

>xmlInitializeCatalog ()

xmlLoadCatalog ()

>xmlLoadCatalog ()


xmlLoadCatalogs ()

>xmlLoadCatalogs ()


xmlCatalogCleanup ()

>xmlCatalogCleanup ()

xmlCatalogDump ()

>xmlCatalogDump ()


xmlCatalogResolve ()

>xmlCatalogResolve ()

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

xmlCatalogResolveSystem ()

>xmlCatalogResolveSystem ()

the system ID if found or NULL otherwise, the value returned -must be freed by the caller.

xmlCatalogResolvePublic ()

>xmlCatalogResolvePublic ()

the system ID if found or NULL otherwise, the value returned -must be freed by the caller.

xmlCatalogResolveURI ()

>xmlCatalogResolveURI ()

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

xmlCatalogAdd ()

>xmlCatalogAdd ()


xmlCatalogRemove ()

>xmlCatalogRemove ()


xmlParseCatalogFile ()

>xmlParseCatalogFile ()


xmlCatalogConvert ()

>xmlCatalogConvert ()


xmlCatalogFreeLocal ()

>xmlCatalogFreeLocal ()


xmlCatalogAddLocal ()

>xmlCatalogAddLocal ()


xmlCatalogLocalResolve ()

>xmlCatalogLocalResolve ()

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

xmlCatalogLocalResolveURI ()

>xmlCatalogLocalResolveURI ()

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

xmlCatalogSetDebug ()

>xmlCatalogSetDebug ()


xmlCatalogSetDefaultPrefer ()

>xmlCatalogSetDefaultPrefer ()


xmlCatalogSetDefaults ()

>xmlCatalogSetDefaults ()


xmlCatalogGetDefaults ()

>xmlCatalogGetDefaults ()


xmlCatalogGetSystem ()

>xmlCatalogGetSystem ()


xmlCatalogGetPublic ()

>xmlCatalogGetPublic ()

Name

Synopsis

Description

Details

xmlDebugDumpString ()

>xmlDebugDumpString ()


xmlDebugDumpAttr ()

>xmlDebugDumpAttr ()


xmlDebugDumpAttrList ()

>xmlDebugDumpAttrList ()


xmlDebugDumpOneNode ()

>xmlDebugDumpOneNode ()


xmlDebugDumpNode ()

>xmlDebugDumpNode ()


xmlDebugDumpNodeList ()

>xmlDebugDumpNodeList ()


xmlDebugDumpDocumentHead ()

>xmlDebugDumpDocumentHead ()


xmlDebugDumpDocument ()

>xmlDebugDumpDocument ()


xmlDebugDumpDTD ()

>xmlDebugDumpDTD ()


xmlDebugDumpEntities ()

>xmlDebugDumpEntities ()


xmlLsOneNode ()

>xmlLsOneNode ()


xmlLsCountNode ()

>xmlLsCountNode ()


xmlShellReadlineFunc ()

>xmlShellReadlineFunc ()


struct xmlShellCtxt

>struct xmlShellCtxt

xmlShellCtxtPtr

>xmlShellCtxtPtr

xmlShellCmd ()

>xmlShellCmd ()


xmlShellPrintXPathError ()

>xmlShellPrintXPathError ()


xmlShellPrintNode ()

>xmlShellPrintNode ()


xmlShellPrintXPathResult ()

>xmlShellPrintXPathResult ()


xmlShellList ()

>xmlShellList ()


xmlShellBase ()

>xmlShellBase ()


xmlShellDir ()

>xmlShellDir ()


xmlShellCat ()

>xmlShellCat ()


xmlShellLoad ()

>xmlShellLoad ()


xmlShellWrite ()

>xmlShellWrite ()


xmlShellSave ()

>xmlShellSave ()


xmlShellValidate ()

>xmlShellValidate ()


xmlShellDu ()

>xmlShellDu ()


xmlShellPwd ()

>xmlShellPwd ()


xmlShell ()

>xmlShell ()

Name

Synopsis

Description

Details

docbParserCtxt

>docbParserCtxt

docbParserCtxtPtr

>docbParserCtxtPtr

docbParserNodeInfo

>docbParserNodeInfo

docbSAXHandler

>docbSAXHandler

docbSAXHandlerPtr

>docbSAXHandlerPtr

docbParserInput

>docbParserInput

docbParserInputPtr

>docbParserInputPtr

docbDocPtr

>docbDocPtr

docbNodePtr

>docbNodePtr

docbEncodeEntities ()

>docbEncodeEntities ()

inlen after return is the number of octets consumed -as the return value is positive, else unpredictable. + as the return value is positive, else unpredictable. The value of

docbSAXParseDoc ()

>docbSAXParseDoc ()


docbParseDoc ()

>docbParseDoc ()


docbSAXParseFile ()

>docbSAXParseFile ()


docbParseFile ()

>docbParseFile ()


docbFreeParserCtxt ()

>docbFreeParserCtxt ()


docbCreatePushParserCtxt ()

>docbCreatePushParserCtxt ()


docbParseChunk ()

>docbParseChunk ()


docbCreateFileParserCtxt ()

>docbCreateFileParserCtxt ()


docbParseDocument ()

>docbParseDocument ()

0, -1 in case of error. the parser context is augmented -as a result of the parsing.

Name

Synopsis

Description

Details

enum xmlCharEncoding

>enum xmlCharEncoding

xmlCharEncodingInputFunc ()

>xmlCharEncodingInputFunc ()

the number of byte written, or -1 by lack of space, or -2 -if the transcoding failed. + if the transcoding failed. The value of inlen after return is the number of octets consumed -as the return value is positive, else unpredictiable. + as the return value is positive, else unpredictiable. The value of

xmlCharEncodingOutputFunc ()

>xmlCharEncodingOutputFunc ()

the number of byte written, or -1 by lack of space, or -2 -if the transcoding failed. + if the transcoding failed. The value of inlen after return is the number of octets consumed -as the return value is positive, else unpredictiable. + as the return value is positive, else unpredictiable. The value of

struct xmlCharEncodingHandler

>struct xmlCharEncodingHandler

xmlCharEncodingHandlerPtr

>xmlCharEncodingHandlerPtr

xmlInitCharEncodingHandlers ()

>xmlInitCharEncodingHandlers ()
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.


xmlCleanupCharEncodingHandlers ()

>xmlCleanupCharEncodingHandlers ()

xmlRegisterCharEncodingHandler ()

>xmlRegisterCharEncodingHandler ()


xmlGetCharEncodingHandler ()

>xmlGetCharEncodingHandler ()


xmlFindCharEncodingHandler ()

>xmlFindCharEncodingHandler ()


xmlAddEncodingAlias ()

>xmlAddEncodingAlias ()


xmlDelEncodingAlias ()

>xmlDelEncodingAlias ()


xmlGetEncodingAlias ()

>xmlGetEncodingAlias ()


xmlCleanupEncodingAliases ()

>xmlCleanupEncodingAliases ()

xmlParseCharEncoding ()

>xmlParseCharEncoding ()


xmlGetCharEncodingName ()

>xmlGetCharEncodingName ()


xmlDetectCharEncoding ()

>xmlDetectCharEncoding ()

a pointer to the first bytes of the XML entity, must be at least -4 bytes long.
ctxt :

xmlCharEncOutFunc ()

>xmlCharEncOutFunc ()

the number of byte written if success, or --1 general error --2 if the transcoding fails (for *in is not valid utf8 string or -the result of transformation can't fit into the encoding we want), or

xmlCharEncInFunc ()

>xmlCharEncInFunc ()

the number of byte written if success, or --1 general error --2 if the transcoding fails (for *in is not valid utf8 string or -the result of transformation can't fit into the encoding we want), or

xmlCharEncFirstLine ()

>xmlCharEncFirstLine ()

the number of byte written if success, or --1 general error --2 if the transcoding fails (for *in is not valid utf8 string or -the result of transformation can't fit into the encoding we want), or

xmlCharEncCloseFunc ()

>xmlCharEncCloseFunc ()


UTF8Toisolat1 ()

>UTF8Toisolat1 ()

inlen after return is the number of octets consumed -as the return value is positive, else unpredictable. + as the return value is positive, else unpredictable. The value of

isolat1ToUTF8 ()

>isolat1ToUTF8 ()

inlen
after return is the number of octets consumed -as the return value is positive, else unpredictable. + as the return value is positive, else unpredictable. The value of

xmlCheckUTF8 ()

>xmlCheckUTF8 ()


xmlUTF8Strsize ()

>xmlUTF8Strsize ()


xmlUTF8Strndup ()

>xmlUTF8Strndup ()


xmlUTF8Strpos ()

>xmlUTF8Strpos ()


xmlUTF8Strloc ()

>xmlUTF8Strloc ()


xmlUTF8Strsub ()

>xmlUTF8Strsub ()


xmlUTF8Strlen ()

>xmlUTF8Strlen ()

enum xmlEntityType>enum xmlEntityType
struct xmlEntity>struct xmlEntity
xmlEntityPtr>xmlEntityPtr
xmlEntitiesTablePtr>xmlEntitiesTablePtr
xmlInitializePredefinedEntities ()>xmlInitializePredefinedEntities ()
xmlAddDocEntity ()>xmlAddDocEntity ()
xmlAddDtdEntity ()>xmlAddDtdEntity ()
xmlGetPredefinedEntity ()>xmlGetPredefinedEntity ()
xmlGetDocEntity ()>xmlGetDocEntity ()
xmlGetDtdEntity ()>xmlGetDtdEntity ()
xmlGetParameterEntity ()>xmlGetParameterEntity ()
xmlEncodeEntities ()>xmlEncodeEntities ()

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.

xmlEncodeEntitiesReentrant ()>xmlEncodeEntitiesReentrant ()
xmlEncodeSpecialChars ()>xmlEncodeSpecialChars ()
xmlCreateEntitiesTable ()>xmlCreateEntitiesTable ()
xmlCopyEntitiesTable ()>xmlCopyEntitiesTable ()
xmlFreeEntitiesTable ()>xmlFreeEntitiesTable ()
xmlDumpEntitiesTable ()>xmlDumpEntitiesTable ()
xmlDumpEntityDecl ()>xmlDumpEntityDecl ()
xmlCleanupPredefinedEntities ()>xmlCleanupPredefinedEntities ()

Name

Synopsis

Description

Details

struct xmlGlobalState

>struct xmlGlobalState

xmlGlobalStatePtr

>xmlGlobalStatePtr

xmlInitializeGlobalState ()

>xmlInitializeGlobalState ()


xmlMalloc()

>xmlMalloc()


xmlRealloc()

>xmlRealloc()


xmlFree

>xmlFree

xmlMemStrdup()

>xmlMemStrdup()


docbDefaultSAXHandler

>docbDefaultSAXHandler

htmlDefaultSAXHandler

>htmlDefaultSAXHandler

oldXMLWDcompatibility

>oldXMLWDcompatibility

xmlBufferAllocScheme

>xmlBufferAllocScheme

xmlDefaultBufferSize

>xmlDefaultBufferSize

xmlDefaultSAXHandler

>xmlDefaultSAXHandler

xmlDefaultSAXLocator

>xmlDefaultSAXLocator

xmlDoValidityCheckingDefaultValue

>xmlDoValidityCheckingDefaultValue

xmlGenericError

>xmlGenericError

xmlGenericErrorContext

>xmlGenericErrorContext

xmlGetWarningsDefaultValue

>xmlGetWarningsDefaultValue

xmlIndentTreeOutput

>xmlIndentTreeOutput

xmlKeepBlanksDefaultValue

>xmlKeepBlanksDefaultValue

xmlLineNumbersDefaultValue

>xmlLineNumbersDefaultValue

xmlLoadExtDtdDefaultValue

>xmlLoadExtDtdDefaultValue

xmlParserDebugEntities

>xmlParserDebugEntities

xmlParserVersion

>xmlParserVersion

xmlPedanticParserDefaultValue

>xmlPedanticParserDefaultValue

xmlSaveNoEmptyTags

>xmlSaveNoEmptyTags

xmlSubstituteEntitiesDefaultValue

>xmlSubstituteEntitiesDefaultValue

Name

Synopsis

Description

Details

struct xmlHashTable

>struct xmlHashTable

xmlHashTablePtr

>xmlHashTablePtr

xmlHashDeallocator ()

>xmlHashDeallocator ()

payload : 
name : 


xmlHashCopier ()

void*       (*xmlHashCopier)                (void *payload,
-                                             xmlChar *name);

>xmlHashCopier ()

void*       (*xmlHashCopier)                (void *payload,
+                                             xmlChar *name);

payload : 
name : 


xmlHashScanner ()

>xmlHashScanner ()


xmlHashScannerFull ()

>xmlHashScannerFull ()


xmlHashCreate ()

>xmlHashCreate ()


xmlHashFree ()

>xmlHashFree ()


xmlHashAddEntry ()

>xmlHashAddEntry ()


xmlHashUpdateEntry ()

>xmlHashUpdateEntry ()


xmlHashAddEntry2 ()

>xmlHashAddEntry2 ()


xmlHashUpdateEntry2 ()

>xmlHashUpdateEntry2 ()


xmlHashAddEntry3 ()

>xmlHashAddEntry3 ()


xmlHashUpdateEntry3 ()

>xmlHashUpdateEntry3 ()


xmlHashRemoveEntry ()

>xmlHashRemoveEntry ()


xmlHashRemoveEntry2 ()

>xmlHashRemoveEntry2 ()


xmlHashRemoveEntry3 ()

>xmlHashRemoveEntry3 ()


xmlHashLookup ()

>xmlHashLookup ()


xmlHashLookup2 ()

>xmlHashLookup2 ()


xmlHashLookup3 ()

>xmlHashLookup3 ()


xmlHashCopy ()

>xmlHashCopy ()


xmlHashSize ()

>xmlHashSize ()


xmlHashScan ()

>xmlHashScan ()


xmlHashScan3 ()

>xmlHashScan3 ()


xmlHashScanFull ()

>xmlHashScanFull ()


xmlHashScanFull3 ()

>xmlHashScanFull3 ()

htmlParserCtxt>htmlParserCtxt
htmlParserCtxtPtr>htmlParserCtxtPtr
htmlParserNodeInfo>htmlParserNodeInfo
htmlSAXHandler>htmlSAXHandler
htmlSAXHandlerPtr>htmlSAXHandlerPtr
htmlParserInput>htmlParserInput
htmlParserInputPtr>htmlParserInputPtr
htmlDocPtr>htmlDocPtr
htmlNodePtr>htmlNodePtr
struct htmlElemDesc>struct htmlElemDesc
htmlElemDescPtr>htmlElemDescPtr
struct htmlEntityDesc>struct htmlEntityDesc
htmlEntityDescPtr>htmlEntityDescPtr
htmlTagLookup ()>htmlTagLookup ()
htmlEntityLookup ()>htmlEntityLookup ()
htmlEntityValueLookup ()>htmlEntityValueLookup ()
htmlIsAutoClosed ()>htmlIsAutoClosed ()
htmlAutoCloseTag ()>htmlAutoCloseTag ()
htmlParseEntityRef ()>htmlParseEntityRef ()
the associated htmlEntityDescPtr if found, or NULL otherwise, -if non-NULL *str will have to be freed by the caller.
htmlParseCharRef ()>htmlParseCharRef ()parse Reference declarations

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

htmlParseElement ()>htmlParseElement ()
htmlSAXParseDoc ()>htmlSAXParseDoc ()
the resulting document tree unless SAX is NULL or the document is -not well formed.
htmlParseDoc ()>htmlParseDoc ()htmlSAXParseFile ()>htmlSAXParseFile ()
the resulting document tree unless SAX is NULL or the document is -not well formed.
htmlParseFile ()>htmlParseFile ()UTF8ToHtml ()>UTF8ToHtml ()
inlen after return is the number of octets consumed -as the return value is positive, else unpredictable. + as the return value is positive, else unpredictable. The value of htmlEncodeEntities ()>htmlEncodeEntities ()
inlen after return is the number of octets consumed -as the return value is positive, else unpredictable. + as the return value is positive, else unpredictable. The value of htmlIsScriptAttribute ()>htmlIsScriptAttribute ()
htmlHandleOmittedElem ()>htmlHandleOmittedElem ()
htmlFreeParserCtxt ()>htmlFreeParserCtxt ()
htmlCreatePushParserCtxt ()>htmlCreatePushParserCtxt ()
htmlParseChunk ()>htmlParseChunk ()
HTML_TEXT_NODE>HTML_TEXT_NODE
HTML_ENTITY_REF_NODE>HTML_ENTITY_REF_NODE
HTML_COMMENT_NODE>HTML_COMMENT_NODE
HTML_PRESERVE_NODE>HTML_PRESERVE_NODE
HTML_PI_NODE>HTML_PI_NODE
htmlNewDoc ()>htmlNewDoc ()
htmlNewDocNoDtD ()>htmlNewDocNoDtD ()
htmlGetMetaEncoding ()>htmlGetMetaEncoding ()
htmlSetMetaEncoding ()>htmlSetMetaEncoding ()
htmlDocDumpMemory ()>htmlDocDumpMemory ()
htmlDocDump ()>htmlDocDump ()
htmlSaveFile ()>htmlSaveFile ()
htmlNodeDump ()>htmlNodeDump ()
htmlNodeDumpFile ()>htmlNodeDumpFile ()
htmlNodeDumpFileFormat ()>htmlNodeDumpFileFormat ()
htmlSaveFileEnc ()>htmlSaveFileEnc ()
htmlSaveFileFormat ()>htmlSaveFileFormat ()
htmlNodeDumpFormatOutput ()>htmlNodeDumpFormatOutput ()
htmlDocContentDumpOutput ()>htmlDocContentDumpOutput ()
htmlDocContentDumpFormatOutput ()>htmlDocContentDumpFormatOutput ()
xpath — \ No newline at end of file +> —
xpathInternals
xpointer
xinclude
nanohttp
nanoftp
xmlIO
catalog
threads
globals
DOCBparser
parserInternals
encoding
hash
debugXML
xmlmemory

This section contains the API reference for libxml. All + the public interfaces are documented here. This reference guide is + build by extracting comments from the code sources.



<<< Previous PageHome Next Page >>>
Libxml Programming Notesparser
\ No newline at end of file diff --git a/doc/html/libxml-nanoftp.html b/doc/html/libxml-nanoftp.html index 4f7fcf2c..67475585 100644 --- a/doc/html/libxml-nanoftp.html +++ b/doc/html/libxml-nanoftp.html @@ -123,7 +123,7 @@ NAME="LIBXML-NANOFTP" >

Name

Synopsis

long size, +HREF="LONG-SIZE" +>long size, int links, int year, const char *month, @@ -283,7 +283,7 @@ HREF="libxml-nanoftp.html#XMLNANOFTPREAD" >

Description

Details

ftpListCallback ()

>ftpListCallback ()long size, +HREF="LONG-SIZE" +>long size, int links, int year, const char *month, @@ -342,7 +342,7 @@ Note that only one of year and day:minute are specified

sizeParam6 :
 
the file size

ftpDataCallback ()

>ftpDataCallback ()


xmlNanoFTPInit ()

>xmlNanoFTPInit ()

xmlNanoFTPCleanup ()

>xmlNanoFTPCleanup ()

xmlNanoFTPNewCtxt ()

>xmlNanoFTPNewCtxt ()


xmlNanoFTPFreeCtxt ()

>xmlNanoFTPFreeCtxt ()


xmlNanoFTPConnectTo ()

>xmlNanoFTPConnectTo ()


xmlNanoFTPOpen ()

>xmlNanoFTPOpen ()


xmlNanoFTPConnect ()

>xmlNanoFTPConnect ()


xmlNanoFTPClose ()

>xmlNanoFTPClose ()


xmlNanoFTPQuit ()

>xmlNanoFTPQuit ()


xmlNanoFTPScanProxy ()

>xmlNanoFTPScanProxy ()


xmlNanoFTPProxy ()

>xmlNanoFTPProxy ()


xmlNanoFTPUpdateURL ()

>xmlNanoFTPUpdateURL ()


xmlNanoFTPGetResponse ()

>xmlNanoFTPGetResponse ()


xmlNanoFTPCheckResponse ()

>xmlNanoFTPCheckResponse ()


xmlNanoFTPCwd ()

>xmlNanoFTPCwd ()


xmlNanoFTPGetConnection ()

>xmlNanoFTPGetConnection ()

ctx : an FTP context
Returns :-1 incase of error, 0 otherwise


xmlNanoFTPCloseConnection ()

int         xmlNanoFTPCloseConnection       (void *ctx);

Close the data connection from the server

>xmlNanoFTPCloseConnection ()

int         xmlNanoFTPCloseConnection       (void *ctx);

Close the data connection from the server

ctx : an FTP context
Returns :-1 incase of error, 0 otherwise


xmlNanoFTPList ()

>xmlNanoFTPList ()


xmlNanoFTPGetSocket ()

>xmlNanoFTPGetSocket ()


xmlNanoFTPGet ()

>xmlNanoFTPGet ()


xmlNanoFTPRead ()

>xmlNanoFTPRead ()

the number of byte read. 0 is an indication of an end of connection. --1 indicates a parameter error.

Name

Synopsis

Description

Details

xmlNanoHTTPInit ()

>xmlNanoHTTPInit ()

xmlNanoHTTPCleanup ()

>xmlNanoHTTPCleanup ()

xmlNanoHTTPScanProxy ()

>xmlNanoHTTPScanProxy ()


xmlNanoHTTPFetch ()

>xmlNanoHTTPFetch ()

if available the Content-Type information will be -returned at that location
-1 in case of failure, 0 incase of success. The contentType, -if provided must be freed by the caller

xmlNanoHTTPMethod ()

>xmlNanoHTTPMethod ()


xmlNanoHTTPMethodRedir ()

>xmlNanoHTTPMethodRedir ()


xmlNanoHTTPOpen ()

>xmlNanoHTTPOpen ()

URL : The URL to load
contentType : if available the Content-Type information will be -returned at that location


xmlNanoHTTPOpenRedir ()

void*       xmlNanoHTTPOpenRedir            (const char *URL,
-                                             char **contentType,
-                                             char **redir);

This function try to open a connection to the indicated resource -via HTTP GET.

if available the Content-Type information will be -returned at that location


>xmlNanoHTTPOpenRedir ()

void*       xmlNanoHTTPOpenRedir            (const char *URL,
+                                             char **contentType,
+                                             char **redir);

This function try to open a connection to the indicated resource +via HTTP GET.

URL : The URL to load
contentType : if available the Content-Type information will be + returned at that location

xmlNanoHTTPReturnCode ()

>xmlNanoHTTPReturnCode ()


xmlNanoHTTPAuthHeader ()

>xmlNanoHTTPAuthHeader ()


xmlNanoHTTPRead ()

>xmlNanoHTTPRead ()

the number of byte read. 0 is an indication of an end of connection. --1 indicates a parameter error.

xmlNanoHTTPSave ()

>xmlNanoHTTPSave ()


xmlNanoHTTPClose ()

>xmlNanoHTTPClose ()

int         xmlPedanticParserD
\ No newline at end of file
+>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.


>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.


>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


>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


>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


>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.


>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.


>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


>xmlSAXUserParseFile ()

int         xmlSAXUserParseFile             (xmlSAXHandlerPtr sax,
+                                             void *user_data,
+                                             const char *filename);

parse an XML file and call the given SAX handler routines. +Automatic support for ZLIB/Compress compressed document is provided

sax : a SAX handler
user_data : The user data returned on SAX callbacks
filename : a file name
Returns :0 in case of success or a error number otherwise


>xmlSAXUserParseMemory ()

int         xmlSAXUserParseMemory           (xmlSAXHandlerPtr sax,
+                                             void *user_data,
+                                             const char *buffer,
+                                             int size);

A better SAX parsing routine. +parse an XML in-memory buffer and call the given SAX handler routines.

sax : a SAX handler
user_data : The user data returned on SAX callbacks
buffer : an in-memory XML document input
size : the length of the XML document in bytes
Returns :0 in case of success or a error number otherwise


>xmlSAXParseMemory ()

xmlDocPtr   xmlSAXParseMemory               (xmlSAXHandlerPtr sax,
+                                             const char *buffer,
+                                             int size,
+                                             int recovery);

parse an XML in-memory block and 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
buffer : an pointer to a char array
size : the size of the array
recovery : work in recovery mode, i.e. tries to read not Well Formed + documents
Returns :the resulting document tree


>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


>xmlSAXParseFileWithData ()

xmlDocPtr   xmlSAXParseFileWithData         (xmlSAXHandlerPtr sax,
+                                             const char *filename,
+                                             int recovery,
+                                             void *data);

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.

User data (void *) is stored within the parser context, so it is +available nearly everywhere in libxml.

sax : the SAX handler block
filename : the filename
recovery : work in recovery mode, i.e. tries to read no Well Formed + documents
data : the userdata
Returns :the resulting document tree


>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


>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

filename : the filename
Returns :the resulting document tree


>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.


>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.


>xmlIOParseDTD ()

xmlDtdPtr   xmlIOParseDTD                   (xmlSAXHandlerPtr sax,
+                                             xmlParserInputBufferPtr input,
+                                             xmlCharEncoding enc);

Load and parse a DTD

sax : the SAX handler block or NULL
input : an Input Buffer
enc : the charset encoding if known
Returns :the resulting xmlDtdPtr or NULL in case of error. +input will be freed at parsing end.


>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


>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


>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


>xmlDefaultSAXHandlerInit ()

void        xmlDefaultSAXHandlerInit        (void);

Initialize the default SAX handler


>htmlDefaultSAXHandlerInit ()

void        htmlDefaultSAXHandlerInit       (void);

Initialize the default SAX handler


>xmlInitParserCtxt ()

void        xmlInitParserCtxt               (xmlParserCtxtPtr ctxt);

Initialize a parser context

ctxt : an XML parser context


>xmlClearParserCtxt ()

void        xmlClearParserCtxt              (xmlParserCtxtPtr ctxt);

Clear (release owned resources) and reinitialize a parser context

ctxt : an XML parser context


>xmlFreeParserCtxt ()

void        xmlFreeParserCtxt               (xmlParserCtxtPtr ctxt);

Free all the memory used by a parser context. However the parsed +document in ctxt->myDoc is not freed.

ctxt : an XML parser context


>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


>xmlCreateDocParserCtxt ()

xmlParserCtxtPtr xmlCreateDocParserCtxt     (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


>xmlGetFeaturesList ()

int         xmlGetFeaturesList              (int *len,
+                                             const char **result);

Copy at most *len feature names into the result array

len : the length of the features name array (input/output)
result : an array of string to be filled with the features name.
Returns :-1 in case or error, or the total number of features, + len is updated with the number of strings copied, + strings must not be deallocated


>xmlGetFeature ()

int         xmlGetFeature                   (xmlParserCtxtPtr ctxt,
+                                             const char *name,
+                                             void *result);

Read the current value of one feature of this parser instance

ctxt : an XML/HTML parser context
name : the feature name
result : location to store the result
Returns :-1 in case or error, 0 otherwise


>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


>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 +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


>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.


>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


>xmlNewIOInputStream ()

xmlParserInputPtr xmlNewIOInputStream       (xmlParserCtxtPtr ctxt,
+                                             xmlParserInputBufferPtr input,
+                                             xmlCharEncoding enc);

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


>xmlParserFindNodeInfo ()

const xmlParserNodeInfo* xmlParserFindNodeInfo
+                                            (const xmlParserCtxtPtr ctxt,
+                                             const xmlNodePtr node);

Find the parser node info struct for a given node

ctxt : an XML parser context
node : an XML node within the tree
Returns :an xmlParserNodeInfo block pointer or NULL


>xmlInitNodeInfoSeq ()

void        xmlInitNodeInfoSeq              (xmlParserNodeInfoSeqPtr seq);

-- Initialize (set to initial state) node info sequence

seq : a node info sequence pointer


>xmlClearNodeInfoSeq ()

void        xmlClearNodeInfoSeq             (xmlParserNodeInfoSeqPtr seq);

-- Clear (release memory and reinitialize) node + info sequence

seq : a node info sequence pointer


>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


>xmlParserAddNodeInfo ()

void        xmlParserAddNodeInfo            (xmlParserCtxtPtr ctxt,
+                                             const xmlParserNodeInfoPtr info);

Insert node info record into the sorted sequence

ctxt : an XML parser context
info : a node info sequence pointer


>xmlSetExternalEntityLoader ()

void        xmlSetExternalEntityLoader      (xmlExternalEntityLoader f);

Changes the defaultexternal entity resolver function for the application

f : the new entity resolver function


>xmlGetExternalEntityLoader ()

xmlExternalEntityLoader xmlGetExternalEntityLoader
+                                            (void);

Get the default external entity resolver function for the application

Returns :the xmlExternalEntityLoader function pointer


>xmlLoadExternalEntity ()

xmlParserInputPtr xmlLoadExternalEntity     (const char *URL,
+                                             const char *ID,
+                                             xmlParserCtxtPtr context);

Load an external entity, note that the use of this function for +unparsed entities may generate problems +TODO: a more generic External entity API must be designed

URL : the URL for the entity to load
ID : the Public ID for the entity to load
context : 
Returns :the xmlParserInputPtr or NULL



<<< Previous PageHomeUpNext Page >>>
Libxml Library ReferenceSAX
\ No newline at end of file diff --git a/doc/html/libxml-parserinternals.html b/doc/html/libxml-parserinternals.html index 7fe936f4..d86bde5b 100644 --- a/doc/html/libxml-parserinternals.html +++ b/doc/html/libxml-parserinternals.html @@ -123,7 +123,7 @@ NAME="LIBXML-PARSERINTERNALS" >

Name

Synopsis

Description

Details

XML_MAX_NAMELEN

>XML_MAX_NAMELEN

INPUT_CHUNK

>INPUT_CHUNK

IS_CHAR()

>IS_CHAR()
xFFFD] -| [x10000-


IS_BLANK()

>IS_BLANK()


IS_BASECHAR()

>IS_BASECHAR()


IS_DIGIT()

>IS_DIGIT()


IS_COMBINING()

>IS_COMBINING()


IS_EXTENDER()

>IS_EXTENDER()
x0640 | -x0E46 | x3035] | -[x309D-


IS_IDEOGRAPHIC()

>IS_IDEOGRAPHIC()


IS_LETTER()

>IS_LETTER()

c : an UNICODE value (int)


IS_PUBIDCHAR()

#define IS_PUBIDCHAR(c)	xmlIsPubidChar(c)

Macro to check the following production in the XML spec

[13] PubidChar ::= x20 | xD | xA | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]

>IS_PUBIDCHAR()

#define IS_PUBIDCHAR(c)	xmlIsPubidChar(c)

Macro to check the following production in the XML spec

[13] PubidChar ::= x20 | xD | xA | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]

c : an UNICODE value (int)


SKIP_EOL()

>SKIP_EOL()


MOVETO_ENDTAG()

>MOVETO_ENDTAG()


MOVETO_STARTTAG()

>MOVETO_STARTTAG()


xmlIsBaseChar ()

>xmlIsBaseChar ()


xmlIsBlank ()

>xmlIsBlank ()


xmlIsPubidChar ()

>xmlIsPubidChar ()

c : an unicode character (int)
Returns :0 if not, non-zero otherwise


xmlIsLetter ()

int         xmlIsLetter                     (int c);

Check whether the character is allowed by the production -[84] Letter ::= BaseChar | Ideographic

xmlIsDigit ()

>xmlIsLetter ()
int         xmlIsDigit                      (int c);
int xmlIsLetter (int c);

Check whether the character is allowed by the production -[88] Digit ::= ... long list see REC ...

xmlIsIdeographic ()

>xmlIsDigit ()
int         xmlIsIdeographic                (int c);
int xmlIsDigit (int c);

Check whether the character is allowed by the production -[86] Ideographic ::= [x4E00-x9FA5] | x3007 | [x3021-x3029]


xmlIsCombining ()

>xmlIsIdeographic ()
int         xmlIsCombining                  (int c);
int xmlIsIdeographic (int c);

Check whether the character is allowed by the production -[87] CombiningChar ::= ... long list see REC ...

x4E00-x9FA5] | x3007 | [x3021-x3029]

xmlIsExtender ()

>xmlIsCombining ()
int         xmlIsExtender                   (int c);
int xmlIsCombining (int c);

Check whether the character is allowed by the production -[89] Extender ::= x00B7 | x02D0 | x02D1 | x0387 | x0640 | -x0E46 | x0EC6 | x3005 | [x3031-x3035] | -[x309D-x309E] | [x30FC-x30FE]


>xmlIsExtender ()

int         xmlIsExtender                   (int c);

Check whether the character is allowed by the production +[89] Extender ::= x00B7 | x02D0 | x02D1 | x0387 | x0640 | + x0E46 | x0EC6 | x3005 | [x3031-x3035] | + [x309D-x309E] | [x30FC-x30FE]

c : an unicode character (int)
Returns :0 if not, non-zero otherwise


xmlIsChar ()

>xmlIsChar ()xFFFD] -| [x10000-


xmlCreateFileParserCtxt ()

>xmlCreateFileParserCtxt ()


xmlCreateMemoryParserCtxt ()

>xmlCreateMemoryParserCtxt ()


xmlNewParserCtxt ()

>xmlNewParserCtxt ()


xmlCreateEntityParserCtxt ()

>xmlCreateEntityParserCtxt ()


xmlSwitchEncoding ()

>xmlSwitchEncoding ()


xmlSwitchToEncoding ()

>xmlSwitchToEncoding ()


xmlFreeParserCtxt ()

>xmlFreeParserCtxt ()


xmlHandleEntity ()

>xmlHandleEntity ()


xmlNewStringInputStream ()

>xmlNewStringInputStream ()


xmlNewEntityInputStream ()

>xmlNewEntityInputStream ()


xmlPushInput ()

>xmlPushInput ()

xmlPushInput: switch to a new input stream which is stacked on top -of the previous one(s).


xmlPopInput ()

>xmlPopInput ()

xmlPopInput: the current input pointed by ctxt->input came to an end -pop it and return the next char.


xmlFreeInputStream ()

>xmlFreeInputStream ()


xmlNewInputFromFile ()

>xmlNewInputFromFile ()


xmlNewInputStream ()

>xmlNewInputStream ()


xmlSplitQName ()

>xmlSplitQName ()

the local part, and prefix is updated -to get the Prefix if any.

xmlNamespaceParseNCName ()

>xmlNamespaceParseNCName ()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


xmlNamespaceParseQName ()

>xmlNamespaceParseQName ()

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

the local part, and prefix is updated -to get the Prefix if any.

xmlNamespaceParseNSDef ()

>xmlNamespaceParseNSDef ()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


xmlParseQuotedString ()

>xmlParseQuotedString ()


xmlParseNamespace ()

>xmlParseNamespace ()


xmlScanName ()

>xmlScanName ()

TODO: seems deprecated now, only used in the default part of -xmlParserHandleReference

[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | -CombiningChar | Extender

[5] Name ::= (Letter | '_' | ':') (NameChar)*


xmlParseName ()

>xmlParseName ()
parse an XML name.

[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | -CombiningChar | Extender

[5] Name ::= (Letter | '_' | ':') (NameChar)*


xmlParseNmtoken ()

>xmlParseNmtoken ()


xmlParseEntityValue ()

>xmlParseEntityValue ()
parse a value for ENTITY declarations

[9] EntityValue ::= '"' ([^%&"] | PEReference | Reference)* '"' | -"'" ([^%&'] | PEReference | Reference)* "'"


xmlParseAttValue ()

>xmlParseAttValue ()

[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 + character to the attribute value - an entity reference is processed by recursively processing the -replacement text of the entity + replacement text of the entity - a whitespace character (x20x9) is processed by -appending x20 to the normalized value, except that only a single -x20 is appended for a "xA" sequence that is part of an external -parsed entity or the literal entity value of an internal parsed entity + 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 @@ -5471,7 +5471,7 @@ by a non-validating parser as if declared CDATA.


xmlParseSystemLiteral ()

>xmlParseSystemLiteral ()


xmlParsePubidLiteral ()

>xmlParsePubidLiteral ()


xmlParseCharData ()

>xmlParseCharData ()


xmlParseExternalID ()

>xmlParseExternalID ()
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

indicate whether we should restrict parsing to only -production [75], see NOTE below
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.

xmlParseComment ()

>xmlParseComment ()

Skip an XML (SGML) comment <!-- .... --> -The spec says that "For compatibility, the string "--" (double-hyphen) -must not occur within comments. "

[15] Comment ::= '<!--' ((Char - '-') | ('-' (Char - '-')))* '-->'


xmlParsePITarget ()

>xmlParsePITarget ()


xmlParsePI ()

>xmlParsePI ()


xmlParseNotationDecl ()

>xmlParseNotationDecl ()
[82] NotationDecl ::= '<!NOTATION' S Name S (ExternalID | PublicID) S? '>'

Hence there is actually 3 choices: -'PUBLIC' S PubidLiteral -'PUBLIC' S PubidLiteral S SystemLiteral + 'PUBLIC' S PubidLiteral + 'PUBLIC' S PubidLiteral S SystemLiteral and 'SYSTEM' S SystemLiteral

See the NOTE on


xmlParseEntityDecl ()

>xmlParseEntityDecl ()


xmlParseDefaultDecl ()

>xmlParseDefaultDecl ()

XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED -or XML_ATTRIBUTE_FIXED.

xmlParseNotationType ()

>xmlParseNotationType ()


xmlParseEnumerationType ()

>xmlParseEnumerationType ()


xmlParseEnumeratedType ()

>xmlParseEnumeratedType ()


xmlParseAttributeType ()

>xmlParseAttributeType ()
[55] StringType ::= 'CDATA'

[56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' | -'ENTITIES' | 'NMTOKEN' | 'NMTOKENS'

Validity constraints for attribute values syntax are checked in


xmlParseAttributeListDecl ()

>xmlParseAttributeListDecl ()


xmlParseElementMixedContentDecl ()

>xmlParseElementMixedContentDecl ()
PCDATA' (S? '|' S? Name)* S? ')*' | -'(' S? 'PCDATA' S? ')'


xmlParseElementChildrenContentD ()

>xmlParseElementChildrenContentD ()

the tree of xmlElementContentPtr describing the element -hierarchy.

xmlParseElementChildrenContentDecl ()

>xmlParseElementChildrenContentDecl ()

the tree of xmlElementContentPtr describing the element -hierarchy.

xmlParseElementContentDecl ()

>xmlParseElementContentDecl ()


xmlParseElementDecl ()

>xmlParseElementDecl ()


xmlParseMarkupDecl ()

>xmlParseMarkupDecl ()
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 @@ -7548,7 +7548,7 @@ entities or to the external subset.)


xmlParseCharRef ()

>xmlParseCharRef ()
parse Reference declarations

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


xmlParseEntityRef ()

>xmlParseEntityRef ()


xmlParseReference ()

>xmlParseReference ()


xmlParsePEReference ()

>xmlParsePEReference ()


xmlParseDocTypeDecl ()

>xmlParseDocTypeDecl ()
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 @@ -7992,7 +7992,7 @@ type of the root element.


xmlParseAttribute ()

>xmlParseAttribute ()


xmlParseStartTag ()

>xmlParseStartTag ()


xmlParseEndTag ()

>xmlParseEndTag ()


xmlParseCDSect ()

>xmlParseCDSect ()


xmlParseContent ()

>xmlParseContent ()

ctxt : an XML parser context


xmlParseElement ()

void        xmlParseElement                 (xmlParserCtxtPtr ctxt);

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.

[ VC: Element Valid ] -An element is valid if there is a declaration matching elementdecl -where the Name matches the element type and one of the following holds: -- The declaration matches EMPTY and the element has no content. -- The declaration matches children and the sequence of child elements -belongs to the language generated by the regular expression in the -content model, with optional white space (characters matching the -nonterminal S) between each pair of child elements. -- The declaration matches Mixed and the content consists of character -data and child elements whose types match names in the content model. -- The declaration matches ANY, and the types of any child elements have -been declared.

>xmlParseElement ()

void        xmlParseElement                 (xmlParserCtxtPtr ctxt);

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.

[ VC: Element Valid ] +An element is valid if there is a declaration matching elementdecl +where the Name matches the element type and one of the following holds: + - The declaration matches EMPTY and the element has no content. + - The declaration matches children and the sequence of child elements + belongs to the language generated by the regular expression in the + content model, with optional white space (characters matching the + nonterminal S) between each pair of child elements. + - The declaration matches Mixed and the content consists of character + data and child elements whose types match names in the content model. + - The declaration matches ANY, and the types of any child elements have + been declared.

ctxt : an XML parser context


xmlParseVersionNum ()

>xmlParseVersionNum ()


xmlParseVersionInfo ()

>xmlParseVersionInfo ()


xmlParseEncName ()

>xmlParseEncName ()


xmlParseEncodingDecl ()

>xmlParseEncodingDecl ()


xmlParseSDDecl ()

>xmlParseSDDecl ()
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.


xmlParseXMLDecl ()

>xmlParseXMLDecl ()


xmlParseTextDecl ()

>xmlParseTextDecl ()


xmlParseMisc ()

>xmlParseMisc ()


xmlParseExternalSubset ()

>xmlParseExternalSubset ()


XML_SUBSTITUTE_NONE

>XML_SUBSTITUTE_NONE

XML_SUBSTITUTE_REF

>XML_SUBSTITUTE_REF

XML_SUBSTITUTE_PEREF

>XML_SUBSTITUTE_PEREF

XML_SUBSTITUTE_BOTH

>XML_SUBSTITUTE_BOTH

xmlDecodeEntities ()

>xmlDecodeEntities ()

A newly allocated string with the substitution done. The caller -must deallocate it !

xmlStringDecodeEntities ()

>xmlStringDecodeEntities ()

A newly allocated string with the substitution done. The caller -must deallocate it !

nodePush ()

>nodePush ()


nodePop ()

>nodePop ()


inputPush ()

>inputPush ()


inputPop ()

>inputPop ()


namePop ()

>namePop ()


namePush ()

>namePush ()


xmlSkipBlankChars ()

>xmlSkipBlankChars ()


xmlStringCurrentChar ()

>xmlStringCurrentChar ()


xmlParserHandlePEReference ()

>xmlParserHandlePEReference ()

A PEReference may have been detected in the current input stream the handling is done accordingly to -http://www.w3.org/TR/REC-xmlentproc i.e. -- Included in literal in entity values -- Included as Parameter Entity reference within DTDs


xmlParserHandleReference ()

>xmlParserHandleReference ()

TODO: Remove, now deprecated ... the test is done directly in the -content parsing + content parsing routines.

[67] Reference ::= EntityRef | CharRef

[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-xmlentproc


xmlCheckLanguageID ()

>xmlCheckLanguageID ()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 @@ -10861,7 +10861,7 @@ the XML Second edition.


xmlCurrentChar ()

>xmlCurrentChar ()


xmlCopyCharMultiByte ()

>xmlCopyCharMultiByte ()


xmlCopyChar ()

>xmlCopyChar ()


xmlNextChar ()

>xmlNextChar ()


xmlParserInputShrink ()

>xmlParserInputShrink ()


htmlInitAutoClose ()

>htmlInitAutoClose ()

htmlCreateFileParserCtxt ()

>htmlCreateFileParserCtxt ()


xmlEntityReferenceFunc ()

>xmlEntityReferenceFunc ()


xmlSetEntityReferenceFunc ()

>xmlSetEntityReferenceFunc ()

getPublicId ()>getPublicId ()
getSystemId ()>getSystemId ()
setDocumentLocator ()>setDocumentLocator ()
getLineNumber ()>getLineNumber ()
getColumnNumber ()>getColumnNumber ()
isStandalone ()>isStandalone ()
hasInternalSubset ()>hasInternalSubset ()
hasExternalSubset ()>hasExternalSubset ()
internalSubset ()>internalSubset ()
externalSubset ()>externalSubset ()
getEntity ()>getEntity ()
getParameterEntity ()>getParameterEntity ()
resolveEntity ()>resolveEntity ()

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

entityDecl ()>entityDecl ()
attributeDecl ()>attributeDecl ()
elementDecl ()>elementDecl ()
notationDecl ()>notationDecl ()
unparsedEntityDecl ()>unparsedEntityDecl ()
startDocument ()>startDocument ()
endDocument ()>endDocument ()
attribute ()>attribute ()
startElement ()>startElement ()
endElement ()>endElement ()
reference ()>reference ()
characters ()>characters ()
ignorableWhitespace ()>ignorableWhitespace ()
processingInstruction ()>processingInstruction ()
globalNamespace ()>globalNamespace ()
setNamespace ()>setNamespace ()
getNamespace ()>getNamespace ()
checkNamespace ()>checkNamespace ()
namespaceDecl ()>namespaceDecl ()
comment ()>comment ()
cdataBlock ()>cdataBlock ()
initxmlDefaultSAXHandler ()>initxmlDefaultSAXHandler ()
inithtmlDefaultSAXHandler ()>inithtmlDefaultSAXHandler ()
initdocbDefaultSAXHandler ()>initdocbDefaultSAXHandler ()
xmlDefaultSAXHandlerInit ()>xmlDefaultSAXHandlerInit ()
htmlDefaultSAXHandlerInit ()>htmlDefaultSAXHandlerInit ()
docbDefaultSAXHandlerInit ()>docbDefaultSAXHandlerInit ()

Name

Synopsis

Description

Details

struct xmlMutex

>struct xmlMutex

xmlMutexPtr

>xmlMutexPtr

xmlNewMutex ()

>xmlNewMutex ()


xmlMutexLock ()

>xmlMutexLock ()


xmlMutexUnlock ()

>xmlMutexUnlock ()


xmlFreeMutex ()

>xmlFreeMutex ()


struct xmlRMutex

>struct xmlRMutex

xmlRMutexPtr

>xmlRMutexPtr

xmlNewRMutex ()

>xmlNewRMutex ()


xmlRMutexLock ()

>xmlRMutexLock ()


xmlRMutexUnlock ()

>xmlRMutexUnlock ()


xmlFreeRMutex ()

>xmlFreeRMutex ()


xmlInitThreads ()

>xmlInitThreads ()

xmlLockLibrary ()

>xmlLockLibrary ()

xmlUnlockLibrary ()

>xmlUnlockLibrary ()

xmlGetThreadId ()

>xmlGetThreadId ()


xmlIsMainThread ()

>xmlIsMainThread ()


xmlCleanupThreads ()

>xmlCleanupThreads ()

xmlGetGlobalState ()

>xmlGetGlobalState ()

struct xmlParserInputBuffer>struct xmlParserInputBuffer
xmlParserInputBufferPtr>xmlParserInputBufferPtr
struct xmlOutputBuffer>struct xmlOutputBuffer
xmlOutputBufferPtr>xmlOutputBufferPtr
struct xmlParserInput>struct xmlParserInput
xmlParserInputPtr>xmlParserInputPtr
struct xmlParserCtxt>struct xmlParserCtxt

The parser context. NOTE This doesn't completely defines the parser state, the (current ?) -design of the parser uses recursive function calls since this allow -and easy mapping from the production rules of the specification -to the actual code. The drawback is that the actual function call -also reflect the parser state. However most of the parsing routines -takes as the only argument the parser context pointer, so migrating -to a state based parser for progressive parsing shouldn't be too hard.

xmlParserCtxtPtr>xmlParserCtxtPtr
BASE_BUFFER_SIZE>BASE_BUFFER_SIZE
XML_XML_NAMESPACE>XML_XML_NAMESPACE
enum xmlElementType>enum xmlElementType
xmlChar>xmlChar
BAD_CAST>BAD_CAST
struct xmlNotation>struct xmlNotation
xmlNotationPtr>xmlNotationPtr
enum xmlAttributeType>enum xmlAttributeType
enum xmlAttributeDefault>enum xmlAttributeDefault
struct xmlEnumeration>struct xmlEnumeration
xmlEnumerationPtr>xmlEnumerationPtr
struct xmlAttribute>struct xmlAttribute
xmlAttributePtr>xmlAttributePtr
enum xmlElementContentType>enum xmlElementContentType
enum xmlElementContentOccur>enum xmlElementContentOccur
struct xmlElementContent>struct xmlElementContent
xmlElementContentPtr>xmlElementContentPtr
enum xmlElementTypeVal>enum xmlElementTypeVal
struct xmlElement>struct xmlElement
xmlElementPtr>xmlElementPtr
XML_LOCAL_NAMESPACE>XML_LOCAL_NAMESPACE
xmlNsType>xmlNsType
struct xmlNs>struct xmlNs
xmlNsPtr>xmlNsPtr
struct xmlDtd>struct xmlDtd
xmlDtdPtr>xmlDtdPtr
struct xmlAttr>struct xmlAttr
xmlAttrPtr>xmlAttrPtr
struct xmlID>struct xmlID
xmlIDPtr>xmlIDPtr
struct xmlRef>struct xmlRef
xmlRefPtr>xmlRefPtr
enum xmlBufferAllocationScheme>enum xmlBufferAllocationScheme
struct xmlBuffer>struct xmlBuffer
xmlBufferPtr>xmlBufferPtr
struct xmlNode>struct xmlNode
xmlNodePtr>xmlNodePtr
XML_GET_CONTENT()>XML_GET_CONTENT()
XML_GET_LINE()>XML_GET_LINE()
struct xmlDoc>struct xmlDoc
xmlDocPtr>xmlDocPtr
xmlChildrenNode>xmlChildrenNode
xmlRootNode>xmlRootNode
xmlSetBufferAllocationScheme ()>xmlSetBufferAllocationScheme ()
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

xmlGetBufferAllocationScheme ()>xmlGetBufferAllocationScheme ()
Types are XML_BUFFER_ALLOC_EXACT - use exact sizes, keeps memory usage down XML_BUFFER_ALLOC_DOUBLEIT - double buffer when extra needed, -improves performance

xmlBufferCreate ()>xmlBufferCreate ()
xmlBufferCreateSize ()>xmlBufferCreateSize ()
xmlBufferResize ()>xmlBufferResize ()
xmlBufferFree ()>xmlBufferFree ()
xmlBufferDump ()>xmlBufferDump ()
xmlBufferAdd ()>xmlBufferAdd ()
xmlBufferAddHead ()>xmlBufferAddHead ()
xmlBufferCat ()>xmlBufferCat ()
xmlBufferCCat ()>xmlBufferCCat ()
xmlBufferShrink ()>xmlBufferShrink ()
xmlBufferGrow ()>xmlBufferGrow ()
xmlBufferEmpty ()>xmlBufferEmpty ()
xmlBufferContent ()>xmlBufferContent ()
xmlBufferSetAllocationScheme ()>xmlBufferSetAllocationScheme ()
xmlBufferLength ()>xmlBufferLength ()
xmlCreateIntSubset ()>xmlCreateIntSubset ()
xmlNewDtd ()>xmlNewDtd ()
xmlGetIntSubset ()>xmlGetIntSubset ()
xmlFreeDtd ()>xmlFreeDtd ()
xmlNewGlobalNs ()>xmlNewGlobalNs ()

Creation of a Namespace, the old way using PI and without scoping -DEPRECATED !!! + DEPRECATED !!! It now create a namespace on the root element of the document if found.

xmlNewNs ()>xmlNewNs ()xmlFreeNs ()>xmlFreeNs ()
xmlFreeNsList ()>xmlFreeNsList ()
xmlNewDoc ()>xmlNewDoc ()
xmlFreeDoc ()>xmlFreeDoc ()
xmlNewDocProp ()>xmlNewDocProp ()
xmlNewProp ()>xmlNewProp ()
xmlNewNsProp ()>xmlNewNsProp ()
xmlFreePropList ()>xmlFreePropList ()
xmlFreeProp ()>xmlFreeProp ()
xmlCopyProp ()>xmlCopyProp ()
xmlCopyPropList ()>xmlCopyPropList ()
xmlCopyDtd ()>xmlCopyDtd ()
xmlCopyDoc ()>xmlCopyDoc ()
xmlNewDocNode ()>xmlNewDocNode ()
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.

xmlNewDocRawNode ()>xmlNewDocRawNode ()
xmlNewNode ()>xmlNewNode ()
xmlNewChild ()>xmlNewChild ()
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 xmlNewTextChild() if entities -support is not needed.

xmlNewTextChild ()>xmlNewTextChild ()
xmlNewDocText ()>xmlNewDocText ()
xmlNewText ()>xmlNewText ()
xmlNewPI ()>xmlNewPI ()
xmlNewDocTextLen ()>xmlNewDocTextLen ()
xmlNewTextLen ()>xmlNewTextLen ()
xmlNewDocComment ()>xmlNewDocComment ()
xmlNewComment ()>xmlNewComment ()
xmlNewCDataBlock ()>xmlNewCDataBlock ()
xmlNewCharRef ()>xmlNewCharRef ()
xmlNewReference ()>xmlNewReference ()
xmlCopyNode ()>xmlCopyNode ()
xmlDocCopyNode ()>xmlDocCopyNode ()
xmlCopyNodeList ()>xmlCopyNodeList ()
xmlNewDocFragment ()>xmlNewDocFragment ()
xmlGetLineNo ()>xmlGetLineNo ()
xmlGetNodePath ()>xmlGetNodePath ()
the new path or NULL in case of error. The caller must free -the returned string
xmlDocGetRootElement ()>xmlDocGetRootElement ()xmlGetLastChild ()>xmlGetLastChild ()
xmlNodeIsText ()>xmlNodeIsText ()
xmlIsBlankNode ()>xmlIsBlankNode ()
xmlDocSetRootElement ()>xmlDocSetRootElement ()
xmlNodeSetName ()>xmlNodeSetName ()
xmlAddChild ()>xmlAddChild ()
xmlAddChildList ()>xmlAddChildList ()
xmlReplaceNode ()>xmlReplaceNode ()
xmlAddSibling ()>xmlAddSibling ()
xmlAddPrevSibling ()>xmlAddPrevSibling ()
xmlAddNextSibling ()>xmlAddNextSibling ()
xmlUnlinkNode ()>xmlUnlinkNode ()
xmlTextMerge ()>xmlTextMerge ()
xmlTextConcat ()>xmlTextConcat ()
xmlFreeNodeList ()>xmlFreeNodeList ()
xmlFreeNode ()>xmlFreeNode ()
xmlSetTreeDoc ()>xmlSetTreeDoc ()
xmlSetListDoc ()>xmlSetListDoc ()
xmlSearchNs ()>xmlSearchNs ()
xmlSearchNsByHref ()>xmlSearchNsByHref ()
xmlGetNsList ()>xmlGetNsList ()
xmlNsPtr found -that need to be freed by the caller or NULL if no -namespace if defined
xmlSetNs ()>xmlSetNs ()xmlCopyNamespace ()>xmlCopyNamespace ()
xmlCopyNamespaceList ()>xmlCopyNamespaceList ()
xmlSetProp ()>xmlSetProp ()
xmlGetProp ()>xmlGetProp ()
the attribute value or NULL if not found. -It's up to the caller to free the memory.
xmlHasProp ()>xmlHasProp ()the attribute or the attribute declaration or NULL if -neither was found.
xmlHasNsProp ()>xmlHasNsProp ()the attribute or the attribute declaration or NULL -if neither was found.
xmlSetNsProp ()>xmlSetNsProp ()xmlGetNsProp ()>xmlGetNsProp ()
the attribute value or NULL if not found. -It's up to the caller to free the memory.
xmlStringGetNodeList ()>xmlStringGetNodeList ()xmlStringLenGetNodeList ()>xmlStringLenGetNodeList ()
xmlNodeListGetString ()>xmlNodeListGetString ()
xmlNodeListGetRawString ()>xmlNodeListGetRawString ()
xmlNodeSetContent ()>xmlNodeSetContent ()
xmlNodeSetContentLen ()>xmlNodeSetContentLen ()
xmlNodeAddContent ()>xmlNodeAddContent ()
xmlNodeAddContentLen ()>xmlNodeAddContentLen ()
xmlNodeGetContent ()>xmlNodeGetContent ()
xmlChar * or NULL if no content is available. -It's up to the caller to free the memory.
xmlNodeGetLang ()>xmlNodeGetLang ()a pointer to the lang value, or NULL if not found -It's up to the caller to free the memory.
xmlNodeSetLang ()>xmlNodeSetLang ()xmlNodeGetSpacePreserve ()>xmlNodeGetSpacePreserve ()
xmlNodeSetSpacePreserve ()>xmlNodeSetSpacePreserve ()
xmlNodeGetBase ()>xmlNodeGetBase ()
a pointer to the base URL, or NULL if not found -It's up to the caller to free the memory.
xmlNodeSetBase ()>xmlNodeSetBase ()xmlRemoveProp ()>xmlRemoveProp ()
xmlUnsetProp ()>xmlUnsetProp ()
xmlUnsetNsProp ()>xmlUnsetNsProp ()
xmlBufferWriteXmlCHAR ()>xmlBufferWriteXmlCHAR ()
xmlBufferWriteCHAR ()>xmlBufferWriteCHAR ()
xmlBufferWriteChar ()>xmlBufferWriteChar ()
xmlBufferWriteQuotedString ()>xmlBufferWriteQuotedString ()
xmlReconciliateNs ()>xmlReconciliateNs ()
xmlDocDumpFormatMemory ()>xmlDocDumpFormatMemory ()
xmlDocDumpMemory ()>xmlDocDumpMemory ()
xmlDocDumpMemoryEnc ()>xmlDocDumpMemoryEnc ()
xmlDocDumpFormatMemoryEnc ()>xmlDocDumpFormatMemoryEnc ()
xmlDocDump ()>xmlDocDump ()
xmlElemDump ()>xmlElemDump ()
xmlSaveFile ()>xmlSaveFile ()
xmlSaveFormatFile ()>xmlSaveFormatFile ()
xmlNodeDump ()>xmlNodeDump ()
xmlSaveFileTo ()>xmlSaveFileTo ()
xmlSaveFormatFileTo ()>xmlSaveFormatFileTo ()
xmlNodeDumpOutput ()>xmlNodeDumpOutput ()
xmlSaveFormatFileEnc ()>xmlSaveFormatFileEnc ()
xmlSaveFileEnc ()>xmlSaveFileEnc ()
xmlGetDocCompressMode ()>xmlGetDocCompressMode ()
xmlSetDocCompressMode ()>xmlSetDocCompressMode ()
xmlGetCompressMode ()>xmlGetCompressMode ()
xmlSetCompressMode ()>xmlSetCompressMode ()
struct xmlURI>struct xmlURI
xmlURIPtr>xmlURIPtr
xmlCreateURI ()>xmlCreateURI ()
xmlBuildURI ()>xmlBuildURI ()
a new URI string (to be freed by the caller) or NULL in case -of error.
xmlParseURI ()>xmlParseURI ()xmlParseURIReference ()>xmlParseURIReference ()
xmlSaveUri ()>xmlSaveUri ()
xmlPrintURI ()>xmlPrintURI ()
xmlURIEscapeStr ()>xmlURIEscapeStr ()
xmlURIUnescapeString ()>xmlURIUnescapeString ()
xmlNormalizeURIPath ()>xmlNormalizeURIPath ()
xmlURIEscape ()>xmlURIEscape ()
xmlFreeURI ()>xmlFreeURI ()struct xmlValidState>struct xmlValidState
xmlValidStatePtr>xmlValidStatePtr
xmlValidityErrorFunc ()>xmlValidityErrorFunc ()
xmlValidityWarningFunc ()>xmlValidityWarningFunc ()
struct xmlValidCtxt>struct xmlValidCtxt
xmlValidCtxtPtr>xmlValidCtxtPtr
xmlNotationTablePtr>xmlNotationTablePtr
xmlElementTablePtr>xmlElementTablePtr
xmlAttributeTablePtr>xmlAttributeTablePtr
xmlIDTablePtr>xmlIDTablePtr
xmlRefTablePtr>xmlRefTablePtr
xmlSplitQName2 ()>xmlSplitQName2 ()
NULL if not a QName, otherwise the local part, and prefix -is updated to get the Prefix if any.
xmlAddNotationDecl ()>xmlAddNotationDecl ()xmlCopyNotationTable ()>xmlCopyNotationTable ()
xmlFreeNotationTable ()>xmlFreeNotationTable ()
xmlDumpNotationDecl ()>xmlDumpNotationDecl ()
xmlDumpNotationTable ()>xmlDumpNotationTable ()
xmlNewElementContent ()>xmlNewElementContent ()
xmlCopyElementContent ()>xmlCopyElementContent ()
xmlFreeElementContent ()>xmlFreeElementContent ()
xmlSnprintfElementContent ()>xmlSnprintfElementContent ()
xmlSprintfElementContent ()>xmlSprintfElementContent ()
xmlAddElementDecl ()>xmlAddElementDecl ()
xmlCopyElementTable ()>xmlCopyElementTable ()
xmlFreeElementTable ()>xmlFreeElementTable ()
xmlDumpElementTable ()>xmlDumpElementTable ()
xmlDumpElementDecl ()>xmlDumpElementDecl ()
xmlCreateEnumeration ()>xmlCreateEnumeration ()
the xmlEnumerationPtr just created or NULL in case -of error.
xmlFreeEnumeration ()>xmlFreeEnumeration ()xmlCopyEnumeration ()>xmlCopyEnumeration ()
the xmlEnumerationPtr just created or NULL in case -of error.
xmlAddAttributeDecl ()>xmlAddAttributeDecl ()xmlCopyAttributeTable ()>xmlCopyAttributeTable ()
xmlFreeAttributeTable ()>xmlFreeAttributeTable ()
xmlDumpAttributeTable ()>xmlDumpAttributeTable ()
xmlDumpAttributeDecl ()>xmlDumpAttributeDecl ()
xmlAddID ()>xmlAddID ()
xmlFreeIDTable ()>xmlFreeIDTable ()
xmlGetID ()>xmlGetID ()
xmlIsID ()>xmlIsID ()
xmlRemoveID ()>xmlRemoveID ()
xmlAddRef ()>xmlAddRef ()
xmlFreeRefTable ()>xmlFreeRefTable ()
xmlIsRef ()>xmlIsRef ()
xmlRemoveRef ()>xmlRemoveRef ()
xmlGetRefs ()>xmlGetRefs ()
xmlValidateRoot ()>xmlValidateRoot ()
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 ] + - [ VC: Root Element Type ] it doesn't try to recurse or apply other check to the element

xmlValidateElementDecl ()>xmlValidateElementDecl ()
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 ]

xmlValidNormalizeAttributeValue ()>xmlValidNormalizeAttributeValue ()
a new normalized string if normalization is needed, NULL otherwise -the caller must free the returned value.
xmlValidateAttributeDecl ()>xmlValidateAttributeDecl ()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

xmlValidateAttributeValue ()>xmlValidateAttributeValue ()

xmlValidateNotationDecl ()>xmlValidateNotationDecl ()
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 + - it seems that no validity constraint exists on notation declarations But this function get called anyway ...

xmlValidateDtd ()>xmlValidateDtd ()
xmlValidateDtdFinal ()>xmlValidateDtdFinal ()

basically it does the following checks described by the XML Rec - check that ENTITY and ENTITIES type attributes default or -possible values matches one of the defined entities. + possible values matches one of the defined entities. - check that NOTATION type attributes default or -possible values matches one of the defined notations.

xmlValidateDocument ()>xmlValidateDocument ()
xmlValidateElement ()>xmlValidateElement ()
xmlValidateOneElement ()>xmlValidateOneElement ()
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 ] + - [ VC: Element Valid ] + - [ VC: Required Attribute ] Then call xmlValidateOneAttributexmlValidateOneAttribute ()>xmlValidateOneAttribute ()
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

xmlValidateDocumentFinal ()>xmlValidateDocumentFinal ()

xmlValidateNotationUse ()>xmlValidateNotationUse ()
xmlIsMixedElement ()>xmlIsMixedElement ()
xmlGetDtdAttrDesc ()>xmlGetDtdAttrDesc ()
xmlGetDtdQAttrDesc ()>xmlGetDtdQAttrDesc ()
xmlGetDtdNotationDesc ()>xmlGetDtdNotationDesc ()
xmlGetDtdQElementDesc ()>xmlGetDtdQElementDesc ()
xmlGetDtdElementDesc ()>xmlGetDtdElementDesc ()
xmlValidGetValidElements ()>xmlValidGetValidElements ()
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.

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.
xmlValidGetPotentialChildren ()>xmlValidGetPotentialChildren ()

Name

Synopsis

Description

Details

xmlXIncludeProcess ()

>xmlXIncludeProcess ()

0 if no substitution were done, -1 if some processing failed -or the number of substitutions done.
enum xmlParserErrors>enum xmlParserErrorsxmlGenericErrorFunc ()>xmlGenericErrorFunc ()
xmlSetGenericErrorFunc ()>xmlSetGenericErrorFunc ()
initGenericErrorDefaultFunc ()>initGenericErrorDefaultFunc ()
xmlParserError ()>xmlParserError ()
xmlParserWarning ()>xmlParserWarning ()
xmlParserValidityError ()>xmlParserValidityError ()
xmlParserValidityWarning ()>xmlParserValidityWarning ()
xmlParserPrintFileInfo ()>xmlParserPrintFileInfo ()
xmlParserPrintFileContext ()>xmlParserPrintFileContext ()

Name

Synopsis

Description

Details

xmlInputMatchCallback ()

>xmlInputMatchCallback ()


xmlInputOpenCallback ()

>xmlInputOpenCallback ()


xmlInputReadCallback ()

>xmlInputReadCallback ()


xmlInputCloseCallback ()

>xmlInputCloseCallback ()


struct xmlParserInputBuffer

>struct xmlParserInputBuffer

xmlOutputMatchCallback ()

>xmlOutputMatchCallback ()


xmlOutputOpenCallback ()

>xmlOutputOpenCallback ()


xmlOutputWriteCallback ()

>xmlOutputWriteCallback ()


xmlOutputCloseCallback ()

>xmlOutputCloseCallback ()


struct xmlOutputBuffer

>struct xmlOutputBuffer

xmlCleanupInputCallbacks ()

>xmlCleanupInputCallbacks ()

xmlCleanupOutputCallbacks ()

>xmlCleanupOutputCallbacks ()

xmlRegisterDefaultInputCallbacks ()

>xmlRegisterDefaultInputCallbacks ()

xmlAllocParserInputBuffer ()

>xmlAllocParserInputBuffer ()


xmlParserInputBufferCreateFname ()

>xmlParserInputBufferCreateFname ()


xmlParserInputBufferCreateFilename ()

>xmlParserInputBufferCreateFilename ()


xmlParserInputBufferCreateFile ()

>xmlParserInputBufferCreateFile ()


xmlParserInputBufferCreateFd ()

>xmlParserInputBufferCreateFd ()


xmlParserInputBufferCreateMem ()

>xmlParserInputBufferCreateMem ()


xmlParserInputBufferCreateIO ()

>xmlParserInputBufferCreateIO ()


xmlParserInputBufferRead ()

>xmlParserInputBufferRead ()

the number of chars read and stored in the buffer, or -1 -in case of error.

xmlParserInputBufferGrow ()

>xmlParserInputBufferGrow ()

TODO: one should be able to remove one extra copy by copying directly -onto in->buffer or in->raw

the number of chars read and stored in the buffer, or -1 -in case of error.

xmlParserInputBufferPush ()

>xmlParserInputBufferPush ()

the number of chars read and stored in the buffer, or -1 -in case of error.

xmlFreeParserInputBuffer ()

>xmlFreeParserInputBuffer ()


xmlParserGetDirectory ()

>xmlParserGetDirectory ()


xmlRegisterInputCallbacks ()

>xmlRegisterInputCallbacks ()


xmlRegisterDefaultOutputCallbacks ()

>xmlRegisterDefaultOutputCallbacks ()

xmlAllocOutputBuffer ()

>xmlAllocOutputBuffer ()


xmlOutputBufferCreateFilename ()

>xmlOutputBufferCreateFilename ()


xmlOutputBufferCreateFile ()

>xmlOutputBufferCreateFile ()


xmlOutputBufferCreateFd ()

>xmlOutputBufferCreateFd ()


xmlOutputBufferCreateIO ()

>xmlOutputBufferCreateIO ()


xmlOutputBufferWrite ()

>xmlOutputBufferWrite ()

the number of chars immediately written, or -1 -in case of error.

xmlOutputBufferWriteString ()

>xmlOutputBufferWriteString ()

the number of chars immediately written, or -1 -in case of error.

xmlOutputBufferFlush ()

>xmlOutputBufferFlush ()


xmlOutputBufferClose ()

>xmlOutputBufferClose ()


xmlRegisterOutputCallbacks ()

>xmlRegisterOutputCallbacks ()


xmlIOHTTPOpenW ()

>xmlIOHTTPOpenW ()


xmlRegisterHTTPPostCallbacks ()

>xmlRegisterHTTPPostCallbacks ()

xmlNoNetExternalEntityLoader ()

>xmlNoNetExternalEntityLoader ()

Name

Synopsis

Description

Details

DEBUG_MEMORY

>DEBUG_MEMORY

MEM_LIST

>MEM_LIST

xmlFreeFunc ()

>xmlFreeFunc ()


xmlMallocFunc ()

>xmlMallocFunc ()


xmlReallocFunc ()

>xmlReallocFunc ()


xmlStrdupFunc ()

>xmlStrdupFunc ()


xmlMemSetup ()

>xmlMemSetup ()


xmlMemGet ()

>xmlMemGet ()


xmlInitMemory ()

>xmlInitMemory ()


xmlMemUsed ()

>xmlMemUsed ()


xmlMemDisplay ()

>xmlMemDisplay ()

a FILE descriptor used as the output file, if NULL, the result is -written to the file .memorylist

xmlMemShow ()

>xmlMemShow ()


xmlMemoryDump ()

>xmlMemoryDump ()

xmlMalloc()

>xmlMalloc()


xmlRealloc()

>xmlRealloc()


xmlMemStrdup()

>xmlMemStrdup()


xmlMallocLoc ()

>xmlMallocLoc ()


xmlReallocLoc ()

>xmlReallocLoc ()


xmlMemStrdupLoc ()

>xmlMemStrdupLoc ()

xmlXPathCompExprPtr; -typedef xmlXPathFunction (); +>*xmlXPathFunction) (xmlXPathParserContextPtr ctxt, + int nargs); int xmlXPathIsNaNstruct xmlXPathContext>struct xmlXPathContext

Expression evaluation occurs with respect to a context. he context consists of: -- a node (the context node) -- a node list (the context node list) -- a set of variable bindings -- a function library -- the set of namespace declarations in scope for the expression + - a node (the context node) + - a node list (the context node list) + - a set of variable bindings + - a function library + - the set of namespace declarations in scope for the expression Following the switch to hash tables, this need to be trimmed up at the next binary incompatible release.

xmlXPathContextPtr>xmlXPathContextPtr

struct xmlXPathParserContext>struct xmlXPathParserContext
xmlXPathParserContextPtr>xmlXPathParserContextPtr
enum xmlXPathError>enum xmlXPathError
struct xmlNodeSet>struct xmlNodeSet
xmlNodeSetPtr>xmlNodeSetPtr
enum xmlXPathObjectType>enum xmlXPathObjectType
struct xmlXPathObject>struct xmlXPathObject
xmlXPathObjectPtr>xmlXPathObjectPtr
xmlXPathConvertFunc ()>xmlXPathConvertFunc ()
struct xmlXPathType>struct xmlXPathType
xmlXPathTypePtr>xmlXPathTypePtr
struct xmlXPathVariable>struct xmlXPathVariable
xmlXPathVariablePtr>xmlXPathVariablePtr
xmlXPathEvalFunc ()>xmlXPathEvalFunc ()
struct xmlXPathFunct>struct xmlXPathFunct
xmlXPathFuncPtr>xmlXPathFuncPtr
xmlXPathAxisFunc ()>xmlXPathAxisFunc ()
struct xmlXPathAxis>struct xmlXPathAxis
xmlXPathAxisPtr>xmlXPathAxisPtr
struct xmlXPathCompExpr>struct xmlXPathCompExpr

[14] Expr ::= OrExpr -[21] OrExpr ::= AndExpr -| OrExpr 'or' AndExpr

Parse and compile an expression

xmlXPathCompExprPtr>xmlXPathCompExprPtrxmlXPathFunction ()>xmlXPathFunction ()
typedef     xmlXPathFunction                ();
void (*xmlXPathFunction) (xmlXPathParserContextPtr ctxt, + int nargs);
Returns :

 
nargs :

xmlXPathIsNaN ()

>xmlXPathIsNaN ()


xmlXPathIsInf ()

>xmlXPathIsInf ()


xmlXPathNodeSetGetLength()

>xmlXPathNodeSetGetLength()


xmlXPathNodeSetItem()

>xmlXPathNodeSetItem()


xmlXPathNodeSetIsEmpty()

>xmlXPathNodeSetIsEmpty()


xmlXPathFreeObject ()

>xmlXPathFreeObject ()


xmlXPathNodeSetCreate ()

>xmlXPathNodeSetCreate ()


xmlXPathFreeNodeSetList ()

>xmlXPathFreeNodeSetList ()


xmlXPathFreeNodeSet ()

>xmlXPathFreeNodeSet ()


xmlXPathObjectCopy ()

>xmlXPathObjectCopy ()


xmlXPathCmpNodes ()

>xmlXPathCmpNodes ()

-2 in case of error 1 if first point < second point, 0 if -that's the same node, -1 otherwise

xmlXPathCastNumberToBoolean ()

>xmlXPathCastNumberToBoolean ()


xmlXPathCastStringToBoolean ()

>xmlXPathCastStringToBoolean ()


xmlXPathCastNodeSetToBoolean ()

>xmlXPathCastNodeSetToBoolean ()


xmlXPathCastToBoolean ()

>xmlXPathCastToBoolean ()


xmlXPathCastBooleanToNumber ()

>xmlXPathCastBooleanToNumber ()


xmlXPathCastStringToNumber ()

>xmlXPathCastStringToNumber ()


xmlXPathCastNodeToNumber ()

>xmlXPathCastNodeToNumber ()


xmlXPathCastNodeSetToNumber ()

>xmlXPathCastNodeSetToNumber ()


xmlXPathCastToNumber ()

>xmlXPathCastToNumber ()


xmlXPathCastBooleanToString ()

>xmlXPathCastBooleanToString ()


xmlXPathCastNumberToString ()

>xmlXPathCastNumberToString ()


xmlXPathCastNodeToString ()

>xmlXPathCastNodeToString ()


xmlXPathCastNodeSetToString ()

>xmlXPathCastNodeSetToString ()


xmlXPathCastToString ()

>xmlXPathCastToString ()

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).

xmlXPathConvertBoolean ()

>xmlXPathConvertBoolean ()

the new object, the old one is freed (or the operation -is done directly on val

xmlXPathConvertNumber ()

>xmlXPathConvertNumber ()

the new object, the old one is freed (or the operation -is done directly on val

xmlXPathConvertString ()

>xmlXPathConvertString ()

the new object, the old one is freed (or the operation -is done directly on val

xmlXPathInit ()

>xmlXPathInit ()

xmlXPathNewContext ()

>xmlXPathNewContext ()


xmlXPathFreeContext ()

>xmlXPathFreeContext ()


xmlXPathEval ()

>xmlXPathEval ()

the xmlXPathObjectPtr resulting from the evaluation or NULL. -the caller has to free the object.

xmlXPathEvalExpression ()

>xmlXPathEvalExpression ()

the xmlXPathObjectPtr resulting from the evaluation or NULL. -the caller has to free the object.

xmlXPathEvalPredicate ()

>xmlXPathEvalPredicate ()


xmlXPathCompile ()

>xmlXPathCompile ()

the xmlXPathObjectPtr resulting from the evaluation or NULL. -the caller has to free the object.

xmlXPathCompiledEval ()

>xmlXPathCompiledEval ()

the xmlXPathObjectPtr resulting from the evaluation or NULL. -the caller has to free the object.

xmlXPathFreeCompExpr ()

>xmlXPathFreeCompExpr ()

Name

Synopsis

xmlXPathVariableLookupFunc f, void *data); -typedef xmlXPathFunction (); +> (*xmlXPathFuncLookupFunc) (void *ctxt, + const xmlChar *name, + const xmlChar *ns_uri); void xmlXPathRegisterFuncLookupxmlXPathContextPtr ctxt, - xmlXPathFuncLookupFuncxmlXPathFuncLookupFunc f, void *funcCtxt); void

Description

Details

xmlXPathSetError()

>xmlXPathSetError()


xmlXPathSetArityError()

>xmlXPathSetArityError()


xmlXPathSetTypeError()

>xmlXPathSetTypeError()


xmlXPathGetError()

>xmlXPathGetError()


xmlXPathCheckError()

>xmlXPathCheckError()


xmlXPathGetDocument()

>xmlXPathGetDocument()


xmlXPathGetContextNode()

>xmlXPathGetContextNode()


xmlXPathPopBoolean ()

>xmlXPathPopBoolean ()


xmlXPathPopNumber ()

>xmlXPathPopNumber ()


xmlXPathPopString ()

>xmlXPathPopString ()


xmlXPathPopNodeSet ()

>xmlXPathPopNodeSet ()


xmlXPathPopExternal ()

>xmlXPathPopExternal ()


xmlXPathReturnBoolean()

>xmlXPathReturnBoolean()


xmlXPathReturnTrue()

>xmlXPathReturnTrue()


xmlXPathReturnFalse()

>xmlXPathReturnFalse()


xmlXPathReturnNumber()

>xmlXPathReturnNumber()


xmlXPathReturnString()

>xmlXPathReturnString()


xmlXPathReturnEmptyString()

>xmlXPathReturnEmptyString()


xmlXPathReturnNodeSet()

>xmlXPathReturnNodeSet()


xmlXPathReturnEmptyNodeSet()

>xmlXPathReturnEmptyNodeSet()


xmlXPathReturnExternal()

>xmlXPathReturnExternal()


xmlXPathStackIsNodeSet()

>xmlXPathStackIsNodeSet()


xmlXPathStackIsExternal()

>xmlXPathStackIsExternal()


xmlXPathEmptyNodeSet()

>xmlXPathEmptyNodeSet()


CHECK_ERROR

>CHECK_ERROR

CHECK_ERROR0

>CHECK_ERROR0

XP_ERROR()

>XP_ERROR()


XP_ERROR0()

>XP_ERROR0()


CHECK_TYPE()

>CHECK_TYPE()


CHECK_TYPE0()

>CHECK_TYPE0()


CHECK_ARITY()

>CHECK_ARITY()


CAST_TO_STRING

>CAST_TO_STRING

CAST_TO_NUMBER

>CAST_TO_NUMBER

CAST_TO_BOOLEAN

>CAST_TO_BOOLEAN

xmlXPathVariableLookupFunc ()

>xmlXPathVariableLookupFunc ()


xmlXPathRegisterVariableLookup ()

>xmlXPathRegisterVariableLookup ()


xmlXPathFunction ()

>xmlXPathFuncLookupFunc ()
typedef     xmlXPathFunction                ();
xmlXPathFunction (*xmlXPathFuncLookupFunc) (void *ctxt, + const xmlChar *name, + const xmlChar *ns_uri);

An XPath function -The arguments (if any) are popped out of the context stack -and the result is pushed on the stack.

ctxt :
 
name : 
ns_uri : 
Returns

xmlXPathRegisterFuncLookup ()

>xmlXPathRegisterFuncLookup ()xmlXPathContextPtr ctxt, - xmlXPathFuncLookupFuncxmlXPathFuncLookupFunc f, void *funcCtxt);


xmlXPatherror ()

>xmlXPatherror ()


xmlXPathDebugDumpObject ()

>xmlXPathDebugDumpObject ()


xmlXPathDebugDumpCompExpr ()

>xmlXPathDebugDumpCompExpr ()


xmlXPathNodeSetContains ()

>xmlXPathNodeSetContains ()


xmlXPathDifference ()

>xmlXPathDifference ()
difference() function: -node-set set:difference (node-set, node-set)

the difference between the two node sets, or nodes1 if -nodes2 is empty

xmlXPathIntersection ()

>xmlXPathIntersection ()intersection() function: -node-set set:intersection (node-set, node-set)

a node set comprising the nodes that are within both the -node sets passed as arguments

xmlXPathDistinctSorted ()

>xmlXPathDistinctSorted ()distinct() function: -node-set set:distinct (node-set)

nodes if -it is empty

xmlXPathDistinct ()

>xmlXPathDistinct ()distinct() function: -node-set set:distinct (node-set) + node-set set:distinct (node-set)

nodes
if -it is empty

xmlXPathHasSameNodes ()

>xmlXPathHasSameNodes ()

Implements the EXSLT - Sets has-same-nodes function: -boolean set:has-same-node(node-set, node-set)

nodes2, false (0) -otherwise

xmlXPathNodeLeadingSorted ()

>xmlXPathNodeLeadingSorted ()leading() function: -node-set set:leading (node-set, node-set)

node in document order, -nodesnodes -doesn't contain node

xmlXPathLeadingSorted ()

>xmlXPathLeadingSorted ()
leading() function: -node-set set:leading (node-set, node-set)

nodes2
-in document order, nodes1nodes2 is NULL or empty or -an empty node-set if nodes1

xmlXPathNodeLeading ()

>xmlXPathNodeLeading ()
leading() function: -node-set set:leading (node-set, node-set) + node-set set:leading (node-set, node-set)

node
in document order, -nodesnodes -doesn't contain node

xmlXPathLeading ()

>xmlXPathLeading ()
leading() function: -node-set set:leading (node-set, node-set) + node-set set:leading (node-set, node-set)

nodes2
-in document order, nodes1nodes2 is NULL or empty or -an empty node-set if nodes1

xmlXPathNodeTrailingSorted ()

>xmlXPathNodeTrailingSorted ()
trailing() function: -node-set set:trailing (node-set, node-set)

node
in document order, -nodesnodes -doesn't contain node

xmlXPathTrailingSorted ()

>xmlXPathTrailingSorted ()
trailing() function: -node-set set:trailing (node-set, node-set)

nodes2
-in document order, nodes1nodes2 is NULL or empty or -an empty node-set if nodes1

xmlXPathNodeTrailing ()

>xmlXPathNodeTrailing ()
trailing() function: -node-set set:trailing (node-set, node-set) + node-set set:trailing (node-set, node-set)

node
in document order, -nodesnodes -doesn't contain node

xmlXPathTrailing ()

>xmlXPathTrailing ()
trailing() function: -node-set set:trailing (node-set, node-set) + node-set set:trailing (node-set, node-set)

nodes2
-in document order, nodes1nodes2 is NULL or empty or -an empty node-set if nodes1

xmlXPathRegisterNs ()

>xmlXPathRegisterNs ()


xmlXPathNsLookup ()

>xmlXPathNsLookup ()


xmlXPathRegisteredNsCleanup ()

>xmlXPathRegisteredNsCleanup ()


xmlXPathRegisterFunc ()

>xmlXPathRegisterFunc ()


xmlXPathRegisterFuncNS ()

>xmlXPathRegisterFuncNS ()


xmlXPathRegisterVariable ()

>xmlXPathRegisterVariable ()


xmlXPathRegisterVariableNS ()

>xmlXPathRegisterVariableNS ()


xmlXPathFunctionLookup ()

>xmlXPathFunctionLookup ()


xmlXPathFunctionLookupNS ()

>xmlXPathFunctionLookupNS ()


xmlXPathRegisteredFuncsCleanup ()

>xmlXPathRegisteredFuncsCleanup ()


xmlXPathVariableLookup ()

>xmlXPathVariableLookup ()


xmlXPathVariableLookupNS ()

>xmlXPathVariableLookupNS ()


xmlXPathRegisteredVariablesCleanup ()

>xmlXPathRegisteredVariablesCleanup ()


xmlXPathNewParserContext ()

>xmlXPathNewParserContext ()


xmlXPathFreeParserContext ()

>xmlXPathFreeParserContext ()


valuePop ()

>valuePop ()


valuePush ()

>valuePush ()


xmlXPathNewString ()

>xmlXPathNewString ()


xmlXPathNewCString ()

>xmlXPathNewCString ()


xmlXPathWrapString ()

>xmlXPathWrapString ()


xmlXPathWrapCString ()

>xmlXPathWrapCString ()


xmlXPathNewFloat ()

>xmlXPathNewFloat ()


xmlXPathNewBoolean ()

>xmlXPathNewBoolean ()


xmlXPathNewNodeSet ()

>xmlXPathNewNodeSet ()


xmlXPathNewValueTree ()

>xmlXPathNewValueTree ()


xmlXPathNodeSetAdd ()

>xmlXPathNodeSetAdd ()


xmlXPathNodeSetAddUnique ()

>xmlXPathNodeSetAddUnique ()


xmlXPathNodeSetSort ()

>xmlXPathNodeSetSort ()


xmlXPathIdFunction ()

>xmlXPathIdFunction ()
id() XPath function -node-set id(object) + 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 @@ -9271,7 +9334,7 @@ have a unique ID equal to any of the tokens in the list.


xmlXPathRoot ()

>xmlXPathRoot ()


xmlXPathEvalExpr ()

>xmlXPathEvalExpr ()

ctxt : the XPath Parser context


xmlXPathParseName ()

xmlChar*    xmlXPathParseName               (xmlXPathParserContextPtr ctxt);

parse an XML name

[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | -CombiningChar | Extender

[5] Name ::= (Letter | '_' | ':') (NameChar)*

the XPath Parser contextReturns :the namespace name or NULL


xmlXPathParseNCName ()

>xmlXPathParseName ()xmlChar* xmlXPathParseNCName (* xmlXPathParseName (xmlXPathParserContextPtr ctxt);

parse an XML namespace non qualified name.

parse an XML name

[NS 3] NCName ::= (Letter | '_') (NCNameChar)*

[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | + CombiningChar | Extender

[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' | -CombiningChar | Extender

[5] Name ::= (Letter | '_' | ':') (NameChar)*


>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


xmlXPathStringEvalNumber ()

>xmlXPathStringEvalNumber ()

[30a] Float ::= Number ('e' Digits?)?

[30] Number ::= Digits ('.' Digits?)? -| '.' Digits -[31] Digits ::= [0-9]+

[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 @@ -9686,7 +9749,7 @@ negative values : '-' Number.


xmlXPathEvaluatePredicateResult ()

>xmlXPathEvaluatePredicateResult ()


xmlXPathInit ()

>xmlXPathInit ()

xmlXPathStringFunction ()

>xmlXPathStringFunction ()
string() XPath function -string string(object?) + string string(object?) he 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.


xmlXPathRegisterAllFunctions ()

>xmlXPathRegisterAllFunctions ()


xmlXPathNodeSetCreate ()

>xmlXPathNodeSetCreate ()


xmlXPathNodeSetMerge ()

>xmlXPathNodeSetMerge ()


xmlXPathNodeSetDel ()

>xmlXPathNodeSetDel ()


xmlXPathNodeSetRemove ()

>xmlXPathNodeSetRemove ()


xmlXPathFreeNodeSet ()

>xmlXPathFreeNodeSet ()


xmlXPathNewNodeSetList ()

>xmlXPathNewNodeSetList ()


xmlXPathWrapNodeSet ()

>xmlXPathWrapNodeSet ()


xmlXPathWrapExternal ()

>xmlXPathWrapExternal ()


xmlXPathFreeNodeSetList ()

>xmlXPathFreeNodeSetList ()


xmlXPathFreeObject ()

>xmlXPathFreeObject ()


xmlXPathNewContext ()

>xmlXPathNewContext ()


xmlXPathFreeContext ()

>xmlXPathFreeContext ()


xmlXPathEqualValues ()

>xmlXPathEqualValues ()


xmlXPathCompareValues ()

>xmlXPathCompareValues ()

Implement the compare operation on XPath objects: -arg1arg2 (1, 1, ... -arg1arg2 (1, 0, ... -arg1arg2 (0, 1, ... -arg1


xmlXPathValueFlipSign ()

>xmlXPathValueFlipSign ()


xmlXPathAddValues ()

>xmlXPathAddValues ()


xmlXPathSubValues ()

>xmlXPathSubValues ()


xmlXPathMultValues ()

>xmlXPathMultValues ()


xmlXPathDivValues ()

>xmlXPathDivValues ()


xmlXPathModValues ()

>xmlXPathModValues ()


xmlXPathIsNodeType ()

>xmlXPathIsNodeType ()

Is the name given a NodeType one.

[38] NodeType ::= 'comment' -| 'text' -| 'processing-instruction' -| 'node'

[38] NodeType ::= 'comment' + | 'text' + | 'processing-instruction' + | 'node'


xmlXPathNextSelf ()

>xmlXPathNextSelf ()


xmlXPathNextChild ()

>xmlXPathNextChild ()


xmlXPathNextDescendant ()

>xmlXPathNextDescendant ()


xmlXPathNextDescendantOrSelf ()

>xmlXPathNextDescendantOrSelf ()


xmlXPathNextParent ()

>xmlXPathNextParent ()


xmlXPathNextAncestorOrSelf ()

>xmlXPathNextAncestorOrSelf ()


xmlXPathNextFollowingSibling ()

>xmlXPathNextFollowingSibling ()


xmlXPathNextFollowing ()

>xmlXPathNextFollowing ()


xmlXPathNextNamespace ()

>xmlXPathNextNamespace ()


xmlXPathNextAttribute ()

>xmlXPathNextAttribute ()


xmlXPathNextPreceding ()

>xmlXPathNextPreceding ()


xmlXPathNextAncestor ()

>xmlXPathNextAncestor ()


xmlXPathNextPrecedingSibling ()

>xmlXPathNextPrecedingSibling ()


xmlXPathLastFunction ()

>xmlXPathLastFunction ()
last() XPath function -number last() @@ -13362,7 +13425,7 @@ The last function returns the number of nodes in the context node list.


xmlXPathPositionFunction ()

>xmlXPathPositionFunction ()
position() XPath function -number position() @@ -13461,7 +13524,7 @@ HREF="LAST" >


xmlXPathCountFunction ()

>xmlXPathCountFunction ()
count() XPath function -number count(node-set)


xmlXPathLocalNameFunction ()

>xmlXPathLocalNameFunction ()
name() XPath function -string local-name(node-set?) + string local-name(node-set?) The local-name function returns a string containing the local part of the name of the node in the argument node-set that is first in document order. If the node-set is empty or the first node has no @@ -13646,7 +13709,7 @@ defaults to the context node.


xmlXPathNamespaceURIFunction ()

>xmlXPathNamespaceURIFunction ()
uri() XPath function -string namespace-uri(node-set?) + string namespace-uri(node-set?) The namespace-uri function returns a string containing the namespace URI of the expanded name of the node in the argument node-set that is first in document order. If the node-set is empty, @@ -13742,7 +13805,7 @@ defaults to the context node.


xmlXPathStringLengthFunction ()

>xmlXPathStringLengthFunction ()
length() XPath function -number string-length(string?) + number string-length(string?) The string-length returns the number of characters in the string (see [3.6 Strings]). If the argument is omitted, it defaults to the context node converted to a string, in other words the value @@ -13836,7 +13899,7 @@ of the context node.


xmlXPathConcatFunction ()

>xmlXPathConcatFunction ()
concat() XPath function -string concat(string, string, string*) + string concat(string, string, string*) The concat function returns the concatenation of its arguments.


xmlXPathContainsFunction ()

>xmlXPathContainsFunction ()
contains() XPath function -boolean contains(string, string) + boolean contains(string, string) The contains function returns true if the first argument string contains the second argument string, and otherwise returns false.


xmlXPathStartsWithFunction ()

>xmlXPathStartsWithFunction ()
with() XPath function -boolean starts-with(string, string) + 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.


xmlXPathSubstringFunction ()

>xmlXPathSubstringFunction ()
substring() XPath function -string substring(string, number, number?) + 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, @@ -14210,18 +14273,18 @@ 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 ""


xmlXPathSubstringBeforeFunction ()

>xmlXPathSubstringBeforeFunction ()
before() XPath function -string substring-before(string, string) + 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 @@ -14316,7 +14379,7 @@ string. For example, substring-before("1999/04/01","/") returns 1999.


xmlXPathSubstringAfterFunction ()

>xmlXPathSubstringAfterFunction ()
after() XPath function -string substring-after(string, string) + 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 @@ -14412,7 +14475,7 @@ and substring-after("1999/04/01","19") returns 99/04/01.


xmlXPathNormalizeFunction ()

>xmlXPathNormalizeFunction ()
space() XPath function -string normalize-space(string?) + string normalize-space(string?) The normalize-space function returns the argument string with white space normalized by stripping leading and trailing whitespace and replacing sequences of whitespace characters by a single @@ -14508,7 +14571,7 @@ node converted to a string, in other words the value of the context node.


xmlXPathTranslateFunction ()

>xmlXPathTranslateFunction ()
translate() XPath function -string translate(string, string, string) + 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 @@ -14607,7 +14670,7 @@ string are removed. For example, translate("--aaa--","abc-","ABC")


xmlXPathNotFunction ()

>xmlXPathNotFunction ()
not() XPath function -boolean not(boolean) + boolean not(boolean) The not function returns true if its argument is false, and false otherwise.


xmlXPathTrueFunction ()

>xmlXPathTrueFunction ()
true() XPath function -boolean true()


xmlXPathFalseFunction ()

>xmlXPathFalseFunction ()
false() XPath function -boolean false()


xmlXPathLangFunction ()

>xmlXPathLangFunction ()
lang() XPath function -boolean lang(string) + 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 @@ -14983,7 +15046,7 @@ has an xml:lang attribute. If there is no such attribute, then lang


xmlXPathNumberFunction ()

>xmlXPathNumberFunction ()
number() XPath function -number number(object?)


xmlXPathSumFunction ()

>xmlXPathSumFunction ()
sum() XPath function -number sum(node-set) + number sum(node-set) The sum function returns the sum of the values of the nodes in the argument node-set.


xmlXPathFloorFunction ()

>xmlXPathFloorFunction ()
floor() XPath function -number floor(number) + number floor(number) The floor function returns the largest (closest to positive infinity) number that is not greater than the argument and that is an integer.


xmlXPathCeilingFunction ()

>xmlXPathCeilingFunction ()
ceiling() XPath function -number ceiling(number) + number ceiling(number) The ceiling function returns the smallest (closest to negative infinity) number that is not less than the argument and that is an integer.


xmlXPathRoundFunction ()

>xmlXPathRoundFunction ()
round() XPath function -number round(number) + 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.


xmlXPathBooleanFunction ()

>xmlXPathBooleanFunction ()
boolean() XPath function -boolean boolean(object) + boolean boolean(object) he boolean function converts its argument to a boolean as follows: -- a number is true if and only if it is neither positive or -negative zero nor NaN -- a node-set is true if and only if it is non-empty -- a string is true if and only if its length is non-zero

Name

Synopsis

Description

Details

struct xmlLocationSet

>struct xmlLocationSet

xmlLocationSetPtr

>xmlLocationSetPtr

xmlXPtrLocationSetCreate ()

>xmlXPtrLocationSetCreate ()


xmlXPtrFreeLocationSet ()

>xmlXPtrFreeLocationSet ()


xmlXPtrLocationSetMerge ()

>xmlXPtrLocationSetMerge ()


xmlXPtrNewRange ()

>xmlXPtrNewRange ()


xmlXPtrNewRangePoints ()

>xmlXPtrNewRangePoints ()


xmlXPtrNewRangeNodePoint ()

>xmlXPtrNewRangeNodePoint ()


xmlXPtrNewRangePointNode ()

>xmlXPtrNewRangePointNode ()


xmlXPtrNewRangeNodes ()

>xmlXPtrNewRangeNodes ()


xmlXPtrNewLocationSetNodes ()

>xmlXPtrNewLocationSetNodes ()


xmlXPtrNewLocationSetNodeSet ()

>xmlXPtrNewLocationSetNodeSet ()


xmlXPtrNewRangeNodeObject ()

>xmlXPtrNewRangeNodeObject ()


xmlXPtrNewCollapsedRange ()

>xmlXPtrNewCollapsedRange ()


xmlXPtrLocationSetAdd ()

>xmlXPtrLocationSetAdd ()


xmlXPtrWrapLocationSet ()

>xmlXPtrWrapLocationSet ()


xmlXPtrLocationSetDel ()

>xmlXPtrLocationSetDel ()


xmlXPtrLocationSetRemove ()

>xmlXPtrLocationSetRemove ()


xmlXPtrNewContext ()

>xmlXPtrNewContext ()

the element from which a user or program initiated traversal of -the link, or NULL.

xmlXPtrEval ()

>xmlXPtrEval ()

the xmlXPathObjectPtr resulting from the evaluation or NULL. -the caller has to free the object.

xmlXPtrRangeToFunction ()

>xmlXPtrRangeToFunction ()


xmlXPtrBuildNodeList ()

>xmlXPtrBuildNodeList ()

an xmlNodePtr list or NULL. -the caller has to free the node tree.

xmlXPtrEvalRangePredicate ()

>xmlXPtrEvalRangePredicate ()

[8] Predicate ::= '[' PredicateExpr ']' -[9] PredicateExpr ::= Expr

Evaluate a predicate as in