Concept Framework 2.0 documentation Contents | Index

standard.lib.xml.xmlTextReaderPreservePattern

Name Version Deprecated
xmlTextReaderPreservePattern version 1.0 no

Prototype:
number xmlTextReaderPreservePattern(number reader, string pattern)

Parameters:
reader      the xmlTextReaderPtr used as returned by xmlReaderForMemory or xmlReaderForFile
pattern      an XPath subset pattern

Description:
This tells the XML Reader to preserve all nodes matched by the pattern. The caller must also use xmlTextReaderCurrentDoc to keep a handle on the resulting document once parsing has finished.

Returns:
Returns a positive number in case of success and -1 in case of error.

Documented by Eduard Suica by adapting from http://xmlsoft.org/, generation time: Fri Jan 21 18:06:23 2011 GMT(c)2011 RadGs Software