Share via


XML_NODEFACTORY_EVENT

Send Feedback

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 start 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 just prior to the IXMLNodeFactory::CreateNode call for the root element for the document. In other words, all the initial XML declarations, processing instructions, and comments are done.
  • XMLNF_STARTENTITY
    This event is called prior to XMLNF_ENDENTITY. This happens when IXMLParser::ParseEntity is called.
  • XMLNF_ENDENTITY
    This event is used in conjunction 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 just arrived.
  • XMLNF_LASTEVENT
    This event signifies that it is the last event to be processed.

Requirements

Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: xmlparser.h
Library: xmlparser.lib

See Also

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.