Name
NotStandalone -- handle non-standalone documents
Synopsis
ok = NotStandalone(p)
Function
This function is called when the parser detects that the document is not "stand-alone". This happens when there is an external subset or a reference to a parameter entity, but the document does not have standalone set to "yes" in an XML declaration. This callback expects a return value, if the callback returns False, parsing will be aborted.

Parameters
p
parser handle
Results
ok
return True to continue parsing, False to abort

Show TOC