2 * Copyright (C) 2005 Vijay Kiran Kamuju
3 * Copyright (C) 2008 Alistair Leslie-Hughes
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #include <msxml2did.h>
28 uuid(f5078f18-c551-11d3-89b9-0000f81fe221),
30 helpstring("Microsoft XML, v3.0")
35 importlib("stdole2.tlb");
37 interface IXMLDOMImplementation;
38 interface IXMLDOMNode;
39 interface IXMLDOMDocumentFragment;
40 interface IXMLDOMDocument;
41 interface IXMLDOMSchemaCollection;
42 interface IXMLDOMDocument2;
43 interface IXMLDOMNodeList;
44 interface IXMLDOMNamedNodeMap;
45 interface IXMLDOMCharacterData;
46 interface IXMLDOMAttribute;
47 interface IXMLDOMElement;
48 interface IXMLDOMText;
49 interface IXMLDOMComment;
50 interface IXMLDOMProcessingInstruction;
51 interface IXMLDOMCDATASection;
52 interface IXMLDOMDocumentType;
53 interface IXMLDOMNotation;
54 interface IXMLDOMEntity;
55 interface IXMLDOMEntityReference;
56 interface IXMLDOMParseError;
57 interface IXTLRuntime;
58 interface IXSLTemplate;
59 interface IXSLProcessor;
62 interface ISAXAttributes;
63 interface ISAXContentHandler;
64 interface ISAXDeclHandler;
65 interface ISAXDTDHandler;
66 interface ISAXEntityResolver;
67 interface ISAXErrorHandler;
68 interface ISAXLexicalHandler;
69 interface ISAXLocator;
70 interface ISAXXMLFilter;
71 interface ISAXXMLReader;
73 interface IVBSAXAttributes;
74 interface IVBSAXContentHandler;
75 interface IVBSAXDeclHandler;
76 interface IVBSAXDTDHandler;
77 interface IVBSAXEntityResolver;
78 interface IVBSAXErrorHandler;
79 interface IVBSAXLexicalHandler;
80 interface IVBSAXLocator;
81 interface IVBSAXXMLFilter;
82 interface IVBSAXXMLReader;
84 interface IMXAttributes;
85 interface IMXReaderControl;
89 cpp_quote("#define DOMDocument DOMDocument2")
90 cpp_quote("#define CLSID_DOMDocument CLSID_DOMDocument2")
92 cpp_quote("#ifndef __WIDL_XMLDOM_H")
93 typedef enum tagDOMNodeType
99 NODE_CDATA_SECTION = 4,
100 NODE_ENTITY_REFERENCE = 5,
102 NODE_PROCESSING_INSTRUCTION = 7,
105 NODE_DOCUMENT_TYPE = 10,
106 NODE_DOCUMENT_FRAGMENT = 11,
109 cpp_quote("#endif /* __WIDL_XMLDOM_H */")
114 uuid (2933BF80-7B36-11d2-B20E-00C04F983E60)
116 interface IXMLDOMNode : IDispatch
118 [propget, id(DISPID_DOM_NODE_NODENAME)]
119 HRESULT nodeName([retval, out] BSTR *p);
121 [propget, id(DISPID_DOM_NODE_NODEVALUE)]
122 HRESULT nodeValue([retval, out] VARIANT *var1);
124 [propput, id(DISPID_DOM_NODE_NODEVALUE)]
125 HRESULT nodeValue([in] VARIANT var1);
127 [propget, id(DISPID_DOM_NODE_NODETYPE)]
128 HRESULT nodeType([retval, out] DOMNodeType *domNodeType);
130 [propget, id(DISPID_DOM_NODE_PARENTNODE)]
131 HRESULT parentNode([retval, out] IXMLDOMNode **parent);
133 [propget, id(DISPID_DOM_NODE_CHILDNODES)]
134 HRESULT childNodes([retval, out] IXMLDOMNodeList **outList);
136 [propget, id(DISPID_DOM_NODE_FIRSTCHILD)]
137 HRESULT firstChild([retval, out] IXMLDOMNode **domNode);
139 [propget, id(DISPID_DOM_NODE_LASTCHILD)]
140 HRESULT lastChild([retval, out] IXMLDOMNode **domNode);
142 [propget, id(DISPID_DOM_NODE_PREVIOUSSIBLING)]
143 HRESULT previousSibling([retval, out] IXMLDOMNode **domNode);
145 [propget, id(DISPID_DOM_NODE_NEXTSIBLING)]
146 HRESULT nextSibling([retval, out] IXMLDOMNode **domNode);
148 [propget, id(DISPID_DOM_NODE_ATTRIBUTES)]
149 HRESULT attributes([retval, out] IXMLDOMNamedNodeMap **attributeMap);
151 [id(DISPID_DOM_NODE_INSERTBEFORE)]
152 HRESULT insertBefore(
153 [in] IXMLDOMNode *newNode,
155 [retval, out] IXMLDOMNode **outOldNode);
157 [id(DISPID_DOM_NODE_REPLACECHILD)]
158 HRESULT replaceChild(
159 [in] IXMLDOMNode *newNode,
160 [in] IXMLDOMNode *oldNode,
161 [retval, out] IXMLDOMNode **outOldNode);
163 [id(DISPID_DOM_NODE_REMOVECHILD)]
165 [in] IXMLDOMNode *domNode,
166 [retval, out] IXMLDOMNode **oldNode);
168 [id(DISPID_DOM_NODE_APPENDCHILD)]
170 [in] IXMLDOMNode *newNode,
171 [retval, out] IXMLDOMNode **outNewNode);
173 [id(DISPID_DOM_NODE_HASCHILDNODES)]
174 HRESULT hasChildNodes(
175 [retval, out] VARIANT_BOOL *pbool);
177 [propget, id(DISPID_DOM_NODE_OWNERDOC)]
178 HRESULT ownerDocument([retval, out] IXMLDOMDocument **domDocument);
180 [id(DISPID_DOM_NODE_CLONENODE)]
182 [in] VARIANT_BOOL pbool,
183 [retval, out] IXMLDOMNode **outNode);
185 [propget, id(DISPID_XMLDOM_NODE_STRINGTYPE)]
186 HRESULT nodeTypeString([retval, out] BSTR *p);
188 [propget, id(DISPID_XMLDOM_NODE_TEXT)]
189 HRESULT text([retval, out] BSTR *p);
191 [propput, id(DISPID_XMLDOM_NODE_TEXT)]
192 HRESULT text([in] BSTR p);
194 [propget, id(DISPID_XMLDOM_NODE_SPECIFIED)]
195 HRESULT specified([retval, out] VARIANT_BOOL *pbool);
197 [propget, id(DISPID_XMLDOM_NODE_DEFINITION)]
198 HRESULT definition([retval,out] IXMLDOMNode **domNode);
200 [propget, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
201 HRESULT nodeTypedValue([retval, out] VARIANT *var1);
203 [propput, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
204 HRESULT nodeTypedValue([in] VARIANT var1);
206 [propget, id(DISPID_XMLDOM_NODE_DATATYPE)]
207 HRESULT dataType([retval, out] VARIANT *var1);
209 [propput, id(DISPID_XMLDOM_NODE_DATATYPE)]
210 HRESULT dataType([in] BSTR p);
212 [propget, id(DISPID_XMLDOM_NODE_XML)]
213 HRESULT xml([retval, out] BSTR *p);
215 [id(DISPID_XMLDOM_NODE_TRANSFORMNODE)]
216 HRESULT transformNode(
217 [in] IXMLDOMNode *domNode,
218 [retval, out] BSTR *p);
220 [id(DISPID_XMLDOM_NODE_SELECTNODES)]
223 [retval, out] IXMLDOMNodeList **outList);
225 [id(DISPID_XMLDOM_NODE_SELECTSINGLENODE)]
226 HRESULT selectSingleNode(
228 [retval, out] IXMLDOMNode **outNode);
230 [propget,id(DISPID_XMLDOM_NODE_PARSED)]
231 HRESULT parsed([retval, out] VARIANT_BOOL *pbool);
233 [propget, id(DISPID_XMLDOM_NODE_NAMESPACE)]
234 HRESULT namespaceURI([retval, out] BSTR *p);
236 [propget, id(DISPID_XMLDOM_NODE_PREFIX)]
237 HRESULT prefix([retval, out] BSTR *p);
239 [propget, id(DISPID_XMLDOM_NODE_BASENAME)]
240 HRESULT baseName([retval, out] BSTR *p);
242 [id(DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT)]
243 HRESULT transformNodeToObject(
244 [in] IXMLDOMNode *domNode,
251 uuid (2933BF81-7B36-11d2-B20E-00C04F983E60)
253 interface IXMLDOMDocument : IXMLDOMNode
255 [propget, id(DISPID_DOM_DOCUMENT_DOCTYPE)]
256 HRESULT doctype([retval, out] IXMLDOMDocumentType **docType);
258 [propget, id(DISPID_DOM_DOCUMENT_IMPLEMENTATION)]
259 HRESULT implementation([retval, out] IXMLDOMImplementation **impl);
261 [propget, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
262 HRESULT documentElement([retval, out] IXMLDOMElement **domElement);
264 [propputref, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
265 HRESULT documentElement([in] IXMLDOMElement *domElement);
267 [id(DISPID_DOM_DOCUMENT_CREATEELEMENT)]
268 HRESULT createElement(
270 [retval, out] IXMLDOMElement **domElement);
272 [id(DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT)]
273 HRESULT createDocumentFragment(
274 [retval, out] IXMLDOMDocumentFragment **docFrag);
276 [id(DISPID_DOM_DOCUMENT_CREATETEXTNODE)]
277 HRESULT createTextNode(
279 [retval, out] IXMLDOMText **text);
281 [id(DISPID_DOM_DOCUMENT_CREATECOMMENT)]
282 HRESULT createComment(
284 [retval, out] IXMLDOMComment **comment);
286 [id(DISPID_DOM_DOCUMENT_CREATECDATASECTION)]
287 HRESULT createCDATASection(
289 [retval, out] IXMLDOMCDATASection **cdata);
291 [id(DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION)]
292 HRESULT createProcessingInstruction(
295 [retval, out] IXMLDOMProcessingInstruction **pi);
297 [id(DISPID_DOM_DOCUMENT_CREATEATTRIBUTE)]
298 HRESULT createAttribute(
300 [retval, out] IXMLDOMAttribute **attribute);
302 [id(DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE)]
303 HRESULT createEntityReference(
305 [retval, out] IXMLDOMEntityReference **entityRef);
307 [id(DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME)]
308 HRESULT getElementsByTagName(
310 [retval, out] IXMLDOMNodeList **resultList);
312 [id(DISPID_XMLDOM_DOCUMENT_CREATENODE)]
317 [retval, out] IXMLDOMNode **node);
319 [id(DISPID_XMLDOM_DOCUMENT_NODEFROMID)]
322 [retval, out] IXMLDOMNode **node);
324 [id(DISPID_XMLDOM_DOCUMENT_LOAD)]
327 [retval, out] VARIANT_BOOL *pbool);
329 [propget, id(DISPID_READYSTATE)]
330 HRESULT readyState([retval, out] LONG *value);
332 [propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR)]
333 HRESULT parseError([retval, out] IXMLDOMParseError **err);
335 [propget, id(DISPID_XMLDOM_DOCUMENT_URL)]
336 HRESULT url([retval, out] BSTR *p);
338 [propget, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
339 HRESULT async([retval, out] VARIANT_BOOL *pbool);
341 [propput, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
342 HRESULT async([in] VARIANT_BOOL pbool);
344 [id(DISPID_XMLDOM_DOCUMENT_ABORT)]
347 [id(DISPID_XMLDOM_DOCUMENT_LOADXML)]
350 [out, retval] VARIANT_BOOL *pbool);
352 [id(DISPID_XMLDOM_DOCUMENT_SAVE)]
356 [propget, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
357 HRESULT validateOnParse([retval, out] VARIANT_BOOL *pbool);
359 [propput, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
360 HRESULT validateOnParse([in] VARIANT_BOOL pbool);
362 [propget, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
363 HRESULT resolveExternals([retval,out] VARIANT_BOOL *pbool);
365 [propput, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
366 HRESULT resolveExternals([in] VARIANT_BOOL pbool);
368 [propget, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
369 HRESULT preserveWhiteSpace([retval,out] VARIANT_BOOL *pbool);
371 [propput, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
372 HRESULT preserveWhiteSpace([in] VARIANT_BOOL pbool);
374 [propput, id(DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE)]
375 HRESULT onreadystatechange([in] VARIANT var1);
377 [propput, id(DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE)]
378 HRESULT ondataavailable([in] VARIANT var1);
380 [propput, id(DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE)]
381 HRESULT ontransformnode([in] VARIANT var1);
387 uuid (373984c8-b845-449b-91e7-45ac83036ade)
389 interface IXMLDOMSchemaCollection : IDispatch
391 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADD)]
396 [id(DISPID_XMLDOM_SCHEMACOLLECTION_GET)]
399 [retval, out] IXMLDOMNode **node);
401 [id(DISPID_XMLDOM_SCHEMACOLLECTION_REMOVE)]
405 [propget, id(DISPID_XMLDOM_SCHEMACOLLECTION_LENGTH)]
407 [retval, out] LONG *length);
409 [propget, id(DISPID_VALUE)]
410 HRESULT namespaceURI([in] LONG index, [out, retval] BSTR *len);
412 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADDCOLLECTION)]
413 HRESULT addCollection(
414 [in] IXMLDOMSchemaCollection *otherCollection);
416 [propget, id(DISPID_NEWENUM)]
417 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
423 uuid (2933BF95-7B36-11d2-B20E-00C04F983E60)
425 interface IXMLDOMDocument2 : IXMLDOMDocument
427 [propget, id(DISPID_XMLDOM_DOCUMENT2_NAMESPACES)]
428 HRESULT namespaces([retval, out] IXMLDOMSchemaCollection **schemaCollection);
430 [propget, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)]
431 HRESULT schemas([retval, out] VARIANT *var1);
433 [propputref, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)]
434 HRESULT schemas([in] VARIANT var1);
436 [id(DISPID_XMLDOM_DOCUMENT2_VALIDATE)]
438 [retval, out] IXMLDOMParseError **err);
440 [id(DISPID_XMLDOM_DOCUMENT2_SETPROPERTY)]
445 [id(DISPID_XMLDOM_DOCUMENT2_GETPROPERTY)]
448 [retval, out] VARIANT *var);
454 uuid (2933BF82-7B36-11d2-B20E-00C04F983E60)
456 interface IXMLDOMNodeList : IDispatch
458 [propget, id(DISPID_VALUE)]
459 HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
461 [propget, id(DISPID_DOM_NODELIST_LENGTH)]
462 HRESULT length([retval, out] LONG *lLength);
464 [id(DISPID_XMLDOM_NODELIST_NEXTNODE)]
466 [retval, out] IXMLDOMNode **outNode);
468 [id(DISPID_XMLDOM_NODELIST_RESET)]
471 [propget, id(DISPID_NEWENUM)]
472 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
478 uuid (AA634FC7-5888-44a7-A257-3A47150D3A0E)
480 interface IXMLDOMSelection : IXMLDOMNodeList
482 [propget, id(DISPID_XMLDOM_SELECTION_EXPR)]
483 HRESULT expr([retval, out] BSTR *p);
485 [propput, id(DISPID_XMLDOM_SELECTION_EXPR)]
486 HRESULT expr([in] BSTR p);
488 [propget, id(DISPID_XMLDOM_SELECTION_CONTEXT)]
489 HRESULT context([retval, out] IXMLDOMNode **ppNode);
491 [propputref, id(DISPID_XMLDOM_SELECTION_CONTEXT)]
492 HRESULT context([in] IXMLDOMNode * pNode);
494 [id(DISPID_XMLDOM_SELECTION_PEEKNODE)]
496 [retval, out] IXMLDOMNode **ppNode);
498 [id(DISPID_XMLDOM_SELECTION_MATCHES)]
500 [in] IXMLDOMNode *pNode,
501 [retval, out] IXMLDOMNode **ppNode);
503 [id(DISPID_XMLDOM_SELECTION_REMOVENEXT)]
505 [retval, out] IXMLDOMNode **ppNode);
507 [id(DISPID_XMLDOM_SELECTION_REMOVEALL)]
510 [id(DISPID_XMLDOM_SELECTION_CLONE)]
512 [retval, out] IXMLDOMSelection **ppNode);
514 [id(DISPID_XMLDOM_SELECTION_GETPROPERTY)]
517 [retval, out] VARIANT * var);
519 [id(DISPID_XMLDOM_SELECTION_SETPROPERTY)]
528 uuid (2933BF83-7B36-11d2-B20E-00C04F983E60)
530 interface IXMLDOMNamedNodeMap : IDispatch
532 [id(DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM)]
533 HRESULT getNamedItem(
535 [retval, out] IXMLDOMNode **outNode);
537 [id(DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM)]
538 HRESULT setNamedItem(
539 [in] IXMLDOMNode *newNode,
540 [retval, out] IXMLDOMNode **outNode);
542 [id(DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM)]
543 HRESULT removeNamedItem(
545 [retval, out] IXMLDOMNode **outNode);
547 [propget, id(DISPID_VALUE)]
548 HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
550 [propget, id(DISPID_DOM_NODELIST_LENGTH)]
551 HRESULT length([retval, out] LONG *lLength);
553 [id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM)]
554 HRESULT getQualifiedItem(
557 [retval, out] IXMLDOMNode **outNode);
559 [id(DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM)]
560 HRESULT removeQualifiedItem(
563 [retval, out] IXMLDOMNode **outNode);
565 [id(DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE)]
567 [retval, out] IXMLDOMNode **outNode);
569 [id(DISPID_XMLDOM_NAMEDNODEMAP_RESET)]
572 [propget, id(DISPID_NEWENUM)]
573 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
579 uuid (3efaa413-272f-11d2-836f-0000f87a7782)
581 interface IXMLDOMDocumentFragment : IXMLDOMNode
588 uuid (2933BF84-7B36-11d2-B20E-00C04F983E60)
590 interface IXMLDOMCharacterData : IXMLDOMNode
592 [propget, id(DISPID_DOM_DATA_DATA)]
593 HRESULT data([retval, out] BSTR *p);
595 [propput, id(DISPID_DOM_DATA_DATA)]
596 HRESULT data([in] BSTR data);
598 [propget, id(DISPID_DOM_DATA_LENGTH)]
599 HRESULT length([retval, out] LONG *len);
601 [id(DISPID_DOM_DATA_SUBSTRING)]
602 HRESULT substringData(
605 [retval, out] BSTR *p);
607 [id(DISPID_DOM_DATA_APPEND)]
611 [id(DISPID_DOM_DATA_INSERT)]
616 [id(DISPID_DOM_DATA_DELETE)]
621 [id(DISPID_DOM_DATA_REPLACE)]
631 uuid (2933BF85-7B36-11d2-B20E-00C04F983E60)
633 interface IXMLDOMAttribute : IXMLDOMNode
635 [propget, id(DISPID_DOM_ATTRIBUTE_GETNAME)]
636 HRESULT name([retval, out] BSTR *p);
638 [propget, id(DISPID_DOM_ATTRIBUTE_VALUE)]
639 HRESULT value([retval, out] VARIANT *var1);
641 [propput, id(DISPID_DOM_ATTRIBUTE_VALUE)]
642 HRESULT value([in] VARIANT var1);
648 uuid (2933BF86-7B36-11d2-B20E-00C04F983E60)
650 interface IXMLDOMElement : IXMLDOMNode
652 [propget, id(DISPID_DOM_ELEMENT_GETTAGNAME)]
653 HRESULT tagName([retval, out] BSTR *p);
655 [id(DISPID_DOM_ELEMENT_GETATTRIBUTE)]
656 HRESULT getAttribute(
658 [retval, out] VARIANT *var);
660 [id(DISPID_DOM_ELEMENT_SETATTRIBUTE)]
661 HRESULT setAttribute(
665 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTE)]
666 HRESULT removeAttribute(
669 [id(DISPID_DOM_ELEMENT_GETATTRIBUTENODE)]
670 HRESULT getAttributeNode(
672 [retval, out] IXMLDOMAttribute **attributeNode);
674 [id(DISPID_DOM_ELEMENT_SETATTRIBUTENODE)]
675 HRESULT setAttributeNode(
676 [in] IXMLDOMAttribute *domAttribute,
677 [retval, out] IXMLDOMAttribute **attributeNode);
679 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE)]
680 HRESULT removeAttributeNode(
681 [in] IXMLDOMAttribute *domAttribute,
682 [retval, out] IXMLDOMAttribute **attributeNode);
684 [id(DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME)]
685 HRESULT getElementsByTagName(
687 [retval, out] IXMLDOMNodeList **resultList);
689 [id(DISPID_DOM_ELEMENT_NORMALIZE)]
696 uuid (2933BF87-7B36-11d2-B20E-00C04F983E60)
698 interface IXMLDOMText : IXMLDOMCharacterData
700 [id(DISPID_DOM_TEXT_SPLITTEXT)]
703 [retval, out] IXMLDOMText **txtNode);
709 uuid (2933BF88-7B36-11d2-B20E-00C04F983E60)
711 interface IXMLDOMComment : IXMLDOMCharacterData
718 uuid (2933BF89-7B36-11d2-B20E-00C04F983E60)
720 interface IXMLDOMProcessingInstruction : IXMLDOMNode
722 [propget, id(DISPID_DOM_PI_TARGET)]
723 HRESULT target([retval, out] BSTR *p);
725 [propget, id(DISPID_DOM_PI_DATA)]
726 HRESULT data([retval, out] BSTR *p);
728 [propput, id(DISPID_DOM_PI_DATA)]
729 HRESULT data([in] BSTR p);
735 uuid (2933BF8A-7B36-11d2-B20E-00C04F983E60)
737 interface IXMLDOMCDATASection : IXMLDOMText
744 uuid (2933BF8B-7B36-11d2-B20E-00C04F983E60)
746 interface IXMLDOMDocumentType : IXMLDOMNode
748 [propget, id(DISPID_DOM_DOCUMENTTYPE_NAME)]
749 HRESULT name([retval, out] BSTR *p);
751 [propget, id(DISPID_DOM_DOCUMENTTYPE_ENTITIES)]
752 HRESULT entities([retval, out] IXMLDOMNamedNodeMap **entityMap);
754 [propget, id(DISPID_DOM_DOCUMENTTYPE_NOTATIONS)]
755 HRESULT notations([retval, out] IXMLDOMNamedNodeMap **notationMap);
761 uuid (2933BF8C-7B36-11d2-B20E-00C04F983E60)
763 interface IXMLDOMNotation : IXMLDOMNode
765 [propget, id(DISPID_DOM_NOTATION_PUBLICID)]
766 HRESULT publicId([retval, out] VARIANT *id);
768 [propget, id(DISPID_DOM_NOTATION_SYSTEMID)]
769 HRESULT systemId([retval, out] VARIANT *id);
775 uuid (2933BF8D-7B36-11d2-B20E-00C04F983E60)
777 interface IXMLDOMEntity : IXMLDOMNode
779 [propget, id(DISPID_DOM_ENTITY_PUBLICID)]
780 HRESULT publicId([retval, out] VARIANT *id1);
782 [propget, id(DISPID_DOM_ENTITY_SYSTEMID)]
783 HRESULT systemId([retval, out] VARIANT *id1);
785 [propget, id(DISPID_DOM_ENTITY_NOTATIONNAME)]
786 HRESULT notationName([retval, out] BSTR *p);
792 uuid (2933BF8E-7B36-11d2-B20E-00C04F983E60)
794 interface IXMLDOMEntityReference : IXMLDOMNode
801 uuid (2933BF8F-7B36-11d2-B20E-00C04F983E60)
803 interface IXMLDOMImplementation : IDispatch
805 [id(DISPID_DOM_IMPLEMENTATION_HASFEATURE)]
809 [retval, out] VARIANT_BOOL *pbool);
815 uuid (3efaa425-272f-11d2-836f-0000f87a7782)
817 interface IXTLRuntime : IXMLDOMNode
819 [id(DISPID_XTLRUNTIME_UNIQUEID)]
821 [in]IXMLDOMNode *pNode,
822 [retval, out]LONG *pID);
824 [id(DISPID_XTLRUNTIME_DEPTH)]
826 [in] IXMLDOMNode *pNode,
827 [retval, out]LONG * pDepth);
829 [id(DISPID_XTLRUNTIME_CHILDNUMBER)]
831 [in]IXMLDOMNode *pNode,
832 [retval, out] LONG *pNumber);
834 [id(DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER)]
835 HRESULT ancestorChildNumber(
837 [in]IXMLDOMNode *pNode,
838 [retval, out]LONG *pNumber);
840 [id(DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER)]
841 HRESULT absoluteChildNumber(
842 [in]IXMLDOMNode *pNode,
843 [retval, out]LONG *pNumber);
845 [id(DISPID_XTLRUNTIME_FORMATINDEX)]
849 [retval, out]BSTR *pbstr);
851 [id(DISPID_XTLRUNTIME_FORMATNUMBER)]
852 HRESULT formatNumber(
853 [in] double dblNumber,
855 [retval, out]BSTR *pbstr);
857 [id(DISPID_XTLRUNTIME_FORMATDATE)]
861 [optional, in] VARIANT var2,
862 [retval, out]BSTR *pbstr);
864 [id(DISPID_XTLRUNTIME_FORMATTIME)]
868 [optional, in] VARIANT var2,
869 [retval, out]BSTR *pbstr);
874 uuid(3efaa427-272f-11d2-836f-0000f87a7782)
876 dispinterface XMLDOMDocumentEvents
880 [id (DISPID_XMLDOMEVENT_ONDATAAVAILABLE)]
881 HRESULT ondataavailable();
883 [id (DISPID_XMLDOMEVENT_ONREADYSTATECHANGE)]
884 HRESULT onreadystatechange();
890 uuid (2933BF92-7B36-11d2-B20E-00C04F983E60)
892 interface IXSLProcessor : IDispatch
894 [propput, id(DISPID_XMLDOM_PROCESSOR_INPUT)]
895 HRESULT input([in] VARIANT var);
897 [propget, id(DISPID_XMLDOM_PROCESSOR_INPUT)]
898 HRESULT input([retval, out] VARIANT *var);
900 [propget, id(DISPID_XMLDOM_PROCESSOR_XSLTEMPLATE)]
901 HRESULT ownerTemplate([retval, out] IXSLTemplate **ppTemplate);
903 [id(DISPID_XMLDOM_PROCESSOR_SETSTARTMODE)]
904 HRESULT setStartMode(
906 [in, defaultvalue("")] BSTR uri);
908 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODE)]
909 HRESULT startMode([retval, out] BSTR *p);
911 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODEURI)]
912 HRESULT startModeURI([retval, out] BSTR *uri);
914 [propput, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)]
915 HRESULT output([in] VARIANT var);
917 [propget, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)]
918 HRESULT output([retval, out] VARIANT *var);
920 [id(DISPID_XMLDOM_PROCESSOR_TRANSFORM)]
922 [retval, out] VARIANT_BOOL *pbool);
924 [id(DISPID_XMLDOM_PROCESSOR_RESET)]
927 [propget, id(DISPID_XMLDOM_PROCESSOR_READYSTATE)]
928 HRESULT readyState([retval, out] LONG *pstate);
930 [id(DISPID_XMLDOM_PROCESSOR_ADDPARAMETER)]
931 HRESULT addParameter(
934 [in, defaultvalue("")] BSTR uri);
936 [id(DISPID_XMLDOM_PROCESSOR_ADDOBJECT)]
941 [propget, id(DISPID_XMLDOM_PROCESSOR_STYLESHEET)]
942 HRESULT stylesheet([retval, out] IXMLDOMNode **node);
948 uuid (2933BF93-7B36-11d2-B20E-00C04F983E60)
950 interface IXSLTemplate : IDispatch
952 [propputref, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)]
953 HRESULT stylesheet([in] IXMLDOMNode *node);
955 [propget, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)]
956 HRESULT stylesheet([retval, out] IXMLDOMNode **node);
958 [id(DISPID_XMLDOM_TEMPLATE_CREATEPROCESSOR)]
959 HRESULT createProcessor(
960 [retval, out] IXSLProcessor **ppProcessor);
965 uuid(ED8C108D-4349-11D2-91A4-00C04F7969E8),
969 pointer_default(unique)
971 interface IXMLHTTPRequest : IDispatch
974 HRESULT open([in] BSTR bstrMethod, [in] BSTR bstrUrl, [in, optional] VARIANT varAsync,
975 [in,optional] VARIANT username, [in,optional] VARIANT password);
978 HRESULT setRequestHeader([in] BSTR bstrHeader, [in] BSTR bstrValue);
981 HRESULT getResponseHeader([in] BSTR bstrHeader, [out, retval] BSTR * value);
984 HRESULT getAllResponseHeaders([out, retval] BSTR * pbstrHeaders);
987 HRESULT send([in, optional] VARIANT body);
993 HRESULT status([out, retval] LONG *pStatus);
996 HRESULT statusText([out, retval] BSTR *pStatus);
999 HRESULT responseXML([out, retval] IDispatch **pBody);
1002 HRESULT responseText([out, retval] BSTR *pBody);
1005 HRESULT responseBody([out, retval] VARIANT *pBody);
1008 HRESULT responseStream([out, retval] VARIANT *pBody);
1011 HRESULT readyState([out, retval] LONG *pState);
1014 HRESULT onreadystatechange([in] IDispatch *pReadyStateSink);
1020 uuid (3efaa426-272f-11d2-836f-0000f87a7782)
1022 interface IXMLDOMParseError : IDispatch
1024 [propget, id(DISPID_VALUE)]
1025 HRESULT errorCode([retval, out] LONG *errCode);
1027 [propget, id(DISPID_DOM_ERROR_URL)]
1028 HRESULT url([retval, out] BSTR *p);
1030 [propget, id(DISPID_DOM_ERROR_REASON)]
1031 HRESULT reason([retval, out] BSTR *p);
1033 [propget, id(DISPID_DOM_ERROR_SRCTEXT)]
1034 HRESULT srcText([retval, out] BSTR *p);
1036 [propget, id(DISPID_DOM_ERROR_LINE)]
1037 HRESULT line([retval, out] LONG *lineNo);
1039 [propget, id(DISPID_DOM_ERROR_LINEPOS)]
1040 HRESULT linepos([retval, out] LONG * linePos);
1042 [propget, id(DISPID_DOM_ERROR_FILEPOS)]
1043 HRESULT filepos([retval, out] LONG * filePos);
1047 uuid(F6D90F11-9C73-11D3-B32E-00C04F990BB4)
1051 [default] interface IXMLDOMDocument2;
1052 [default, source] dispinterface XMLDOMDocumentEvents;
1056 uuid(f5078f1b-c551-11d3-89b9-0000f81fe221)
1058 coclass DOMDocument26
1060 [default] interface IXMLDOMDocument2;
1061 [default, source] dispinterface XMLDOMDocumentEvents;
1065 uuid(f5078f32-c551-11d3-89b9-0000f81fe221)
1067 coclass DOMDocument30
1069 [default] interface IXMLDOMDocument2;
1070 [default, source] dispinterface XMLDOMDocumentEvents;
1074 uuid(88d969c0-f192-11d4-a65f-0040963251e5)
1076 coclass DOMDocument40
1078 [default] interface IXMLDOMDocument2;
1079 [default, source] dispinterface XMLDOMDocumentEvents;
1083 uuid(F6D90F12-9C73-11D3-B32E-00C04F990BB4)
1085 coclass FreeThreadedDOMDocument
1087 [default] interface IXMLDOMDocument2;
1088 [default, source] dispinterface XMLDOMDocumentEvents;
1092 uuid(f5078f1c-c551-11d3-89b9-0000f81fe221)
1094 coclass FreeThreadedDOMDocument26
1096 [default] interface IXMLDOMDocument2;
1097 [default, source] dispinterface XMLDOMDocumentEvents;
1101 uuid(f5078f33-c551-11d3-89b9-0000f81fe221)
1103 coclass FreeThreadedDOMDocument30
1105 [default] interface IXMLDOMDocument2;
1106 [default, source] dispinterface XMLDOMDocumentEvents;
1110 uuid(373984c9-b845-449b-91e7-45ac83036ade)
1112 coclass XMLSchemaCache
1114 [default] interface IXMLDOMSchemaCollection;
1118 uuid(f5078f1d-c551-11d3-89b9-0000f81fe221)
1120 coclass XMLSchemaCache26
1122 [default] interface IXMLDOMSchemaCollection;
1126 uuid(f5078f34-c551-11d3-89b9-0000f81fe221)
1128 coclass XMLSchemaCache30
1130 [default] interface IXMLDOMSchemaCollection;
1134 uuid(2933BF94-7B36-11d2-B20E-00C04F983E60)
1138 [default] interface IXSLTemplate;
1142 uuid(f5078f21-c551-11d3-89b9-0000f81fe221)
1144 coclass XSLTemplate26
1146 [default] interface IXSLTemplate;
1150 uuid(f5078f36-c551-11d3-89b9-0000f81fe221)
1152 coclass XSLTemplate30
1154 [default] interface IXSLTemplate;
1163 uuid(f078abe1-45d2-4832-91ea-4466ce2f25c9)
1165 interface ISAXAttributes : IUnknown
1168 [out, retval] int *length);
1172 [out] const WCHAR **pUrl,
1173 [out] int *pUriSize);
1175 HRESULT getLocalName(
1177 [out] const WCHAR **pLocalName,
1178 [out] int *pLocalNameLength);
1182 [out] const WCHAR **pQName,
1183 [out] int *pQNameLength);
1187 [out] const WCHAR **pUri,
1188 [out] int * pUriLength,
1189 [out] const WCHAR ** pLocalName,
1190 [out] int * pLocalNameSize,
1191 [out] const WCHAR ** pQName,
1192 [out] int * pQNameLength);
1194 HRESULT getIndexFromName(
1195 [in] const WCHAR * pUri,
1196 [in] int cUriLength,
1197 [in] const WCHAR * pLocalName,
1198 [in] int cocalNameLength,
1199 [out, retval] int * index);
1201 HRESULT getIndexFromQName(
1202 [in] const WCHAR * pQName,
1203 [in] int nQNameLength,
1204 [out, retval] int * index);
1208 [out] const WCHAR ** pType,
1209 [out] int * pTypeLength);
1211 HRESULT getTypeFromName(
1212 [in] const WCHAR * pUri,
1214 [in] const WCHAR * pLocalName,
1215 [in] int nLocalName,
1216 [out] const WCHAR ** pType,
1219 HRESULT getTypeFromQName(
1220 [in] const WCHAR * pQName,
1222 [out] const WCHAR ** pType,
1227 [out] const WCHAR ** pValue,
1228 [out] int * nValue);
1230 HRESULT getValueFromName(
1231 [in] const WCHAR * pUri,
1233 [in] const WCHAR * pLocalName,
1234 [in] int nLocalName,
1235 [out] const WCHAR ** pValue,
1236 [out] int * nValue);
1238 HRESULT getValueFromQName(
1239 [in] const WCHAR * pQName,
1241 [out] const WCHAR ** pValue,
1242 [out] int * nValue);
1248 uuid(1545cdfa-9e4e-4497-a8a4-2bf7d0112c44)
1250 interface ISAXContentHandler : IUnknown
1252 HRESULT putDocumentLocator(
1253 [in] ISAXLocator * pLocator);
1255 HRESULT startDocument();
1257 HRESULT endDocument();
1259 HRESULT startPrefixMapping(
1260 [in] const WCHAR * pPrefix,
1262 [in] const WCHAR * pUri,
1265 HRESULT endPrefixMapping(
1266 [in] const WCHAR * pPrefix,
1269 HRESULT startElement(
1270 [in] const WCHAR * pNamespaceUri,
1271 [in] int nNamespaceUri,
1272 [in] const WCHAR * pLocalName,
1273 [in] int nLocalName,
1274 [in] const WCHAR * pQName,
1276 [in] ISAXAttributes * pAttr);
1279 [in] const WCHAR * pNamespaceUri,
1280 [in] int nNamespaceUri,
1281 [in] const WCHAR * pLocalName,
1282 [in] int nLocalName,
1283 [in] const WCHAR * pQName,
1287 [in] const WCHAR * pChars,
1290 HRESULT ignorableWhitespace(
1291 [in] const WCHAR * pChars,
1294 HRESULT processingInstruction(
1295 [in] const WCHAR * pTarget,
1297 [in] const WCHAR * pData,
1300 HRESULT skippedEntity(
1301 [in] const WCHAR * pName,
1308 uuid(862629ac-771a-47b2-8337-4e6843c1be90)
1310 interface ISAXDeclHandler : IUnknown
1312 HRESULT elementDecl(
1313 [in] const WCHAR * pName,
1315 [in] const WCHAR * pModel,
1318 HRESULT attributeDecl(
1319 [in] const WCHAR * pElementName,
1320 [in] int nElementName,
1321 [in] const WCHAR * pAttributeName,
1322 [in] int nAttributeName,
1323 [in] const WCHAR * pType,
1325 [in] const WCHAR * pValueDefault,
1326 [in] int nValueDefault,
1327 [in] const WCHAR * pValue,
1330 HRESULT internalEntityDecl(
1331 [in] const WCHAR * pName,
1333 [in] const WCHAR * pValue,
1336 HRESULT externalEntityDecl(
1337 [in] const WCHAR * pName,
1339 [in] const WCHAR * pPublicId,
1341 [in] const WCHAR * pSystemId,
1342 [in] int nSystemId);
1348 uuid(e15c1baf-afb3-4d60-8c36-19a8c45defed)
1350 interface ISAXDTDHandler : IUnknown
1352 HRESULT notationDecl(
1353 [in] const WCHAR * pName,
1355 [in] const WCHAR * pPublicId,
1357 [in] const WCHAR * pSystemId,
1358 [in] int nSystemId);
1360 HRESULT unparsedEntityDecl(
1361 [in] const WCHAR * pName,
1363 [in] const WCHAR * pPublicId,
1365 [in] const WCHAR * pSystemId,
1367 [in] const WCHAR * pNotationName,
1368 [in] int nNotationName);
1374 uuid(99bca7bd-e8c4-4d5f-a0cf-6d907901ff07),
1376 interface ISAXEntityResolver : IUnknown
1378 HRESULT resolveEntity(
1379 [in] const WCHAR * pPublicId,
1380 [in] const WCHAR * pSystemId,
1381 [out, retval] VARIANT * ret);
1387 uuid(a60511c4-ccf5-479e-98a3-dc8dc545b7d0)
1389 interface ISAXErrorHandler : IUnknown
1392 [in] ISAXLocator * pLocator,
1393 [in] const WCHAR * pErrorMessage,
1394 [in] HRESULT hrErrorCode);
1397 [in] ISAXLocator * pLocator,
1398 [in] const WCHAR * pErrorMessage,
1399 [in] HRESULT hrErrorCode);
1401 HRESULT ignorableWarning(
1402 [in] ISAXLocator * pLocator,
1403 [in] const WCHAR * pErrorMessage,
1404 [in] HRESULT hrErrorCode);
1410 uuid(7f85d5f5-47a8-4497-bda5-84ba04819ea6)
1412 interface ISAXLexicalHandler : IUnknown
1415 [in] const WCHAR * pName,
1417 [in] const WCHAR * pPublicId,
1419 [in] const WCHAR * pSystemId,
1420 [in] int nSystemId);
1424 HRESULT startEntity(
1425 [in] const WCHAR * pName,
1429 [in] const WCHAR * pName,
1432 HRESULT startCDATA();
1437 [in] const WCHAR * pChars,
1444 uuid(9b7e472a-0de4-4640-bff3-84d38a051c31)
1446 interface ISAXLocator : IUnknown
1448 HRESULT getColumnNumber(
1449 [out, retval] int * nColumn);
1451 HRESULT getLineNumber(
1452 [out, retval] int * nLine);
1454 HRESULT getPublicId(
1455 [out, retval] const WCHAR ** publicId);
1457 HRESULT getSystemId(
1458 [out, retval] const WCHAR ** systemId);
1464 uuid(70409222-ca09-4475-acb8-40312fe8d145)
1466 interface ISAXXMLFilter : ISAXXMLReader
1469 [out, retval] ISAXXMLReader ** pReader);
1471 [in] ISAXXMLReader * reader);
1477 uuid (a4f96ed0-f829-476e-81c0-cdc7bd2a0802)
1479 interface ISAXXMLReader : IUnknown
1482 [in] const WCHAR * pFeature,
1483 [out, retval] VARIANT_BOOL * pValue);
1485 [in] const WCHAR * pFeature,
1486 [in] VARIANT_BOOL vfValue);
1488 HRESULT getProperty(
1489 [in] const WCHAR * pProp,
1490 [out, retval] VARIANT * pValue);
1491 HRESULT putProperty(
1492 [in] const WCHAR * pProp,
1493 [in] VARIANT value);
1495 HRESULT getEntityResolver(
1496 [out, retval] ISAXEntityResolver ** ppEntityResolver);
1497 HRESULT putEntityResolver(
1498 [in] ISAXEntityResolver * pEntityResolver);
1500 HRESULT getContentHandler(
1501 [out, retval] ISAXContentHandler ** pContentHandler);
1502 HRESULT putContentHandler(
1503 [in] ISAXContentHandler * contentHandler);
1505 HRESULT getDTDHandler(
1506 [out, retval] ISAXDTDHandler ** pDTDHandler);
1507 HRESULT putDTDHandler(
1508 [in] ISAXDTDHandler * pDTDHandler);
1510 HRESULT getErrorHandler(
1511 [out, retval] ISAXErrorHandler ** pErrorHandler);
1512 HRESULT putErrorHandler(
1513 [in] ISAXErrorHandler * errorHandler);
1516 [out, retval] const WCHAR ** pBaseUrl);
1518 [in] const WCHAR * pBaseUrl);
1520 HRESULT getSecureBaseURL(
1521 [out, retval] const WCHAR ** pSecureBaseUrl);
1522 HRESULT putSecureBaseURL(
1523 [in] const WCHAR * secureBaseUrl);
1526 [in] VARIANT varInput);
1528 [in] const WCHAR * url);
1534 uuid(10dc0586-132b-4cac-8bb3-db00ac8b7ee0)
1536 interface IVBSAXAttributes : IDispatch
1538 [propget, id(DISPID_SAX_ATTRIBUTES_LENGTH)]
1539 HRESULT length( [out, retval] int * nLength);
1541 [id(DISPID_SAX_ATTRIBUTES_GETURI)]
1542 HRESULT getURI( [in] int nIndex, [out, retval] BSTR * uri);
1544 [id(DISPID_SAX_ATTRIBUTES_GETLOCALNAME)]
1545 HRESULT getLocalName( [in] int nIndex, [out, retval] BSTR * localName);
1547 [id(DISPID_SAX_ATTRIBUTES_GETQNAME)]
1548 HRESULT getQName( [in] int nIndex, [out, retval] BSTR * QName);
1550 [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMNAME)]
1551 HRESULT getIndexFromName( [in] BSTR uri,
1552 [in] BSTR localName, [out, retval] int * nIndex);
1554 [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMQNAME)]
1555 HRESULT getIndexFromQName( [in] BSTR QName, [out, retval] int * nIndex);
1557 [id(DISPID_SAX_ATTRIBUTES_GETTYPE)]
1558 HRESULT getType( [in] int nIndex, [out, retval] BSTR * type);
1560 [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMNAME)]
1561 HRESULT getTypeFromName( [in] BSTR uri, [in] BSTR localName,
1562 [out, retval] BSTR * type);
1564 [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMQNAME)]
1565 HRESULT getTypeFromQName( [in] BSTR QName, [out, retval] BSTR * type);
1567 [id(DISPID_SAX_ATTRIBUTES_GETVALUE)]
1568 HRESULT getValue( [in] int nIndex, [out, retval] BSTR * value);
1570 [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMNAME)]
1571 HRESULT getValueFromName( [in] BSTR uri,
1572 [in] BSTR localName,
1573 [out, retval] BSTR * value);
1575 [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMQNAME)]
1576 HRESULT getValueFromQName( [in] BSTR QName, [out, retval] BSTR * value);
1582 uuid(2ed7290a-4dd5-4b46-bb26-4e4155e77faa)
1584 interface IVBSAXContentHandler : IDispatch
1586 [propputref, id(DISPID_SAX_CONTENTHANDLER_DOCUMENTLOCATOR)]
1587 HRESULT documentLocator( [in] IVBSAXLocator * oLocator);
1589 [id(DISPID_SAX_CONTENTHANDLER_STARTDOCUMENT)]
1590 HRESULT startDocument();
1592 [id(DISPID_SAX_CONTENTHANDLER_ENDDOCUMENT)]
1593 HRESULT endDocument();
1595 [id(DISPID_SAX_CONTENTHANDLER_STARTPREFIXMAPPING)]
1596 HRESULT startPrefixMapping( [in, out] BSTR * prefix, [in, out] BSTR * uri);
1598 [id(DISPID_SAX_CONTENTHANDLER_ENDPREFIXMAPPING)]
1599 HRESULT endPrefixMapping( [in, out] BSTR * prefix);
1601 [id(DISPID_SAX_CONTENTHANDLER_STARTELEMENT)]
1602 HRESULT startElement( [in, out] BSTR * namespaceURI,
1603 [in, out] BSTR * localName,
1604 [in, out] BSTR * QName,
1605 [in] IVBSAXAttributes * oAttributes);
1607 [id(DISPID_SAX_CONTENTHANDLER_ENDELEMENT)]
1608 HRESULT endElement( [in, out] BSTR * namespaceURI,
1609 [in, out] BSTR * localName, [in, out] BSTR * strQName);
1611 [id(DISPID_SAX_CONTENTHANDLER_CHARACTERS)]
1612 HRESULT characters( [in, out] BSTR * chars);
1614 [id(DISPID_SAX_CONTENTHANDLER_IGNORABLEWHITESPACE)]
1615 HRESULT ignorableWhitespace( [in, out] BSTR * chars);
1617 [id(DISPID_SAX_CONTENTHANDLER_PROCESSINGINSTRUCTION)]
1618 HRESULT processingInstruction( [in, out] BSTR * target,
1619 [in, out] BSTR * data);
1621 [id(DISPID_SAX_CONTENTHANDLER_SKIPPEDENTITY)]
1622 HRESULT skippedEntity( [in, out] BSTR * name);
1628 uuid(e8917260-7579-4be1-b5dd-7afbfa6f077b)
1630 interface IVBSAXDeclHandler : IDispatch
1632 [id(DISPID_SAX_DECLHANDLER_ELEMENTDECL)]
1633 HRESULT elementDecl(
1634 [in, out] BSTR * name,
1635 [in, out] BSTR * model);
1637 [id(DISPID_SAX_DECLHANDLER_ATTRIBUTEDECL)]
1638 HRESULT attributeDecl(
1639 [in, out] BSTR * elementName,
1640 [in, out] BSTR * attributeName,
1641 [in, out] BSTR * type,
1642 [in, out] BSTR * valueDefault,
1643 [in, out] BSTR * value);
1645 [id(DISPID_SAX_DECLHANDLER_INTERNALENTITYDECL)]
1646 HRESULT internalEntityDecl(
1647 [in, out] BSTR * name,
1648 [in, out] BSTR * value);
1650 [id(DISPID_SAX_DECLHANDLER_EXTERNALENTITYDECL)]
1651 HRESULT externalEntityDecl(
1652 [in, out] BSTR * name,
1653 [in, out] BSTR * publicId,
1654 [in, out] BSTR * systemId);
1660 uuid(24fb3297-302d-4620-ba39-3a732d850558)
1662 interface IVBSAXDTDHandler : IDispatch
1664 [id(DISPID_SAX_DTDHANDLER_NOTATIONDECL)]
1665 HRESULT notationDecl(
1666 [in, out] BSTR * name,
1667 [in, out] BSTR * publicId,
1668 [in, out] BSTR * systemId);
1670 [id(DISPID_SAX_DTDHANDLER_UNPARSEDENTITYDECL)]
1671 HRESULT unparsedEntityDecl(
1672 [in, out] BSTR * name,
1673 [in, out] BSTR * publicId,
1674 [in, out] BSTR * systemId,
1675 [in, out] BSTR * notationName);
1681 uuid(0c05d096-f45b-4aca-ad1a-aa0bc25518dc)
1683 interface IVBSAXEntityResolver : IDispatch
1685 [id(DISPID_SAX_ENTITYRESOLVER_RESOLVEENTITY)]
1686 HRESULT resolveEntity(
1687 [in, out] BSTR * publicId,
1688 [in, out] BSTR * systemId,
1689 [out, retval] VARIANT * ret);
1695 uuid(d963d3fe-173c-4862-9095-b92f66995f52)
1697 interface IVBSAXErrorHandler : IDispatch
1699 [id(DISPID_SAX_ERRORHANDLER_ERROR)]
1701 [in] IVBSAXLocator * locator,
1702 [in, out] BSTR * errorMessage,
1703 [in] LONG errorCode);
1705 [id(DISPID_SAX_ERRORHANDLER_FATALERROR)]
1707 [in] IVBSAXLocator * locator,
1708 [in, out] BSTR * errorMessage,
1709 [in] LONG errorCode);
1711 [id(DISPID_SAX_ERRORHANDLER_IGNORABLEWARNING)]
1712 HRESULT ignorableWarning(
1713 [in] IVBSAXLocator * locator,
1714 [in, out] BSTR * errorMessage,
1715 [in] LONG errorCode);
1721 uuid(032aac35-8c0e-4d9d-979f-e3b702935576)
1723 interface IVBSAXLexicalHandler : IDispatch
1725 [id(DISPID_SAX_LEXICALHANDLER_STARTDTD)]
1727 [in, out] BSTR * name,
1728 [in, out] BSTR * publicId,
1729 [in, out] BSTR * systemId);
1730 [id(DISPID_SAX_LEXICALHANDLER_ENDDTD)]
1733 [id(DISPID_SAX_LEXICALHANDLER_STARTENTITY)]
1734 HRESULT startEntity([in, out] BSTR * name);
1735 [id(DISPID_SAX_LEXICALHANDLER_ENDENTITY)]
1736 HRESULT endEntity([in, out] BSTR * name);
1738 [id(DISPID_SAX_LEXICALHANDLER_STARTCDATA)]
1739 HRESULT startCDATA();
1740 [id(DISPID_SAX_LEXICALHANDLER_ENDCDATA)]
1743 [id(DISPID_SAX_LEXICALHANDLER_COMMENT)]
1744 HRESULT comment( [in, out] BSTR * chars);
1749 uuid(796e7ac5-5aa2-4eff-acad-3faaf01a3288)
1751 interface IVBSAXLocator : IDispatch
1753 [propget, id(DISPID_SAX_LOCATOR_COLUMNNUMBER)]
1754 HRESULT columnNumber( [out, retval] int * column);
1756 [propget, id(DISPID_SAX_LOCATOR_LINENUMBER)]
1757 HRESULT lineNumber( [out, retval] int * line);
1759 [propget, id(DISPID_SAX_LOCATOR_PUBLICID)]
1760 HRESULT publicId( [out, retval] BSTR * publicId);
1762 [propget, id(DISPID_SAX_LOCATOR_SYSTEMID)]
1763 HRESULT systemId( [out, retval] BSTR * systemId);
1769 uuid(1299eb1b-5b88-433e-82de-82ca75ad4e04)
1771 interface IVBSAXXMLFilter : IDispatch
1773 [propget, id(DISPID_SAX_XMLFILTER_PARENT)]
1774 HRESULT parent( [out, retval] IVBSAXXMLReader ** reader);
1775 [propputref, id(DISPID_SAX_XMLFILTER_PARENT)]
1776 HRESULT parent( [in] IVBSAXXMLReader * reader);
1783 uuid (8c033caa-6cd6-4f73-b728-4531af74945f)
1785 interface IVBSAXXMLReader : IDispatch
1787 [id(DISPID_SAX_XMLREADER_GETFEATURE)]
1788 HRESULT getFeature( [in] const WCHAR * pFeature,
1789 [out, retval] VARIANT_BOOL * pValue);
1790 [id(DISPID_SAX_XMLREADER_PUTFEATURE)]
1791 HRESULT putFeature( [in] const WCHAR * pFeature,
1792 [in] VARIANT_BOOL vfValue);
1794 [id(DISPID_SAX_XMLREADER_GETPROPERTY)]
1795 HRESULT getProperty( [in] const WCHAR * pProp,
1796 [out, retval] VARIANT * pValue);
1797 [id(DISPID_SAX_XMLREADER_PUTPROPERTY)]
1798 HRESULT putProperty( [in] const WCHAR * pProp, [in] VARIANT value);
1800 [propget, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)]
1801 HRESULT entityResolver(
1802 [out, retval] IVBSAXEntityResolver ** ppEntityResolver);
1803 [propputref, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)]
1804 HRESULT entityResolver( [in] IVBSAXEntityResolver * pEntityResolver);
1806 [propget, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)]
1807 HRESULT contentHandler(
1808 [out, retval] IVBSAXContentHandler ** pContentHandler);
1809 [propputref, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)]
1810 HRESULT contentHandler([in] IVBSAXContentHandler * contentHandler);
1812 [propget, id(DISPID_SAX_XMLREADER_DTDHANDLER)]
1813 HRESULT dtdHandler([out, retval] IVBSAXDTDHandler ** pDTDHandler);
1814 [propputref, id(DISPID_SAX_XMLREADER_DTDHANDLER)]
1815 HRESULT dtdHandler([in] IVBSAXDTDHandler * pDTDHandler);
1817 [propget, id(DISPID_SAX_XMLREADER_ERRORHANDLER)]
1818 HRESULT errorHandler([out, retval] IVBSAXErrorHandler ** pErrorHandler);
1819 [propputref, id(DISPID_SAX_XMLREADER_ERRORHANDLER)]
1820 HRESULT errorHandler([in] IVBSAXErrorHandler * errorHandler);
1822 [propget, id(DISPID_SAX_XMLREADER_BASEURL)]
1823 HRESULT baseURL([out, retval] const WCHAR ** pBaseUrl);
1824 [propput, id(DISPID_SAX_XMLREADER_BASEURL)]
1825 HRESULT baseURL([in] const WCHAR * pBaseUrl);
1827 [propget, id(DISPID_SAX_XMLREADER_SECUREBASEURL)]
1828 HRESULT secureBaseURL([out, retval] const WCHAR ** pSecureBaseUrl);
1829 [propput, id(DISPID_SAX_XMLREADER_SECUREBASEURL)]
1830 HRESULT secureBaseURL([in] const WCHAR * secureBaseUrl);
1832 [id(DISPID_SAX_XMLREADER_PARSE)]
1833 HRESULT parse( [in] VARIANT varInput);
1834 [id(DISPID_SAX_XMLREADER_PARSEURL)]
1835 HRESULT parseURL([in] const WCHAR * url);
1841 uuid(f10d27cc-3ec0-415c-8ed8-77ab1c5e7262)
1843 interface IMXAttributes : IDispatch
1845 [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTE)]
1846 HRESULT addAttribute(
1848 [in] BSTR localName,
1853 [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTEFROMINDEX)]
1854 HRESULT addAttributeFromIndex( [in] VARIANT atts,
1857 [id(DISPID_MX_ATTRIBUTES_CLEAR)]
1860 [id(DISPID_MX_ATTRIBUTES_REMOVEATTRIBUTE)]
1861 HRESULT removeAttribute( [in] int index);
1863 [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTE)]
1864 HRESULT setAttribute(
1867 [in] BSTR localName,
1872 [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTES)]
1873 HRESULT setAttributes( [in] VARIANT atts);
1875 [id(DISPID_MX_ATTRIBUTES_SETLOCALNAME)]
1876 HRESULT setLocalName( [in] int index,
1877 [in] BSTR localName);
1879 [id(DISPID_MX_ATTRIBUTES_SETQNAME)]
1884 [id(DISPID_MX_ATTRIBUTES_SETTYPE)]
1885 HRESULT setType( [in] int index, [in] BSTR type);
1887 [id(DISPID_MX_ATTRIBUTES_SETURI)]
1888 HRESULT setURI( [in] int index, [in] BSTR uri);
1890 [id(DISPID_MX_ATTRIBUTES_SETVALUE)]
1891 HRESULT setValue([in] int index, [in] BSTR value);
1897 uuid(808f4e35-8d5a-4fbe-8466-33a41279ed30)
1899 interface IMXReaderControl : IDispatch
1901 [id(DISPID_MX_READER_CONTROL_ABORT)]
1904 [id(DISPID_MX_READER_CONTROL_RESUME)]
1907 [id(DISPID_MX_READER_CONTROL_SUSPEND)]
1914 uuid(4d7ff4ba-1565-4ea8-94e1-6e724a46f98d)
1916 interface IMXWriter : IDispatch
1918 [propput, id(DISPID_MX_WRITER_OUTPUT)]
1919 HRESULT output ( [in] VARIANT Destination);
1920 [propget, id(DISPID_MX_WRITER_OUTPUT)]
1921 HRESULT output ( [out, retval] VARIANT * Destination);
1923 [propput, id(DISPID_MX_WRITER_ENCODING)]
1924 HRESULT encoding ([in] BSTR encoding);
1925 [propget, id(DISPID_MX_WRITER_ENCODING)]
1926 HRESULT encoding ([out, retval] BSTR * encoding);
1928 [propput, id(DISPID_MX_WRITER_BYTEORDERMARK)]
1929 HRESULT byteOrderMark ([in] VARIANT_BOOL writeByteOrderMark);
1930 [propget, id(DISPID_MX_WRITER_BYTEORDERMARK)]
1931 HRESULT byteOrderMark ([out, retval] VARIANT_BOOL * writeByteOrderMark);
1933 [propput, id(DISPID_MX_WRITER_INDENT)]
1934 HRESULT indent ([in] VARIANT_BOOL indentMode);
1935 [propget, id(DISPID_MX_WRITER_INDENT)]
1936 HRESULT indent ([out, retval] VARIANT_BOOL * indentMode);
1938 [propput, id(DISPID_MX_WRITER_STANDALONE)]
1939 HRESULT standalone ([in] VARIANT_BOOL value);
1940 [propget, id(DISPID_MX_WRITER_STANDALONE)]
1941 HRESULT standalone ([out, retval] VARIANT_BOOL * value);
1943 [propput, id(DISPID_MX_WRITER_OMITXMLDECLARATION)]
1944 HRESULT omitXMLDeclaration ([in] VARIANT_BOOL value);
1945 [propget, id(DISPID_MX_WRITER_OMITXMLDECLARATION)]
1946 HRESULT omitXMLDeclaration ([out, retval] VARIANT_BOOL * value);
1948 [propput, id(DISPID_MX_WRITER_VERSION)]
1949 HRESULT version ([in] BSTR version);
1950 [propget, id(DISPID_MX_WRITER_VERSION)]
1951 HRESULT version ([out, retval] BSTR * version);
1953 [propput, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING)]
1954 HRESULT disableOutputEscaping([in] VARIANT_BOOL value);
1955 [propget, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING)]
1956 HRESULT disableOutputEscaping([out, retval] VARIANT_BOOL * value);
1958 [id(DISPID_MX_WRITER_FLUSH)]
1963 uuid(079aa557-4a18-424a-8eee-e39f0a8d41b9)
1965 coclass SAXXMLReader
1967 [default] interface IVBSAXXMLReader;
1968 interface ISAXXMLReader;
1969 interface IMXReaderControl;
1973 uuid(3124c396-fb13-4836-a6ad-1317f1713688)
1975 coclass SAXXMLReader30
1977 [default] interface IVBSAXXMLReader;
1978 interface ISAXXMLReader;
1979 interface IMXReaderControl;
1983 uuid(7c6e29bc-8b8b-4c3d-859e-af6cd158be0f)
1985 coclass SAXXMLReader40
1987 [default] interface IVBSAXXMLReader;
1988 interface ISAXXMLReader;
1992 uuid(fc220ad8-a72a-4ee8-926e-0b7ad152a020)
1996 [default] interface IMXWriter;
1998 interface ISAXContentHandler;
1999 interface ISAXErrorHandler;
2000 interface ISAXDTDHandler;
2001 interface ISAXLexicalHandler;
2002 interface ISAXDeclHandler;
2004 interface IVBSAXContentHandler;
2005 interface IVBSAXDeclHandler;
2006 interface IVBSAXDTDHandler;
2007 interface IVBSAXErrorHandler;
2008 interface IVBSAXLexicalHandler;
2012 uuid(3d813dfe-6c91-4a4e-8f41-04346a841d9c)
2014 coclass MXXMLWriter30
2016 [default] interface IMXWriter;
2018 interface ISAXContentHandler;
2019 interface ISAXDeclHandler;
2020 interface ISAXDTDHandler;
2021 interface ISAXErrorHandler;
2022 interface ISAXLexicalHandler;
2024 interface IVBSAXContentHandler;
2025 interface IVBSAXDeclHandler;
2026 interface IVBSAXDTDHandler;
2027 interface IVBSAXErrorHandler;
2028 interface IVBSAXLexicalHandler;
2032 uuid(4dd441ad-526d-4a77-9f1b-9841ed802fb0)
2034 coclass SAXAttributes
2036 [default] interface IMXAttributes;
2037 interface IVBSAXAttributes;
2038 interface ISAXAttributes;
2042 uuid(3e784a01-f3ae-4dc0-9354-9526b9370eba)
2044 coclass SAXAttributes30
2046 [default] interface IMXAttributes;
2047 interface IVBSAXAttributes;
2048 interface ISAXAttributes;
2052 } /* Library MSXML */