Compartir a través de


XML_NODEFACTORY_EVENT

4/8/2010

This enumeration is used with the IXMLNodeFactory::NotifyEvent method.

Syntax

typedef enum {
  XMLNF_STARTDOCUMENT = 0,
  XMLNF_STARTDTD,
  XMLNF_ENDDTD,
  XMLNF_STARTDTDSUBSET,
  XMLNF_ENDDTDSUBSET,
  XMLNF_ENDPROLOG,
  XMLNF_STARTENTITY,
  XMLNF_ENDENTITY,
  XMLNF_ENDDOCUMENT,
  XMLNF_DATAAVAILABLE,
  XMLNF_LASTEVENT
} XML_NODEFACTORY_EVENT;

Enumerators

  • XMLNF_STARTDOCUMENT
    This event is fired at the beginning of the document
  • XMLNF_STARTDTD
    The parser is about to start parsing a document type definition (DTD) file
  • XMLNF_ENDDTD
    The DTD is finished
  • XMLNF_STARTDTDSUBSET
    The parser is about to start the DTD internal subset
  • XMLNF_ENDDTDSUBSET
    The internal subset is finished
  • XMLNF_ENDPROLOG
    This event is fired exactly before the IXMLNodeFactory::CreateNode call for the root element for the document. In other words, all the initial XML declarations, processing instructions, and comments are completed
  • XMLNF_STARTENTITY
    This event is called before XMLNF_ENDENTITY. This happens when IXMLParser::ParseEntity is called
  • XMLNF_ENDENTITY
    This event is used together with IXMLParser::ParseEntity. This indicates the entity is finished.
  • XMLNF_ENDDOCUMENT
    This event is used at the end of the document
  • XMLNF_DATAAVAILABLE
    This is a regular event to tell the node factory more data has arrived
  • XMLNF_LASTEVENT
    This event signifies that it is the last event to be processed

Requirements

Header xmlparser.h
Library xmlparser.lib
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later

See Also

Reference

HTML Control API Enumerations
IXMLNodeFactory::CreateNode
IXMLParser::ParseEntity