2 * Copyright (C) 2005 Vijay Kiran Kamuju
3 * Copyright (C) 2008 Alistair Leslie-Hughes
4 * Copyright (C) 2010 Nikolay Sivov for CodeWeavers
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include
<msxml2did.h
>
29 uuid(f5078f18
-c551
-11d3
-89b9
-0000f81fe221
),
31 helpstring("Microsoft XML, v2.6")
36 importlib
("stdole2.tlb");
38 interface IXMLDOMImplementation
;
39 interface IXMLDOMNode
;
40 interface IXMLDOMDocumentFragment
;
41 interface IXMLDOMDocument
;
42 interface IXMLDOMSchemaCollection
;
43 interface IXMLDOMDocument2
;
44 interface IXMLDOMNodeList
;
45 interface IXMLDOMNamedNodeMap
;
46 interface IXMLDOMCharacterData
;
47 interface IXMLDOMAttribute
;
48 interface IXMLDOMElement
;
49 interface IXMLDOMText
;
50 interface IXMLDOMComment
;
51 interface IXMLDOMProcessingInstruction
;
52 interface IXMLDOMCDATASection
;
53 interface IXMLDOMDocumentType
;
54 interface IXMLDOMNotation
;
55 interface IXMLDOMEntity
;
56 interface IXMLDOMEntityReference
;
57 interface IXMLDOMParseError
;
58 interface IXTLRuntime
;
59 interface IXSLTemplate
;
60 interface IXSLProcessor
;
62 typedef enum tagDOMNodeType
68 NODE_CDATA_SECTION
= 4,
69 NODE_ENTITY_REFERENCE
= 5,
71 NODE_PROCESSING_INSTRUCTION
= 7,
74 NODE_DOCUMENT_TYPE
= 10,
75 NODE_DOCUMENT_FRAGMENT
= 11,
84 uuid (2933BF80
-7B36
-11d2
-B20E
-00C04F983E60
)
86 interface IXMLDOMNode
: IDispatch
88 [propget, id(DISPID_DOM_NODE_NODENAME
)]
89 HRESULT nodeName
([retval, out] BSTR *p
);
91 [propget, id(DISPID_DOM_NODE_NODEVALUE
)]
92 HRESULT nodeValue
([retval, out] VARIANT *var1
);
94 [propput, id(DISPID_DOM_NODE_NODEVALUE
)]
95 HRESULT nodeValue
([in] VARIANT var1
);
97 [propget, id(DISPID_DOM_NODE_NODETYPE
)]
98 HRESULT nodeType
([retval, out] DOMNodeType
*domNodeType
);
100 [propget, id(DISPID_DOM_NODE_PARENTNODE
)]
101 HRESULT parentNode
([retval, out] IXMLDOMNode
**parent
);
103 [propget, id(DISPID_DOM_NODE_CHILDNODES
)]
104 HRESULT childNodes
([retval, out] IXMLDOMNodeList
**outList
);
106 [propget, id(DISPID_DOM_NODE_FIRSTCHILD
)]
107 HRESULT firstChild
([retval, out] IXMLDOMNode
**domNode
);
109 [propget, id(DISPID_DOM_NODE_LASTCHILD
)]
110 HRESULT lastChild
([retval, out] IXMLDOMNode
**domNode
);
112 [propget, id(DISPID_DOM_NODE_PREVIOUSSIBLING
)]
113 HRESULT previousSibling
([retval, out] IXMLDOMNode
**domNode
);
115 [propget, id(DISPID_DOM_NODE_NEXTSIBLING
)]
116 HRESULT nextSibling
([retval, out] IXMLDOMNode
**domNode
);
118 [propget, id(DISPID_DOM_NODE_ATTRIBUTES
)]
119 HRESULT attributes
([retval, out] IXMLDOMNamedNodeMap
**attributeMap
);
121 [id(DISPID_DOM_NODE_INSERTBEFORE
)]
122 HRESULT insertBefore
(
123 [in] IXMLDOMNode
*newNode
,
125 [retval, out] IXMLDOMNode
**outOldNode
);
127 [id(DISPID_DOM_NODE_REPLACECHILD
)]
128 HRESULT replaceChild
(
129 [in] IXMLDOMNode
*newNode
,
130 [in] IXMLDOMNode
*oldNode
,
131 [retval, out] IXMLDOMNode
**outOldNode
);
133 [id(DISPID_DOM_NODE_REMOVECHILD
)]
135 [in] IXMLDOMNode
*domNode
,
136 [retval, out] IXMLDOMNode
**oldNode
);
138 [id(DISPID_DOM_NODE_APPENDCHILD
)]
140 [in] IXMLDOMNode
*newNode
,
141 [retval, out] IXMLDOMNode
**outNewNode
);
143 [id(DISPID_DOM_NODE_HASCHILDNODES
)]
144 HRESULT hasChildNodes
(
145 [retval, out] VARIANT_BOOL *pbool
);
147 [propget, id(DISPID_DOM_NODE_OWNERDOC
)]
148 HRESULT ownerDocument
([retval, out] IXMLDOMDocument
**domDocument
);
150 [id(DISPID_DOM_NODE_CLONENODE
)]
152 [in] VARIANT_BOOL pbool
,
153 [retval, out] IXMLDOMNode
**outNode
);
155 [propget, id(DISPID_XMLDOM_NODE_STRINGTYPE
)]
156 HRESULT nodeTypeString
([retval, out] BSTR *p
);
158 [propget, id(DISPID_XMLDOM_NODE_TEXT
)]
159 HRESULT text
([retval, out] BSTR *p
);
161 [propput, id(DISPID_XMLDOM_NODE_TEXT
)]
162 HRESULT text
([in] BSTR p
);
164 [propget, id(DISPID_XMLDOM_NODE_SPECIFIED
)]
165 HRESULT specified
([retval, out] VARIANT_BOOL *pbool
);
167 [propget, id(DISPID_XMLDOM_NODE_DEFINITION
)]
168 HRESULT definition
([retval,out] IXMLDOMNode
**domNode
);
170 [propget, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE
)]
171 HRESULT nodeTypedValue
([retval, out] VARIANT *var1
);
173 [propput, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE
)]
174 HRESULT nodeTypedValue
([in] VARIANT var1
);
176 [propget, id(DISPID_XMLDOM_NODE_DATATYPE
)]
177 HRESULT dataType
([retval, out] VARIANT *var1
);
179 [propput, id(DISPID_XMLDOM_NODE_DATATYPE
)]
180 HRESULT dataType
([in] BSTR p
);
182 [propget, id(DISPID_XMLDOM_NODE_XML
)]
183 HRESULT xml
([retval, out] BSTR *p
);
185 [id(DISPID_XMLDOM_NODE_TRANSFORMNODE
)]
186 HRESULT transformNode
(
187 [in] IXMLDOMNode
*domNode
,
188 [retval, out] BSTR *p
);
190 [id(DISPID_XMLDOM_NODE_SELECTNODES
)]
193 [retval, out] IXMLDOMNodeList
**outList
);
195 [id(DISPID_XMLDOM_NODE_SELECTSINGLENODE
)]
196 HRESULT selectSingleNode
(
198 [retval, out] IXMLDOMNode
**outNode
);
200 [propget,id(DISPID_XMLDOM_NODE_PARSED
)]
201 HRESULT parsed
([retval, out] VARIANT_BOOL *pbool
);
203 [propget, id(DISPID_XMLDOM_NODE_NAMESPACE
)]
204 HRESULT namespaceURI
([retval, out] BSTR *p
);
206 [propget, id(DISPID_XMLDOM_NODE_PREFIX
)]
207 HRESULT prefix
([retval, out] BSTR *p
);
209 [propget, id(DISPID_XMLDOM_NODE_BASENAME
)]
210 HRESULT baseName
([retval, out] BSTR *p
);
212 [id(DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT
)]
213 HRESULT transformNodeToObject
(
214 [in] IXMLDOMNode
*domNode
,
223 uuid (2933BF81
-7B36
-11d2
-B20E
-00C04F983E60
)
225 interface IXMLDOMDocument
: IXMLDOMNode
227 [propget, id(DISPID_DOM_DOCUMENT_DOCTYPE
)]
228 HRESULT doctype
([retval, out] IXMLDOMDocumentType
**docType
);
230 [propget, id(DISPID_DOM_DOCUMENT_IMPLEMENTATION
)]
231 HRESULT implementation
([retval, out] IXMLDOMImplementation
**impl
);
233 [propget, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT
)]
234 HRESULT documentElement
([retval, out] IXMLDOMElement
**domElement
);
236 [propputref, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT
)]
237 HRESULT documentElement
([in] IXMLDOMElement
*domElement
);
239 [id(DISPID_DOM_DOCUMENT_CREATEELEMENT
)]
240 HRESULT createElement
(
242 [retval, out] IXMLDOMElement
**domElement
);
244 [id(DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT
)]
245 HRESULT createDocumentFragment
(
246 [retval, out] IXMLDOMDocumentFragment
**docFrag
);
248 [id(DISPID_DOM_DOCUMENT_CREATETEXTNODE
)]
249 HRESULT createTextNode
(
251 [retval, out] IXMLDOMText
**text
);
253 [id(DISPID_DOM_DOCUMENT_CREATECOMMENT
)]
254 HRESULT createComment
(
256 [retval, out] IXMLDOMComment
**comment
);
258 [id(DISPID_DOM_DOCUMENT_CREATECDATASECTION
)]
259 HRESULT createCDATASection
(
261 [retval, out] IXMLDOMCDATASection
**cdata
);
263 [id(DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION
)]
264 HRESULT createProcessingInstruction
(
267 [retval, out] IXMLDOMProcessingInstruction
**pi
);
269 [id(DISPID_DOM_DOCUMENT_CREATEATTRIBUTE
)]
270 HRESULT createAttribute
(
272 [retval, out] IXMLDOMAttribute
**attribute
);
274 [id(DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE
)]
275 HRESULT createEntityReference
(
277 [retval, out] IXMLDOMEntityReference
**entityRef
);
279 [id(DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME
)]
280 HRESULT getElementsByTagName
(
282 [retval, out] IXMLDOMNodeList
**resultList
);
284 [id(DISPID_XMLDOM_DOCUMENT_CREATENODE
)]
289 [retval, out] IXMLDOMNode
**node
);
291 [id(DISPID_XMLDOM_DOCUMENT_NODEFROMID
)]
294 [retval, out] IXMLDOMNode
**node
);
296 [id(DISPID_XMLDOM_DOCUMENT_LOAD
)]
299 [retval, out] VARIANT_BOOL *pbool
);
301 [propget, id(DISPID_READYSTATE
)]
302 HRESULT readyState
([retval, out] LONG *value
);
304 [propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR
)]
305 HRESULT parseError
([retval, out] IXMLDOMParseError
**err
);
307 [propget, id(DISPID_XMLDOM_DOCUMENT_URL
)]
308 HRESULT url
([retval, out] BSTR *p
);
310 [propget, id(DISPID_XMLDOM_DOCUMENT_ASYNC
)]
311 HRESULT async
([retval, out] VARIANT_BOOL *pbool
);
313 [propput, id(DISPID_XMLDOM_DOCUMENT_ASYNC
)]
314 HRESULT async
([in] VARIANT_BOOL pbool
);
316 [id(DISPID_XMLDOM_DOCUMENT_ABORT
)]
319 [id(DISPID_XMLDOM_DOCUMENT_LOADXML
)]
322 [out, retval] VARIANT_BOOL *pbool
);
324 [id(DISPID_XMLDOM_DOCUMENT_SAVE
)]
328 [propget, id(DISPID_XMLDOM_DOCUMENT_VALIDATE
)]
329 HRESULT validateOnParse
([retval, out] VARIANT_BOOL *pbool
);
331 [propput, id(DISPID_XMLDOM_DOCUMENT_VALIDATE
)]
332 HRESULT validateOnParse
([in] VARIANT_BOOL pbool
);
334 [propget, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE
)]
335 HRESULT resolveExternals
([retval,out] VARIANT_BOOL *pbool
);
337 [propput, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE
)]
338 HRESULT resolveExternals
([in] VARIANT_BOOL pbool
);
340 [propget, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE
)]
341 HRESULT preserveWhiteSpace
([retval,out] VARIANT_BOOL *pbool
);
343 [propput, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE
)]
344 HRESULT preserveWhiteSpace
([in] VARIANT_BOOL pbool
);
346 [propput, id(DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE
)]
347 HRESULT onreadystatechange
([in] VARIANT var1
);
349 [propput, id(DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE
)]
350 HRESULT ondataavailable
([in] VARIANT var1
);
352 [propput, id(DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE
)]
353 HRESULT ontransformnode
([in] VARIANT var1
);
361 uuid (373984c8
-b845
-449b
-91e7
-45ac83036ade
)
363 interface IXMLDOMSchemaCollection
: IDispatch
365 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADD
)]
370 [id(DISPID_XMLDOM_SCHEMACOLLECTION_GET
)]
373 [retval, out] IXMLDOMNode
**node
);
375 [id(DISPID_XMLDOM_SCHEMACOLLECTION_REMOVE
)]
379 [propget, id(DISPID_XMLDOM_SCHEMACOLLECTION_LENGTH
)]
381 [retval, out] LONG *length
);
383 [propget, id(DISPID_VALUE
)]
384 HRESULT namespaceURI
([in] LONG index
, [out, retval] BSTR *len
);
386 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADDCOLLECTION
)]
387 HRESULT addCollection
(
388 [in] IXMLDOMSchemaCollection
*otherCollection
);
390 [propget, id(DISPID_NEWENUM
)]
391 HRESULT _newEnum
([retval, out] IUnknown
**ppUnk
);
399 uuid (2933BF95
-7B36
-11d2
-B20E
-00C04F983E60
)
401 interface IXMLDOMDocument2
: IXMLDOMDocument
403 [propget, id(DISPID_XMLDOM_DOCUMENT2_NAMESPACES
)]
404 HRESULT namespaces
([retval, out] IXMLDOMSchemaCollection
**schemaCollection
);
406 [propget, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS
)]
407 HRESULT schemas
([retval, out] VARIANT *var1
);
409 [propputref, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS
)]
410 HRESULT schemas
([in] VARIANT var1
);
412 [id(DISPID_XMLDOM_DOCUMENT2_VALIDATE
)]
414 [retval, out] IXMLDOMParseError
**err
);
416 [id(DISPID_XMLDOM_DOCUMENT2_SETPROPERTY
)]
421 [id(DISPID_XMLDOM_DOCUMENT2_GETPROPERTY
)]
424 [retval, out] VARIANT *var
);
432 uuid (2933BF82
-7B36
-11d2
-B20E
-00C04F983E60
)
434 interface IXMLDOMNodeList
: IDispatch
436 [propget, id(DISPID_VALUE
)]
437 HRESULT item
([in] LONG lIndex
, [retval, out] IXMLDOMNode
**outNode
);
439 [propget, id(DISPID_DOM_NODELIST_LENGTH
)]
440 HRESULT length
([retval, out] LONG *lLength
);
442 [id(DISPID_XMLDOM_NODELIST_NEXTNODE
)]
444 [retval, out] IXMLDOMNode
**outNode
);
446 [id(DISPID_XMLDOM_NODELIST_RESET
)]
449 [propget, id(DISPID_NEWENUM
)]
450 HRESULT _newEnum
([retval, out] IUnknown
**ppUnk
);
458 uuid (AA634FC7
-5888-44a7
-A257
-3A47150D3A0E
)
460 interface IXMLDOMSelection
: IXMLDOMNodeList
462 [propget, id(DISPID_XMLDOM_SELECTION_EXPR
)]
463 HRESULT expr
([retval, out] BSTR *p
);
465 [propput, id(DISPID_XMLDOM_SELECTION_EXPR
)]
466 HRESULT expr
([in] BSTR p
);
468 [propget, id(DISPID_XMLDOM_SELECTION_CONTEXT
)]
469 HRESULT context
([retval, out] IXMLDOMNode
**ppNode
);
471 [propputref, id(DISPID_XMLDOM_SELECTION_CONTEXT
)]
472 HRESULT context
([in] IXMLDOMNode
* pNode
);
474 [id(DISPID_XMLDOM_SELECTION_PEEKNODE
)]
476 [retval, out] IXMLDOMNode
**ppNode
);
478 [id(DISPID_XMLDOM_SELECTION_MATCHES
)]
480 [in] IXMLDOMNode
*pNode
,
481 [retval, out] IXMLDOMNode
**ppNode
);
483 [id(DISPID_XMLDOM_SELECTION_REMOVENEXT
)]
485 [retval, out] IXMLDOMNode
**ppNode
);
487 [id(DISPID_XMLDOM_SELECTION_REMOVEALL
)]
490 [id(DISPID_XMLDOM_SELECTION_CLONE
)]
492 [retval, out] IXMLDOMSelection
**ppNode
);
494 [id(DISPID_XMLDOM_SELECTION_GETPROPERTY
)]
497 [retval, out] VARIANT * var
);
499 [id(DISPID_XMLDOM_SELECTION_SETPROPERTY
)]
510 uuid (2933BF83
-7B36
-11d2
-B20E
-00C04F983E60
)
512 interface IXMLDOMNamedNodeMap
: IDispatch
514 [id(DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM
)]
515 HRESULT getNamedItem
(
517 [retval, out] IXMLDOMNode
**outNode
);
519 [id(DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM
)]
520 HRESULT setNamedItem
(
521 [in] IXMLDOMNode
*newNode
,
522 [retval, out] IXMLDOMNode
**outNode
);
524 [id(DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM
)]
525 HRESULT removeNamedItem
(
527 [retval, out] IXMLDOMNode
**outNode
);
529 [propget, id(DISPID_VALUE
)]
530 HRESULT item
([in] LONG lIndex
, [retval, out] IXMLDOMNode
**outNode
);
532 [propget, id(DISPID_DOM_NODELIST_LENGTH
)]
533 HRESULT length
([retval, out] LONG *lLength
);
535 [id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM
)]
536 HRESULT getQualifiedItem
(
539 [retval, out] IXMLDOMNode
**outNode
);
541 [id(DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM
)]
542 HRESULT removeQualifiedItem
(
545 [retval, out] IXMLDOMNode
**outNode
);
547 [id(DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE
)]
549 [retval, out] IXMLDOMNode
**outNode
);
551 [id(DISPID_XMLDOM_NAMEDNODEMAP_RESET
)]
554 [propget, id(DISPID_NEWENUM
)]
555 HRESULT _newEnum
([retval, out] IUnknown
**ppUnk
);
563 uuid (3efaa413
-272f
-11d2
-836f
-0000f87a7782
)
565 interface IXMLDOMDocumentFragment
: IXMLDOMNode
574 uuid (2933BF84
-7B36
-11d2
-B20E
-00C04F983E60
)
576 interface IXMLDOMCharacterData
: IXMLDOMNode
578 [propget, id(DISPID_DOM_DATA_DATA
)]
579 HRESULT data
([retval, out] BSTR *p
);
581 [propput, id(DISPID_DOM_DATA_DATA
)]
582 HRESULT data
([in] BSTR data
);
584 [propget, id(DISPID_DOM_DATA_LENGTH
)]
585 HRESULT length
([retval, out] LONG *len
);
587 [id(DISPID_DOM_DATA_SUBSTRING
)]
588 HRESULT substringData
(
591 [retval, out] BSTR *p
);
593 [id(DISPID_DOM_DATA_APPEND
)]
597 [id(DISPID_DOM_DATA_INSERT
)]
602 [id(DISPID_DOM_DATA_DELETE
)]
607 [id(DISPID_DOM_DATA_REPLACE
)]
619 uuid (2933BF85
-7B36
-11d2
-B20E
-00C04F983E60
)
621 interface IXMLDOMAttribute
: IXMLDOMNode
623 [propget, id(DISPID_DOM_ATTRIBUTE_GETNAME
)]
624 HRESULT name
([retval, out] BSTR *p
);
626 [propget, id(DISPID_DOM_ATTRIBUTE_VALUE
)]
627 HRESULT value
([retval, out] VARIANT *var1
);
629 [propput, id(DISPID_DOM_ATTRIBUTE_VALUE
)]
630 HRESULT value
([in] VARIANT var1
);
638 uuid (2933BF86
-7B36
-11d2
-B20E
-00C04F983E60
)
640 interface IXMLDOMElement
: IXMLDOMNode
642 [propget, id(DISPID_DOM_ELEMENT_GETTAGNAME
)]
643 HRESULT tagName
([retval, out] BSTR *p
);
645 [id(DISPID_DOM_ELEMENT_GETATTRIBUTE
)]
646 HRESULT getAttribute
(
648 [retval, out] VARIANT *var
);
650 [id(DISPID_DOM_ELEMENT_SETATTRIBUTE
)]
651 HRESULT setAttribute
(
655 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTE
)]
656 HRESULT removeAttribute
(
659 [id(DISPID_DOM_ELEMENT_GETATTRIBUTENODE
)]
660 HRESULT getAttributeNode
(
662 [retval, out] IXMLDOMAttribute
**attributeNode
);
664 [id(DISPID_DOM_ELEMENT_SETATTRIBUTENODE
)]
665 HRESULT setAttributeNode
(
666 [in] IXMLDOMAttribute
*domAttribute
,
667 [retval, out] IXMLDOMAttribute
**attributeNode
);
669 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE
)]
670 HRESULT removeAttributeNode
(
671 [in] IXMLDOMAttribute
*domAttribute
,
672 [retval, out] IXMLDOMAttribute
**attributeNode
);
674 [id(DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME
)]
675 HRESULT getElementsByTagName
(
677 [retval, out] IXMLDOMNodeList
**resultList
);
679 [id(DISPID_DOM_ELEMENT_NORMALIZE
)]
688 uuid (2933BF87
-7B36
-11d2
-B20E
-00C04F983E60
)
690 interface IXMLDOMText
: IXMLDOMCharacterData
692 [id(DISPID_DOM_TEXT_SPLITTEXT
)]
695 [retval, out] IXMLDOMText
**txtNode
);
703 uuid (2933BF88
-7B36
-11d2
-B20E
-00C04F983E60
)
705 interface IXMLDOMComment
: IXMLDOMCharacterData
714 uuid (2933BF89
-7B36
-11d2
-B20E
-00C04F983E60
)
716 interface IXMLDOMProcessingInstruction
: IXMLDOMNode
718 [propget, id(DISPID_DOM_PI_TARGET
)]
719 HRESULT target
([retval, out] BSTR *p
);
721 [propget, id(DISPID_DOM_PI_DATA
)]
722 HRESULT data
([retval, out] BSTR *p
);
724 [propput, id(DISPID_DOM_PI_DATA
)]
725 HRESULT data
([in] BSTR p
);
733 uuid (2933BF8A
-7B36
-11d2
-B20E
-00C04F983E60
)
735 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
);
763 uuid (2933BF8C
-7B36
-11d2
-B20E
-00C04F983E60
)
765 interface IXMLDOMNotation
: IXMLDOMNode
767 [propget, id(DISPID_DOM_NOTATION_PUBLICID
)]
768 HRESULT publicId
([retval, out] VARIANT *id);
770 [propget, id(DISPID_DOM_NOTATION_SYSTEMID
)]
771 HRESULT systemId
([retval, out] VARIANT *id);
779 uuid (2933BF8D
-7B36
-11d2
-B20E
-00C04F983E60
)
781 interface IXMLDOMEntity
: IXMLDOMNode
783 [propget, id(DISPID_DOM_ENTITY_PUBLICID
)]
784 HRESULT publicId
([retval, out] VARIANT *id1
);
786 [propget, id(DISPID_DOM_ENTITY_SYSTEMID
)]
787 HRESULT systemId
([retval, out] VARIANT *id1
);
789 [propget, id(DISPID_DOM_ENTITY_NOTATIONNAME
)]
790 HRESULT notationName
([retval, out] BSTR *p
);
798 uuid (2933BF8E
-7B36
-11d2
-B20E
-00C04F983E60
)
800 interface IXMLDOMEntityReference
: IXMLDOMNode
809 uuid (2933BF8F
-7B36
-11d2
-B20E
-00C04F983E60
)
811 interface IXMLDOMImplementation
: IDispatch
813 [id(DISPID_DOM_IMPLEMENTATION_HASFEATURE
)]
817 [retval, out] VARIANT_BOOL *pbool
);
825 uuid (3efaa425
-272f
-11d2
-836f
-0000f87a7782
)
827 interface IXTLRuntime
: IXMLDOMNode
829 [id(DISPID_XTLRUNTIME_UNIQUEID
)]
831 [in]IXMLDOMNode
*pNode
,
832 [retval, out]LONG *pID
);
834 [id(DISPID_XTLRUNTIME_DEPTH
)]
836 [in] IXMLDOMNode
*pNode
,
837 [retval, out]LONG * pDepth
);
839 [id(DISPID_XTLRUNTIME_CHILDNUMBER
)]
841 [in]IXMLDOMNode
*pNode
,
842 [retval, out] LONG *pNumber
);
844 [id(DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER
)]
845 HRESULT ancestorChildNumber
(
847 [in]IXMLDOMNode
*pNode
,
848 [retval, out]LONG *pNumber
);
850 [id(DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER
)]
851 HRESULT absoluteChildNumber
(
852 [in]IXMLDOMNode
*pNode
,
853 [retval, out]LONG *pNumber
);
855 [id(DISPID_XTLRUNTIME_FORMATINDEX
)]
859 [retval, out]BSTR *pbstr
);
861 [id(DISPID_XTLRUNTIME_FORMATNUMBER
)]
862 HRESULT formatNumber
(
863 [in] double dblNumber
,
865 [retval, out]BSTR *pbstr
);
867 [id(DISPID_XTLRUNTIME_FORMATDATE
)]
871 [optional, in] VARIANT var2
,
872 [retval, out]BSTR *pbstr
);
874 [id(DISPID_XTLRUNTIME_FORMATTIME
)]
878 [optional, in] VARIANT var2
,
879 [retval, out]BSTR *pbstr
);
884 uuid(3efaa427
-272f
-11d2
-836f
-0000f87a7782
)
886 dispinterface XMLDOMDocumentEvents
890 [id (DISPID_XMLDOMEVENT_ONDATAAVAILABLE
)]
891 HRESULT ondataavailable
();
893 [id (DISPID_XMLDOMEVENT_ONREADYSTATECHANGE
)]
894 HRESULT onreadystatechange
();
902 uuid (2933BF92
-7B36
-11d2
-B20E
-00C04F983E60
)
904 interface IXSLProcessor
: IDispatch
906 [propput, id(DISPID_XMLDOM_PROCESSOR_INPUT
)]
907 HRESULT input
([in] VARIANT var
);
909 [propget, id(DISPID_XMLDOM_PROCESSOR_INPUT
)]
910 HRESULT input
([retval, out] VARIANT *var
);
912 [propget, id(DISPID_XMLDOM_PROCESSOR_XSLTEMPLATE
)]
913 HRESULT ownerTemplate
([retval, out] IXSLTemplate
**ppTemplate
);
915 [id(DISPID_XMLDOM_PROCESSOR_SETSTARTMODE
)]
916 HRESULT setStartMode
(
918 [in, defaultvalue("")] BSTR uri
);
920 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODE
)]
921 HRESULT startMode
([retval, out] BSTR *p
);
923 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODEURI
)]
924 HRESULT startModeURI
([retval, out] BSTR *uri
);
926 [propput, id(DISPID_XMLDOM_PROCESSOR_OUTPUT
)]
927 HRESULT output
([in] VARIANT var
);
929 [propget, id(DISPID_XMLDOM_PROCESSOR_OUTPUT
)]
930 HRESULT output
([retval, out] VARIANT *var
);
932 [id(DISPID_XMLDOM_PROCESSOR_TRANSFORM
)]
934 [retval, out] VARIANT_BOOL *pbool
);
936 [id(DISPID_XMLDOM_PROCESSOR_RESET
)]
939 [propget, id(DISPID_XMLDOM_PROCESSOR_READYSTATE
)]
940 HRESULT readyState
([retval, out] LONG *pstate
);
942 [id(DISPID_XMLDOM_PROCESSOR_ADDPARAMETER
)]
943 HRESULT addParameter
(
946 [in, defaultvalue("")] BSTR uri
);
948 [id(DISPID_XMLDOM_PROCESSOR_ADDOBJECT
)]
953 [propget, id(DISPID_XMLDOM_PROCESSOR_STYLESHEET
)]
954 HRESULT stylesheet
([retval, out] IXMLDOMNode
**node
);
962 uuid (2933BF93
-7B36
-11d2
-B20E
-00C04F983E60
)
964 interface IXSLTemplate
: IDispatch
966 [propputref, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET
)]
967 HRESULT stylesheet
([in] IXMLDOMNode
*node
);
969 [propget, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET
)]
970 HRESULT stylesheet
([retval, out] IXMLDOMNode
**node
);
972 [id(DISPID_XMLDOM_TEMPLATE_CREATEPROCESSOR
)]
973 HRESULT createProcessor
(
974 [retval, out] IXSLProcessor
**ppProcessor
);
979 uuid(ED8C108D
-4349-11D2
-91A4
-00C04F7969E8
),
983 pointer_default(unique)
985 interface IXMLHTTPRequest
: IDispatch
988 HRESULT open
([in] BSTR bstrMethod
, [in] BSTR bstrUrl
, [in, optional] VARIANT varAsync
,
989 [in,optional] VARIANT username
, [in,optional] VARIANT password
);
992 HRESULT setRequestHeader
([in] BSTR bstrHeader
, [in] BSTR bstrValue
);
995 HRESULT getResponseHeader
([in] BSTR bstrHeader
, [out, retval] BSTR * value
);
998 HRESULT getAllResponseHeaders
([out, retval] BSTR * pbstrHeaders
);
1001 HRESULT send
([in, optional] VARIANT body
);
1007 HRESULT status
([out, retval] LONG *pStatus
);
1010 HRESULT statusText
([out, retval] BSTR *pStatus
);
1013 HRESULT responseXML
([out, retval] IDispatch
**pBody
);
1016 HRESULT responseText
([out, retval] BSTR *pBody
);
1019 HRESULT responseBody
([out, retval] VARIANT *pBody
);
1022 HRESULT responseStream
([out, retval] VARIANT *pBody
);
1025 HRESULT readyState
([out, retval] LONG *pState
);
1028 HRESULT onreadystatechange
([in] IDispatch
*pReadyStateSink
);
1036 uuid (3efaa426
-272f
-11d2
-836f
-0000f87a7782
)
1038 interface IXMLDOMParseError
: IDispatch
1040 [propget, id(DISPID_VALUE
)]
1041 HRESULT errorCode
([retval, out] LONG *errCode
);
1043 [propget, id(DISPID_DOM_ERROR_URL
)]
1044 HRESULT url
([retval, out] BSTR *p
);
1046 [propget, id(DISPID_DOM_ERROR_REASON
)]
1047 HRESULT reason
([retval, out] BSTR *p
);
1049 [propget, id(DISPID_DOM_ERROR_SRCTEXT
)]
1050 HRESULT srcText
([retval, out] BSTR *p
);
1052 [propget, id(DISPID_DOM_ERROR_LINE
)]
1053 HRESULT line
([retval, out] LONG *lineNo
);
1055 [propget, id(DISPID_DOM_ERROR_LINEPOS
)]
1056 HRESULT linepos
([retval, out] LONG * linePos
);
1058 [propget, id(DISPID_DOM_ERROR_FILEPOS
)]
1059 HRESULT filepos
([retval, out] LONG * filePos
);
1063 uuid(F6D90F11
-9C73
-11D3
-B32E
-00C04F990BB4
)
1067 [default] interface IXMLDOMDocument2
;
1068 [default, source] dispinterface XMLDOMDocumentEvents
;
1072 helpstring("XML DOM Document 2.6"),
1073 progid
("Msxml2.DOMDocument.2.6"),
1074 vi_progid
("Msxml2.DOMDocument"),
1076 uuid(f5078f1b
-c551
-11d3
-89b9
-0000f81fe221
)
1078 coclass DOMDocument26
1080 [default] interface IXMLDOMDocument2
;
1081 [default, source] dispinterface XMLDOMDocumentEvents
;
1085 uuid(F6D90F12
-9C73
-11D3
-B32E
-00C04F990BB4
)
1087 coclass FreeThreadedDOMDocument
1089 [default] interface IXMLDOMDocument2
;
1090 [default, source] dispinterface XMLDOMDocumentEvents
;
1094 helpstring("Free Threaded XML DOM Document 2.6"),
1095 progid
("Msxml2.FreeThreadedDOMDocument.2.6"),
1096 vi_progid
("Msxml2.FreeThreadedDOMDocument"),
1098 uuid(f5078f1c
-c551
-11d3
-89b9
-0000f81fe221
)
1100 coclass FreeThreadedDOMDocument26
1102 [default] interface IXMLDOMDocument2
;
1103 [default, source] dispinterface XMLDOMDocumentEvents
;
1107 uuid(f6d90f16
-9c73
-11d3
-b32e
-00c04f990bb4
)
1111 [default] interface IXMLHTTPRequest
;
1115 helpstring("XML HTTP 2.6"),
1116 progid
("Msxml2.XMLHTTP.2.6"),
1117 vi_progid
("Msxml2.XMLHTTP"),
1118 threading
(apartment
),
1119 uuid(f5078f1e
-c551
-11d3
-89b9
-0000f81fe221
)
1123 [default] interface IXMLHTTPRequest
;
1127 uuid(373984c9
-b845
-449b
-91e7
-45ac83036ade
)
1129 coclass XMLSchemaCache
1131 [default] interface IXMLDOMSchemaCollection
;
1135 helpstring("XML Schema Cache 2.6"),
1136 progid
("Msxml2.XMLSchemaCache.2.6"),
1137 vi_progid
("Msxml2.XMLSchemaCache"),
1139 uuid(f5078f1d
-c551
-11d3
-89b9
-0000f81fe221
)
1141 coclass XMLSchemaCache26
1143 [default] interface IXMLDOMSchemaCollection
;
1147 uuid(2933BF94
-7B36
-11d2
-B20E
-00C04F983E60
)
1151 [default] interface IXSLTemplate
;
1155 helpstring("XSL Template 2.6"),
1156 progid
("Msxml2.XSLTemplate.2.6"),
1157 vi_progid
("Msxml2.XSLTemplate"),
1159 uuid(f5078f21
-c551
-11d3
-89b9
-0000f81fe221
)
1161 coclass XSLTemplate26
1163 [default] interface IXSLTemplate
;
1166 } /* Library MSXML */