//+------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1998 // // File: xmlparser.idl //7 //-------------------------------------------------------------------------- cpp_quote("//+-------------------------------------------------------------------------") cpp_quote("//") cpp_quote("// Microsoft Windows") cpp_quote("// Copyright (C) Microsoft Corporation, 1998.") cpp_quote("//") cpp_quote("//--------------------------------------------------------------------------") #ifndef DO_NO_IMPORTS import "unknwn.idl"; import "wtypes.idl"; import "objidl.idl"; import "oaidl.idl"; #endif interface IXMLNodeSource; interface IXMLParser; interface IXMLNodeFactory; interface IMoniker; // This is the full list of node types that can be used in CreateNode. typedef enum { // -------------- Container Nodes ----------------- XML_ELEMENT = 1, // XML_ATTRIBUTE, // XML_PI, // XML_XMLDECL, // // -------------- Terminal Nodes ------------------- XML_PCDATA, // text inside a node or an attribute. XML_CDATA, // XML_IGNORESECT, // XML_COMMENT, // XML_ENTITYREF, // &foo; XML_WHITESPACE, // white space between elements XML_NAME, // general NAME token for typed attribute values or DTD declarations XML_NMTOKEN, // general NMTOKEN for typed attribute values or DTD declarations XML_STRING, // general quoted string literal in DTD declarations. XML_PEREF, // %foo; XML_MODEL, // EMPTY, ANY of MIXED. XML_ATTDEF, // Name of attribute being defined. XML_ATTTYPE, XML_ATTPRESENCE, XML_DTDSUBSET, // entire DTD subset as a string. XML_LASTNODETYPE, // not used } XML_NODE_TYPE; // The subtypes typedef enum { // for XML_ATTRIBUTE XML_VERSION = XML_LASTNODETYPE, // for XML_ENCODING, XML_STANDALONE, XML_NS, // for namespace attributes. XML_XMLSPACE, // xml:space XML_XMLLANG, // xml:lang // for XML_DTDATTRIBUTE XML_SYSTEM, // SYSTEM literal XML_PUBLIC, // PUBLIC literal XML_NDATA, // NDATA name in ENTITY declarations // for XML_ATTTYPE XML_AT_CDATA, // ATTLIST attribute types. XML_AT_ID, XML_AT_IDREF, XML_AT_IDREFS, XML_AT_ENTITY, XML_AT_ENTITIES, XML_AT_NMTOKEN, XML_AT_NMTOKENS, XML_AT_NOTATION, // for XML_ATTPRESENCE XML_AT_REQUIRED, XML_AT_IMPLIED, XML_AT_FIXED, // XML_ENTITYDECL subtype XML_PENTITYDECL, //