diff --git a/doc/devhelp/libxml2-tree.html b/doc/devhelp/libxml2-tree.html index 44e1e03a543b5f18cbd1e9f16538315fec09d26a..03e57f970aad7f390c63d648684b629e03e67c40 100644 --- a/doc/devhelp/libxml2-tree.html +++ b/doc/devhelp/libxml2-tree.html @@ -1401,7 +1401,7 @@ The content of this structure is not made public by the API.
buffer:a buffer
cur:the node being read
Returns:0 in case of success and -1 in case of error.

xmlNodeDump ()

int	xmlNodeDump			(xmlBufferPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur,
int level,
int format)
-

Dump an XML node, recursive behaviour,children are printed too. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called Since this is using xmlBuffer structures it is limited to 2GB and somehow deprecated, use xmlBufNodeDump() instead.

+

Dump an XML node, recursive behaviour,children are printed too. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called. Since this is using xmlBuffer structures it is limited to 2GB and somehow deprecated, use xmlNodeDumpOutput() instead.

buf:the XML buffer output
doc:the document
cur:the current node
level:the imbrication level for indenting
format:is formatting allowed
Returns:the number of bytes written to the buffer or -1 in case of error

xmlNodeDumpOutput ()

void	xmlNodeDumpOutput		(xmlOutputBufferPtr buf, 
xmlDocPtr doc,
xmlNodePtr cur,
int level,
int format,
const char * encoding)
diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml index 9cf6c72ec6c44fea9f71a6789818edfae95630cd..ccba52f2131796ba586da8aee0822c940d3e4ae0 100644 --- a/doc/libxml2-api.xml +++ b/doc/libxml2-api.xml @@ -11778,7 +11778,7 @@ Could we use @subtypes for this?'/> defined(LIBXML_OUTPUT_ENABLED) - Dump an XML node, recursive behaviour,children are printed too. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called Since this is using xmlBuffer structures it is limited to 2GB and somehow deprecated, use xmlBufNodeDump() instead. + Dump an XML node, recursive behaviour,children are printed too. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called. Since this is using xmlBuffer structures it is limited to 2GB and somehow deprecated, use xmlNodeDumpOutput() instead. diff --git a/doc/libxml2-refs.xml b/doc/libxml2-refs.xml index 3fe0876fd55ad1ac0e222dc8be8cbd0fd831288d..3109bac4eb6d91671daba6815cadccb8697e9587 100644 --- a/doc/libxml2-refs.xml +++ b/doc/libxml2-refs.xml @@ -31120,9 +31120,6 @@ - - - @@ -31493,6 +31490,9 @@ + + + diff --git a/xmlsave.c b/xmlsave.c index f7173ebbe25f4f5574c0d3a6359b54c488d32723..bf80533016717848577fe1e88e1a9fa6090b9f47 100644 --- a/xmlsave.c +++ b/xmlsave.c @@ -2186,9 +2186,9 @@ xmlAttrSerializeTxtContent(xmlBufferPtr buf, xmlDocPtr doc, * * Dump an XML node, recursive behaviour,children are printed too. * Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 - * or xmlKeepBlanksDefault(0) was called + * or xmlKeepBlanksDefault(0) was called. * Since this is using xmlBuffer structures it is limited to 2GB and somehow - * deprecated, use xmlBufNodeDump() instead. + * deprecated, use xmlNodeDumpOutput() instead. * * Returns the number of bytes written to the buffer or -1 in case of error */