Concept Framework 2.2 documentation Contents | Index

standard.lib.xml.xmlTextReaderCurrentDoc

Name Version Deprecated
xmlTextReaderCurrentDoc version 1.0 no

Prototype:
number xmlTextReaderCurrentDoc(number reader)

Parameters:
reader      the xmlTextReaderPtr used as returned by xmlReaderForMemory or xmlReaderForFile

Description:
Hacking interface allowing to get the xmlDocPtr correponding to the current document being accessed by the xmlTextReader. NOTE: as a result of this call, the reader will not destroy the associated XML document and calling xmlFreeDoc() on the result is needed once the reader parsing has finished.

Returns:
Returns the xmlDocPtr or null in case of error.

Documented by Eduard Suica by adapting from http://xmlsoft.org/, generation time: Sun Jan 27 18:15:20 2013 GMT(c)2013 Devronium Applications