Concept Framework 1.0 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: Thu Oct 15 20:02:08 2009 GMT(c)2009 RadGs Software