WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIExtendedExpatSink

IID:0C2DC80F-7AA4-467A-9454-B89DBA0E0779
Inherits From:nsIExpatSink

This interface provides notification of syntax-level events.

This interface is implemented by the following components:


Methods

void handleEndNamespaceDecl ( PRUnichar* prefix ) void handleNotationDecl ( PRUnichar* notationName , PRUnichar* sysid , PRUnichar* pubid ) void handleStartDTD ( PRUnichar* doctypeName , PRUnichar* sysid , PRUnichar* pubid ) void handleStartNamespaceDecl ( PRUnichar* prefix , PRUnichar* uri ) void handleUnparsedEntityDecl ( PRUnichar* name , PRUnichar* sysid , PRUnichar* pubid , PRUnichar* notationName )

void handleEndNamespaceDecl ( PRUnichar* prefix )

Called when a prefix mapping is no longer in-scope, after any endElement events.

Arguments:
prefix: The prefix that was being mapped. This is the empty string when a default mapping scope ends.

void handleNotationDecl ( PRUnichar* notationName , PRUnichar* sysid , PRUnichar* pubid )

This is called for a declaration of notation. The base argument is whatever was set by XML_SetBase. notationName will never be null. The other arguments can be.

Arguments:
notationName: The notation name.
sysid
pubid

void handleStartDTD ( PRUnichar* doctypeName , PRUnichar* sysid , PRUnichar* pubid )

Called at the beginning of the DTD, before any entity or notation events.

Arguments:
doctypeName: The document type name.
sysid: The declared system identifier for the external DTD subset, or null if none was declared.
pubid: The declared public identifier for the external DTD subset, or null if none was declared.

void handleStartNamespaceDecl ( PRUnichar* prefix , PRUnichar* uri )

Called when a prefix mapping starts to be in-scope, before any startElement events.

Arguments:
prefix: The Namespace prefix being declared. An empty string is used for the default element namespace, which has no prefix.
uri: The Namespace URI the prefix is mapped to.

void handleUnparsedEntityDecl ( PRUnichar* name , PRUnichar* sysid , PRUnichar* pubid , PRUnichar* notationName )

This is called for a declaration of an unparsed (NDATA) entity. name, sysid and notationName arguments will never be null. The other arguments may be.

Arguments:
name: The unparsed entity's name.
sysid
pubid
notationName: The name of the associated notation.

Reference documentation is generated from Mozilla's source.