diff --git a/ChangeLog b/ChangeLog
index 69b574a6..d21f85b6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Wed Oct 11 18:40:00 CEST 2006 Daniel Veillard
xmlParseAttValue
xmlTextWriterEndDocument
-
+
+xmlNanoFTPNewCtxt
xmlNewDocElementContent
xmlNewElementContent
xmlNewParserCtxt
diff --git a/doc/APIchunk1.html b/doc/APIchunk1.html
index 5b1ea9a3..a222fe0c 100644
--- a/doc/APIchunk1.html
+++ b/doc/APIchunk1.html
@@ -267,6 +267,7 @@ A:link, A:visited, A:active { text-decoration: underline }
+xmlPathToURI
xmlParseElementContentDecl
diff --git a/doc/APIchunk10.html b/doc/APIchunk10.html
index b6a2186e..32185325 100644
--- a/doc/APIchunk10.html
+++ b/doc/APIchunk10.html
@@ -282,7 +282,8 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlNewRMutex
xmlReallocLoc
xmlXPathObjectCopy
-
+
+xmlBufferSetAllocationScheme
xmlGetBufferAllocationScheme
xmlMallocAtomicLoc
xmlMallocLoc
@@ -478,6 +479,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlParseAttValue
xmlSAX2ResolveEntity
xmlSetExternalEntityLoader
+xmlXIncludeProcessFlagsData
xmlSetStructuredErrorFunc
diff --git a/doc/APIchunk12.html b/doc/APIchunk12.html
index 2b4a64e0..b036fc8f 100644
--- a/doc/APIchunk12.html
+++ b/doc/APIchunk12.html
@@ -193,6 +193,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlParserInputBufferCreateMem
xmlParserInputBufferCreateStatic
+_xmlEntity
xmlNodeGetBase
xmlNodeGetLang
xmlNodeGetSpacePreserve
@@ -578,6 +579,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlValidGetValidElements
+xmlPathToURI
xmlParseNamespace
diff --git a/doc/APIchunk13.html b/doc/APIchunk13.html
index af82134f..1c9e8655 100644
--- a/doc/APIchunk13.html
+++ b/doc/APIchunk13.html
@@ -589,6 +589,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlShellCat
xmlShellDir
+xmlPathToURI
xmlXPathNodeSetFreeNs
diff --git a/doc/APIchunk14.html b/doc/APIchunk14.html
index 5484f6f0..dfe748d3 100644
--- a/doc/APIchunk14.html
+++ b/doc/APIchunk14.html
@@ -386,6 +386,7 @@ A:link, A:visited, A:active { text-decoration: underline }
+
LIBXML_REGEXP_ENABLED
xmlExpExpDerive
diff --git a/doc/APIchunk15.html b/doc/APIchunk15.html
index 09bad2da..5bd7b26d 100644
--- a/doc/APIchunk15.html
+++ b/doc/APIchunk15.html
@@ -74,6 +74,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlShellLoad
xmlXIncludeProcess
xmlXIncludeProcessFlags
+xmlXIncludeProcessFlagsData
xmlXIncludeProcessNode
xmlXIncludeProcessTree
xmlXIncludeProcessTreeFlags
@@ -89,6 +90,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlCharEncOutFunc
xmlCheckFilename
xmlFileOpen
+xmlPathToURI
docbSAXParseDoc
docbSAXParseFile
@@ -134,6 +136,7 @@ A:link, A:visited, A:active { text-decoration: underline }
XML_SKIP_IDS
_xmlError
xmlParseMisc
+xmlXIncludeProcessFlagsData
xmlXPathOrderDocElems
_htmlElemDesc
@@ -145,6 +148,7 @@ A:link, A:visited, A:active { text-decoration: underline }
htmlReadFile
xmlCanonicPath
xmlCtxtReadFile
+xmlPathToURI
xmlReadFile
xmlReaderForFile
xmlReaderNewFile
@@ -320,6 +324,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlParserInputDeallocate
+xmlPathToURI
xmlXPathContextSetCache
diff --git a/doc/APIchunk16.html b/doc/APIchunk16.html
index 5585cd58..0f91dc87 100644
--- a/doc/APIchunk16.html
+++ b/doc/APIchunk16.html
@@ -287,6 +287,7 @@ A:link, A:visited, A:active { text-decoration: underline }
htmlEntityValueLookup
htmlParseEntityRef
+
htmlCtxtReadFd
htmlCtxtReadFile
diff --git a/doc/APIchunk17.html b/doc/APIchunk17.html
index 9aa76a79..e54d9d83 100644
--- a/doc/APIchunk17.html
+++ b/doc/APIchunk17.html
@@ -153,6 +153,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlCleanupOutputCallbacks
xmlPopInputCallbacks
xmlXIncludeProcessFlags
+xmlXIncludeProcessFlagsData
xmlXIncludeProcessTreeFlags
xmlXIncludeSetFlags
@@ -357,6 +358,7 @@ A:link, A:visited, A:active { text-decoration: underline }
XML_DETECT_IDS
XML_SKIP_IDS
htmlNewDocNoDtD
+htmlNewParserCtxt
xmlCharEncodingOutputFunc
xmlCreateEntitiesTable
xmlCreateEnumeration
@@ -425,6 +427,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlNewPI
xmlSAX2ProcessingInstruction
+xmlPathToURI
xmlStrcmp
@@ -484,7 +487,6 @@ A:link, A:visited, A:active { text-decoration: underline }
-xmlXPathCastToString
diff --git a/doc/APIchunk18.html b/doc/APIchunk18.html
index c2eb2af0..f965440c 100644
--- a/doc/APIchunk18.html
+++ b/doc/APIchunk18.html
@@ -346,6 +346,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xlinkExtendedLinkFunk
xlinkExtendedLinkSetFunk
xmlCanonicPath
+xmlPathToURI
xmlSAX2SetDocumentLocator
xmlTextReaderLocatorBaseURI
xmlTextReaderLocatorLineNumber
diff --git a/doc/APIchunk20.html b/doc/APIchunk20.html
index d654a0e9..2a9174df 100644
--- a/doc/APIchunk20.html
+++ b/doc/APIchunk20.html
@@ -128,7 +128,6 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlTextReaderCurrentDoc
xmlValidCtxtNormalizeAttributeValue
xmlValidNormalizeAttributeValue
-xmlXPathCastToString
xmlXPathPopBoolean
xmlXPathPopExternal
xmlXPathPopNodeSet
diff --git a/doc/APIchunk21.html b/doc/APIchunk21.html
index 7b77dd64..f7cf4103 100644
--- a/doc/APIchunk21.html
+++ b/doc/APIchunk21.html
@@ -55,6 +55,7 @@ A:link, A:visited, A:active { text-decoration: underline }
+xmlPathToURI
xmlParseComment
xmlParseMarkupDecl
diff --git a/doc/APIchunk22.html b/doc/APIchunk22.html
index f4c83216..bd256cbf 100644
--- a/doc/APIchunk22.html
+++ b/doc/APIchunk22.html
@@ -101,6 +101,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlParseAttValue
xmlSetGenericErrorFunc
xmlSetStructuredErrorFunc
+xmlXIncludeProcessFlagsData
xmlXPathEvalFunc
xmlXPathIntersection
@@ -122,6 +123,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlNormalizeURIPath
xmlNormalizeWindowsPath
xmlParserGetDirectory
+xmlPathToURI
xmlShellPwd
xmlShellValidate
xmlTextReaderRelaxNGValidate
diff --git a/doc/APIchunk23.html b/doc/APIchunk23.html
index 4bfe14f8..c6359686 100644
--- a/doc/APIchunk23.html
+++ b/doc/APIchunk23.html
@@ -518,6 +518,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlNanoHTTPContentLength
xmlCanonicPath
+xmlPathToURI
xmlTextReaderSetStructuredErrorHandler
diff --git a/doc/APIchunk24.html b/doc/APIchunk24.html
index 778f69a5..b737b67b 100644
--- a/doc/APIchunk24.html
+++ b/doc/APIchunk24.html
@@ -67,6 +67,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlGcMemGet
xmlMemGet
xmlNanoHTTPFetch
+xmlSaveTree
xmlShell
xmlShellSave
@@ -415,6 +416,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlValidatePushCData
xmlXIncludeProcess
xmlXIncludeProcessFlags
+xmlXIncludeProcessFlagsData
xmlXIncludeProcessNode
xmlXIncludeProcessTree
xmlXIncludeProcessTreeFlags
@@ -756,6 +758,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlStringLenDecodeEntities
xmlXIncludeProcess
xmlXIncludeProcessFlags
+xmlXIncludeProcessFlagsData
xmlXIncludeProcessNode
xmlXIncludeProcessTree
xmlXIncludeProcessTreeFlags
diff --git a/doc/APIchunk25.html b/doc/APIchunk25.html
index 59ed59ab..39aeb8fb 100644
--- a/doc/APIchunk25.html
+++ b/doc/APIchunk25.html
@@ -261,6 +261,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlPopInputCallbacks
xmlPushInput
xmlReconciliateNs
+xmlSaveTree
xmlSetTreeDoc
xmlGetFeaturesList
diff --git a/doc/APIchunk9.html b/doc/APIchunk9.html
index 4d2a6071..882ab748 100644
--- a/doc/APIchunk9.html
+++ b/doc/APIchunk9.html
@@ -139,6 +139,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlXIncludeNewContext
xmlXIncludeProcess
xmlXIncludeProcessFlags
+xmlXIncludeProcessFlagsData
xmlXIncludeProcessNode
xmlXIncludeProcessTree
xmlXIncludeProcessTreeFlags
diff --git a/doc/APIconstructors.html b/doc/APIconstructors.html
index 2def8ded..c4d348cd 100644
--- a/doc/APIconstructors.html
+++ b/doc/APIconstructors.html
@@ -79,6 +79,7 @@ A:link, A:visited, A:active { text-decoration: underline }
htmlCreateFileParserCtxt
htmlCreateMemoryParserCtxt
htmlCreatePushParserCtxt
+htmlNewParserCtxt
htmlAttrAllowed Check if an attribute is of content type Script Allocate and initialize a new parser context. Checks whether the tree node is valid. Experimental (the author only uses the HTML enhancements in a SAX parser) Parse an URI reference string and fills in the appropriate fields of the @uri structure URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ] Constructs an URI expressing the existing path Prints the URI in the stream @stream. Implement the XInclude substitution on the XML document @doc Implement the XInclude substitution on the XML document @doc Implement the XInclude substitution for the given subtree reusing the informations and data coming from the given context. Save a subtree starting at the node parameter to a saving context TODO: The function is not fully implemented yet as it does not return the byte count but 0 instead Converts an existing object to its string() equivalent Compare two nodes w.r.t document order The HTML DTD allows a tag to implicitly close other tags. The list is kept in htmlStartClose array. This function checks if a tag is autoclosed by one of it's child Check if an attribute is of content type Script Allocate and initialize a new parser context. Checks whether the tree node is valid. Experimental (the author only uses the HTML enhancements in a SAX parser) parse Reference declarations [66] CharRef ::= '&#' [0-9]+ ';' | '&#x' [0-9a-fA-F]+ ';' Parse an URI but allows to keep intact the original fragments. URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ] Parse an URI reference string and fills in the appropriate fields of the @uri structure URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ] Constructs an URI expressing the existing path Prints the URI in the stream @stream. Save the URI as an escaped string Implement the XInclude substitution on the XML document @doc Implement the XInclude substitution on the XML document @doc Implement the XInclude substitution on the XML document @doc Implement the XInclude substitution for the given subtree reusing the informations and data coming from the given context. Implement the XInclude substitution for the given subtree Create a document saving context serializing to a file descriptor with the encoding and the options given Save a subtree starting at the node parameter to a saving context TODO: The function is not fully implemented yet as it does not return the byte count but 0 instead
htmlElementStatusHere
htmlNodeStatus
@@ -207,6 +208,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlParseSystemLiteral
xmlParseVersionInfo
xmlParseVersionNum
+xmlPathToURI
xmlSaveUri
xmlScanName
xmlSchemaCollapseString
diff --git a/doc/APIfiles.html b/doc/APIfiles.html
index 79f127cd..e10fe007 100644
--- a/doc/APIfiles.html
+++ b/doc/APIfiles.html
@@ -66,6 +66,7 @@ A:link, A:visited, A:active { text-decoration: underline }
htmlHandleOmittedElem
htmlIsAutoClosed
htmlIsScriptAttribute
+htmlNewParserCtxt
htmlNodePtr
htmlNodeStatus
htmlParseCharRef
@@ -1545,6 +1546,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlParseURI
xmlParseURIRaw
xmlParseURIReference
+xmlPathToURI
xmlPrintURI
xmlSaveUri
xmlURI
@@ -1657,6 +1659,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlXIncludeNewContext
xmlXIncludeProcess
xmlXIncludeProcessFlags
+xmlXIncludeProcessFlagsData
xmlXIncludeProcessNode
xmlXIncludeProcessTree
xmlXIncludeProcessTreeFlags
diff --git a/doc/APIfunctions.html b/doc/APIfunctions.html
index 46642d1e..fea4fd37 100644
--- a/doc/APIfunctions.html
+++ b/doc/APIfunctions.html
@@ -305,6 +305,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlParseElementContentDecl
xmlParseExternalEntity
xmlParseExternalSubset
+xmlPathToURI
xmlPatterncompile
xmlReadDoc
xmlReaderForDoc
@@ -862,6 +863,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlThrDefSetStructuredErrorFunc
xmlValidityErrorFunc
xmlValidityWarningFunc
+xmlXIncludeProcessFlagsData
xmlXPathFuncLookupFunc
xmlXPathRegisterFuncLookup
xmlXPathRegisterVariableLookup
@@ -1216,6 +1218,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlXIncludeNewContext
xmlXIncludeProcess
xmlXIncludeProcessFlags
+xmlXIncludeProcessFlagsData
xmlXPathNewContext
xmlXPathOrderDocElems
xmlXPtrNewContext
diff --git a/doc/APIsymbols.html b/doc/APIsymbols.html
index 25e61140..c6c52656 100644
--- a/doc/APIsymbols.html
+++ b/doc/APIsymbols.html
@@ -1568,6 +1568,7 @@ A:link, A:visited, A:active { text-decoration: underline }
htmlIsScriptAttribute
htmlNewDoc
htmlNewDocNoDtD
+htmlNewParserCtxt
htmlNodeDump
htmlNodeDumpFile
htmlNodeDumpFileFormat
@@ -2475,6 +2476,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlParserValidityWarning
xmlParserVersion
xmlParserWarning
+xmlPathToURI
xmlPattern
xmlPatternFlags
xmlPatternFromRoot
@@ -3261,6 +3263,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlXIncludeNewContext
xmlXIncludeProcess
xmlXIncludeProcessFlags
+xmlXIncludeProcessFlagsData
xmlXIncludeProcessNode
xmlXIncludeProcessTree
xmlXIncludeProcessTreeFlags
diff --git a/doc/apibuild.py b/doc/apibuild.py
index f1a795fd..1e737250 100755
--- a/doc/apibuild.py
+++ b/doc/apibuild.py
@@ -49,6 +49,7 @@ ignored_files = {
"runtest.c": "regression tests program",
"runsuite.c": "regression tests program",
"tst.c": "not part of the library",
+ "test.c": "not part of the library",
"testdso.c": "test for dynamid shared libraries",
}
diff --git a/doc/devhelp/libxml2-HTMLparser.html b/doc/devhelp/libxml2-HTMLparser.html
index 3a4a67d9..827da396 100644
--- a/doc/devhelp/libxml2-HTMLparser.html
+++ b/doc/devhelp/libxml2-HTMLparser.html
@@ -95,6 +95,7 @@ void htmlFreeParserCtxt (htmlDocPtr htmlReadFile (const char * filename,
const char * encoding,
int options);
htmlDocPtr htmlCtxtReadFile (htmlParserCtxtPtr ctxt,
const char * filename,
const char * encoding,
int options);
int htmlParseDocument (htmlParserCtxtPtr ctxt);
+htmlParserCtxtPtr htmlNewParserCtxt (void);
htmlDocPtr htmlSAXParseDoc (xmlChar * cur,
const char * encoding,
htmlSAXHandlerPtr sax,
void * userData);
int htmlCtxtUseOptions (htmlParserCtxtPtr ctxt,
int options);
htmlDocPtr htmlParseDoc (xmlChar * cur,
const char * encoding);
@@ -294,6 +295,10 @@ int htmlCtxtUseOptions (htmlIsScriptAttribute ()
int htmlIsScriptAttribute (const xmlChar * name)
+ htmlNewParserCtxt ()
htmlParserCtxtPtr htmlNewParserCtxt (void)
+Returns: the htmlParserCtxtPtr or NULL in case of allocation error
htmlNodeStatus ()
htmlStatus htmlNodeStatus (const htmlNodePtr node,
int legacy)
const xmlChar * list);
+xmlChar * xmlPathToURI (const xmlChar * path);
xmlChar * xmlCanonicPath (const xmlChar * path);
void xmlFreeURI (xmlURIPtr uri);
int xmlParseURIReference (xmlURIPtr uri,
const char * str);
@@ -121,6 +122,10 @@ int xmlParseURIReference (xmlParseURIReference ()
int xmlParseURIReference (xmlURIPtr uri,
const char * str)
uri: pointer to an URI structure str: the string to analyze Returns: 0 or the error code
+ xmlPathToURI ()
xmlChar * xmlPathToURI (const xmlChar * path)
+path: the resource locator in a filesystem notation Returns: a new URI, or a duplicate of the path parameter if the construction fails. The caller is responsible for freeing the memory occupied by the returned string. If there is insufficient memory available, or the argument is NULL, the function returns NULL.
xmlPrintURI ()
void xmlPrintURI (FILE * stream,
xmlURIPtr uri)
int flags,
void * data);
int xmlXIncludeProcessFlags (xmlDocPtr doc,
int flags);
int xmlXIncludeProcessTree (xmlNodePtr tree);
int xmlXIncludeProcessNode (xmlXIncludeCtxtPtr ctxt,
xmlNodePtr node);
@@ -136,6 +137,10 @@ The content of this structure is not made public by the API.
xmlXIncludeProcessFlags ()
int xmlXIncludeProcessFlags (xmlDocPtr doc,
int flags)
doc: an XML document flags: a set of xmlParserOption used for parsing XML includes Returns: 0 if no substitution were done, -1 if some processing failed or the number of substitutions done.
+ xmlXIncludeProcessFlagsData ()
int xmlXIncludeProcessFlagsData (xmlDocPtr doc,
int flags,
void * data)
+doc: an XML document flags: a set of xmlParserOption used for parsing XML includes data: application data that will be passed to the parser context in the _private field of the parser context(s) Returns: 0 if no substitution were done, -1 if some processing failed or the number of substitutions done.
xmlXIncludeProcessNode ()
int xmlXIncludeProcessNode (xmlXIncludeCtxtPtr ctxt,
xmlNodePtr node)
xmlSaveTree ()
long xmlSaveTree (xmlSaveCtxtPtr ctxt,
xmlNodePtr node)
ctxt: a document saving context node: a document Returns: the number of byte written or -1 in case of error ctxt: a document saving context node: the top node of the subtree to save Returns: the number of byte written or -1 in case of error
xmlXPathCastToString ()
xmlChar * xmlXPathCastToString (xmlXPathObjectPtr val)
val: an XPath object Returns: the string value of the object, NULL in case of error. A new string is allocated only if needed (@val isn't a string object). val: an XPath object Returns: the allocated string value of the object, NULL in case of error. It's up to the caller to free the string memory with xmlFree().
xmlXPathCmpNodes ()
int xmlXPathCmpNodes (xmlNodePtr node1,
xmlNodePtr node2)
int htmlHandleOmittedElem (int val)
int htmlIsAutoClosed (htmlDocPtr doc,
htmlNodePtr elem)int htmlIsScriptAttribute (const xmlChar * name)
+htmlParserCtxtPtr htmlNewParserCtxt (void)
htmlStatus htmlNodeStatus (const htmlNodePtr node,
int legacy)int htmlParseCharRef (htmlParserCtxtPtr ctxt)
int htmlParseChunk (htmlParserCtxtPtr ctxt,
@@ -143,7 +144,9 @@ A:link, A:visited, A:active { text-decoration: underline }
const char * chunk,
int size,
int terminate)doc: the HTML document elem: the HTML element Returns: 1 if autoclosed, 0 otherwise Function: htmlIsScriptAttribute
int htmlIsScriptAttribute (const xmlChar * name)
Function: htmlNodeStatus
htmlStatus htmlNodeStatus (const htmlNodePtr node,
int legacy)
+Function: htmlNewParserCtxt
htmlParserCtxtPtr htmlNewParserCtxt (void)
+Returns: the htmlParserCtxtPtr or NULL in case of allocation error Function: htmlNodeStatus
htmlStatus htmlNodeStatus (const htmlNodePtr node,
int legacy)
node: an htmlNodePtr in a tree legacy: whether to allow deprecated elements (YES is faster here for Element nodes) Returns: for Element nodes, a return from htmlElementAllowedHere (if legacy allowed) or htmlElementStatusHere (otherwise). for Attribute nodes, a return from htmlAttrAllowed for other nodes, HTML_NA (no checks performed) Function: htmlParseCharRef
int htmlParseCharRef (htmlParserCtxtPtr ctxt)
Structure xmlEnumeration
Structure xmlEnumeration
struct _xmlEnumeration {
struct _xmlEnumeration * next : next one
const xmlChar * name : Enumeration name
diff --git a/doc/html/libxml-uri.html b/doc/html/libxml-uri.html
index cb2a4196..fa7ee19d 100644
--- a/doc/html/libxml-uri.html
+++ b/doc/html/libxml-uri.html
@@ -21,6 +21,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlURIPtr xmlParseURI (const char * str)
xmlURIPtr xmlParseURIRaw (const char * str,
int raw)int xmlParseURIReference (xmlURIPtr uri,
+
const char * str)xmlChar * xmlPathToURI (const xmlChar * path)
void xmlPrintURI (FILE * stream,
xmlURIPtr uri)xmlChar * xmlSaveUri (xmlURIPtr uri)
xmlChar * xmlURIEscape (const xmlChar * str)
@@ -56,7 +57,9 @@ A:link, A:visited, A:active { text-decoration: underline }
str: the URI string to analyze raw: if 1 unescaping of URI pieces are disabled Returns: a newly built xmlURIPtr or NULL in case of error Function: xmlParseURIReference
int xmlParseURIReference (xmlURIPtr uri,
const char * str)
uri: pointer to an URI structure str: the string to analyze Returns: 0 or the error code Function: xmlPrintURI
void xmlPrintURI (FILE * stream,
xmlURIPtr uri)
+uri: pointer to an URI structure str: the string to analyze Returns: 0 or the error code Function: xmlPathToURI
xmlChar * xmlPathToURI (const xmlChar * path)
+path: the resource locator in a filesystem notation Returns: a new URI, or a duplicate of the path parameter if the construction fails. The caller is responsible for freeing the memory occupied by the returned string. If there is insufficient memory available, or the argument is NULL, the function returns NULL. Function: xmlPrintURI
void xmlPrintURI (FILE * stream,
xmlURIPtr uri)
stream: a FILE* for the output uri: pointer to an xmlURI Function: xmlSaveUri
xmlChar * xmlSaveUri (xmlURIPtr uri)
xmlXIncludeCtxtPtr xmlXIncludeNewContext (xmlDocPtr doc)
int xmlXIncludeProcess (xmlDocPtr doc)
int xmlXIncludeProcessFlags (xmlDocPtr doc,
+
int flags)int xmlXIncludeProcessFlagsData (xmlDocPtr doc,
int flags,
void * data)int xmlXIncludeProcessNode (xmlXIncludeCtxtPtr ctxt,
xmlNodePtr node)int xmlXIncludeProcessTree (xmlNodePtr tree)
int xmlXIncludeProcessTreeFlags (xmlNodePtr tree,
@@ -42,7 +43,9 @@ The content of this structure is not made public by the API.
int flags)doc: an XML document Returns: 0 if no substitution were done, -1 if some processing failed or the number of substitutions done. Function: xmlXIncludeProcessFlags
int xmlXIncludeProcessFlags (xmlDocPtr doc,
int flags)
doc: an XML document flags: a set of xmlParserOption used for parsing XML includes Returns: 0 if no substitution were done, -1 if some processing failed or the number of substitutions done. Function: xmlXIncludeProcessNode
int xmlXIncludeProcessNode (xmlXIncludeCtxtPtr ctxt,
xmlNodePtr node)
+doc: an XML document flags: a set of xmlParserOption used for parsing XML includes Returns: 0 if no substitution were done, -1 if some processing failed or the number of substitutions done. Function: xmlXIncludeProcessFlagsData
int xmlXIncludeProcessFlagsData (xmlDocPtr doc,
int flags,
void * data)
+doc: an XML document flags: a set of xmlParserOption used for parsing XML includes data: application data that will be passed to the parser context in the _private field of the parser context(s) Returns: 0 if no substitution were done, -1 if some processing failed or the number of substitutions done. Function: xmlXIncludeProcessNode
int xmlXIncludeProcessNode (xmlXIncludeCtxtPtr ctxt,
xmlNodePtr node)
ctxt: an existing XInclude context node: a node in an XML document Returns: 0 if no substitution were done, -1 if some processing failed or the number of substitutions done. Function: xmlXIncludeProcessTree
int xmlXIncludeProcessTree (xmlNodePtr tree)
iowrite: an I/O write function ioclose: an I/O close function ioctx: an I/O handler encoding: the encoding name to use or NULL options: a set of xmlSaveOptions Returns: a new serialization context or NULL in case of error. Function: xmlSaveTree
long xmlSaveTree (xmlSaveCtxtPtr ctxt,
xmlNodePtr node)
ctxt: a document saving context node: a document Returns: the number of byte written or -1 in case of error