2 * Copyright (C) 2005 Vijay Kiran Kamuju
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #include
<msxml2did.h
>
27 uuid(f5078f18
-c551
-11d3
-89b9
-0000f81fe221
),
29 helpstring("Microsoft XML, v3.0")
34 importlib
("stdole2.tlb");
36 interface IXMLDOMImplementation
;
37 interface IXMLDOMNode
;
38 interface IXMLDOMDocumentFragment
;
39 interface IXMLDOMDocument
;
40 interface IXMLDOMSchemaCollection
;
41 interface IXMLDOMDocument2
;
42 interface IXMLDOMNodeList
;
43 interface IXMLDOMNamedNodeMap
;
44 interface IXMLDOMCharacterData
;
45 interface IXMLDOMAttribute
;
46 interface IXMLDOMElement
;
47 interface IXMLDOMText
;
48 interface IXMLDOMComment
;
49 interface IXMLDOMProcessingInstruction
;
50 interface IXMLDOMCDATASection
;
51 interface IXMLDOMDocumentType
;
52 interface IXMLDOMNotation
;
53 interface IXMLDOMEntity
;
54 interface IXMLDOMEntityReference
;
55 interface IXMLDOMParseError
;
56 interface IXTLRuntime
;
57 interface IXSLTemplate
;
58 interface IXSLProcessor
;
60 cpp_quote
("#define DOMDocument DOMDocument2")
61 cpp_quote
("#define CLSID_DOMDocument CLSID_DOMDocument2")
63 cpp_quote
("#ifndef __WIDL_XMLDOM_H")
64 typedef enum tagDOMNodeType
70 NODE_CDATA_SECTION
= 4,
71 NODE_ENTITY_REFERENCE
= 5,
73 NODE_PROCESSING_INSTRUCTION
= 7,
76 NODE_DOCUMENT_TYPE
= 10,
77 NODE_DOCUMENT_FRAGMENT
= 11,
80 cpp_quote
("#endif /* __WIDL_XMLDOM_H */")
85 uuid (2933BF80
-7B36
-11d2
-B20E
-00C04F983E60
)
87 interface IXMLDOMNode
: IDispatch
89 [propget, id(DISPID_DOM_NODE_NODENAME
)]
90 HRESULT nodeName
([retval, out] BSTR *p
);
92 [propget, id(DISPID_DOM_NODE_NODEVALUE
)]
93 HRESULT nodeValue
([retval, out] VARIANT *var1
);
95 [propput, id(DISPID_DOM_NODE_NODEVALUE
)]
96 HRESULT nodeValue
([in] VARIANT var1
);
98 [propget, id(DISPID_DOM_NODE_NODETYPE
)]
99 HRESULT nodeType
([retval, out] DOMNodeType
*domNodeType
);
101 [propget, id(DISPID_DOM_NODE_PARENTNODE
)]
102 HRESULT parentNode
([retval, out] IXMLDOMNode
**parent
);
104 [propget, id(DISPID_DOM_NODE_CHILDNODES
)]
105 HRESULT childNodes
([retval, out] IXMLDOMNodeList
**outList
);
107 [propget, id(DISPID_DOM_NODE_FIRSTCHILD
)]
108 HRESULT firstChild
([retval, out] IXMLDOMNode
**domNode
);
110 [propget, id(DISPID_DOM_NODE_LASTCHILD
)]
111 HRESULT lastChild
([retval, out] IXMLDOMNode
**domNode
);
113 [propget, id(DISPID_DOM_NODE_PREVIOUSSIBLING
)]
114 HRESULT previousSibling
([retval, out] IXMLDOMNode
**domNode
);
116 [propget, id(DISPID_DOM_NODE_NEXTSIBLING
)]
117 HRESULT nextSibling
([retval, out] IXMLDOMNode
**domNode
);
119 [propget, id(DISPID_DOM_NODE_ATTRIBUTES
)]
120 HRESULT attributes
([retval, out] IXMLDOMNamedNodeMap
**attributeMap
);
122 [id(DISPID_DOM_NODE_INSERTBEFORE
)]
123 HRESULT insertBefore
(
124 [in] IXMLDOMNode
*newNode
,
126 [retval, out] IXMLDOMNode
**outOldNode
);
128 [id(DISPID_DOM_NODE_REPLACECHILD
)]
129 HRESULT replaceChild
(
130 [in] IXMLDOMNode
*newNode
,
131 [in] IXMLDOMNode
*oldNode
,
132 [retval, out] IXMLDOMNode
**outOldNode
);
134 [id(DISPID_DOM_NODE_REMOVECHILD
)]
136 [in] IXMLDOMNode
*domNode
,
137 [retval, out] IXMLDOMNode
**oldNode
);
139 [id(DISPID_DOM_NODE_APPENDCHILD
)]
141 [in] IXMLDOMNode
*newNode
,
142 [retval, out] IXMLDOMNode
**outNewNode
);
144 [id(DISPID_DOM_NODE_HASCHILDNODES
)]
145 HRESULT hasChildNodes
(
146 [retval, out] VARIANT_BOOL *pbool
);
148 [propget, id(DISPID_DOM_NODE_OWNERDOC
)]
149 HRESULT ownerDocument
([retval, out] IXMLDOMDocument
**domDocument
);
151 [id(DISPID_DOM_NODE_CLONENODE
)]
153 [in] VARIANT_BOOL pbool
,
154 [retval, out] IXMLDOMNode
**outNode
);
156 [propget, id(DISPID_XMLDOM_NODE_STRINGTYPE
)]
157 HRESULT nodeTypeString
([retval, out] BSTR *p
);
159 [propget, id(DISPID_XMLDOM_NODE_TEXT
)]
160 HRESULT text
([retval, out] BSTR *p
);
162 [propput, id(DISPID_XMLDOM_NODE_TEXT
)]
163 HRESULT text
([in] BSTR p
);
165 [propget, id(DISPID_XMLDOM_NODE_SPECIFIED
)]
166 HRESULT specified
([retval, out] VARIANT_BOOL *pbool
);
168 [propget, id(DISPID_XMLDOM_NODE_DEFINITION
)]
169 HRESULT definition
([retval,out] IXMLDOMNode
**domNode
);
171 [propget, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE
)]
172 HRESULT nodeTypedValue
([retval, out] VARIANT *var1
);
174 [propput, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE
)]
175 HRESULT nodeTypedValue
([in] VARIANT var1
);
177 [propget, id(DISPID_XMLDOM_NODE_DATATYPE
)]
178 HRESULT dataType
([retval, out] VARIANT *var1
);
180 [propput, id(DISPID_XMLDOM_NODE_DATATYPE
)]
181 HRESULT dataType
([in] BSTR p
);
183 [propget, id(DISPID_XMLDOM_NODE_XML
)]
184 HRESULT xml
([retval, out] BSTR *p
);
186 [id(DISPID_XMLDOM_NODE_TRANSFORMNODE
)]
187 HRESULT transformNode
(
188 [in] IXMLDOMNode
*domNode
,
189 [retval, out] BSTR *p
);
191 [id(DISPID_XMLDOM_NODE_SELECTNODES
)]
194 [retval, out] IXMLDOMNodeList
**outList
);
196 [id(DISPID_XMLDOM_NODE_SELECTSINGLENODE
)]
197 HRESULT selectSingleNode
(
199 [retval, out] IXMLDOMNode
**outNode
);
201 [propget,id(DISPID_XMLDOM_NODE_PARSED
)]
202 HRESULT parsed
([retval, out] VARIANT_BOOL *pbool
);
204 [propget, id(DISPID_XMLDOM_NODE_NAMESPACE
)]
205 HRESULT namespaceURI
([retval, out] BSTR *p
);
207 [propget, id(DISPID_XMLDOM_NODE_PREFIX
)]
208 HRESULT prefix
([retval, out] BSTR *p
);
210 [propget, id(DISPID_XMLDOM_NODE_BASENAME
)]
211 HRESULT baseName
([retval, out] BSTR *p
);
213 [id(DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT
)]
214 HRESULT transformNodeToObject
(
215 [in] IXMLDOMNode
*domNode
,
222 uuid (2933BF81
-7B36
-11d2
-B20E
-00C04F983E60
)
224 interface IXMLDOMDocument
: IXMLDOMNode
226 [propget, id(DISPID_DOM_DOCUMENT_DOCTYPE
)]
227 HRESULT doctype
([retval, out] IXMLDOMDocumentType
**docType
);
229 [propget, id(DISPID_DOM_DOCUMENT_IMPLEMENTATION
)]
230 HRESULT implementation
([retval, out] IXMLDOMImplementation
**impl
);
232 [propget, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT
)]
233 HRESULT documentElement
([retval, out] IXMLDOMElement
**domElement
);
235 [propputref, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT
)]
236 HRESULT documentElement
([in] IXMLDOMElement
*domElement
);
238 [id(DISPID_DOM_DOCUMENT_CREATEELEMENT
)]
239 HRESULT createElement
(
241 [retval, out] IXMLDOMElement
**domElement
);
243 [id(DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT
)]
244 HRESULT createDocumentFragment
(
245 [retval, out] IXMLDOMDocumentFragment
**docFrag
);
247 [id(DISPID_DOM_DOCUMENT_CREATETEXTNODE
)]
248 HRESULT createTextNode
(
250 [retval, out] IXMLDOMText
**text
);
252 [id(DISPID_DOM_DOCUMENT_CREATECOMMENT
)]
253 HRESULT createComment
(
255 [retval, out] IXMLDOMComment
**comment
);
257 [id(DISPID_DOM_DOCUMENT_CREATECDATASECTION
)]
258 HRESULT createCDATASection
(
260 [retval, out] IXMLDOMCDATASection
**cdata
);
262 [id(DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION
)]
263 HRESULT createProcessingInstruction
(
266 [retval, out] IXMLDOMProcessingInstruction
**pi
);
268 [id(DISPID_DOM_DOCUMENT_CREATEATTRIBUTE
)]
269 HRESULT createAttribute
(
271 [retval, out] IXMLDOMAttribute
**attribute
);
273 [id(DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE
)]
274 HRESULT createEntityReference
(
276 [retval, out] IXMLDOMEntityReference
**entityRef
);
278 [id(DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME
)]
279 HRESULT getElementsByTagName
(
281 [retval, out] IXMLDOMNodeList
**resultList
);
283 [id(DISPID_XMLDOM_DOCUMENT_CREATENODE
)]
288 [retval, out] IXMLDOMNode
**node
);
290 [id(DISPID_XMLDOM_DOCUMENT_NODEFROMID
)]
293 [retval, out] IXMLDOMNode
**node
);
295 [id(DISPID_XMLDOM_DOCUMENT_LOAD
)]
298 [retval, out] VARIANT_BOOL *pbool
);
300 [propget, id(DISPID_READYSTATE
)]
301 HRESULT readyState
([retval, out] long *value
);
303 [propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR
)]
304 HRESULT parseError
([retval, out] IXMLDOMParseError
**err
);
306 [propget, id(DISPID_XMLDOM_DOCUMENT_URL
)]
307 HRESULT url
([retval, out] BSTR *p
);
309 [propget, id(DISPID_XMLDOM_DOCUMENT_ASYNC
)]
310 HRESULT async
([retval, out] VARIANT_BOOL *pbool
);
312 [propput, id(DISPID_XMLDOM_DOCUMENT_ASYNC
)]
313 HRESULT async
([in] VARIANT_BOOL pbool
);
315 [id(DISPID_XMLDOM_DOCUMENT_ABORT
)]
318 [id(DISPID_XMLDOM_DOCUMENT_LOADXML
)]
321 [out, retval] VARIANT_BOOL *pbool
);
323 [id(DISPID_XMLDOM_DOCUMENT_SAVE
)]
327 [propget, id(DISPID_XMLDOM_DOCUMENT_VALIDATE
)]
328 HRESULT validateOnParse
([retval, out] VARIANT_BOOL *pbool
);
330 [propput, id(DISPID_XMLDOM_DOCUMENT_VALIDATE
)]
331 HRESULT validateOnParse
([in] VARIANT_BOOL pbool
);
333 [propget, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE
)]
334 HRESULT resolveExternals
([retval,out] VARIANT_BOOL *pbool
);
336 [propput, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE
)]
337 HRESULT resolveExternals
([in] VARIANT_BOOL pbool
);
339 [propget, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE
)]
340 HRESULT preserveWhiteSpace
([retval,out] VARIANT_BOOL *pbool
);
342 [propput, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE
)]
343 HRESULT preserveWhiteSpace
([in] VARIANT_BOOL pbool
);
345 [propput, id(DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE
)]
346 HRESULT onreadystatechange
([in] VARIANT var1
);
348 [propput, id(DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE
)]
349 HRESULT ondataavailable
([in] VARIANT var1
);
351 [propput, id(DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE
)]
352 HRESULT ontransformnode
([in] VARIANT var1
);
358 uuid (373984c8
-b845
-449b
-91e7
-45ac83036ade
)
360 interface IXMLDOMSchemaCollection
: IDispatch
362 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADD
)]
367 [id(DISPID_XMLDOM_SCHEMACOLLECTION_GET
)]
370 [retval, out] IXMLDOMNode
**node
);
372 [id(DISPID_XMLDOM_SCHEMACOLLECTION_REMOVE
)]
376 [propget, id(DISPID_XMLDOM_SCHEMACOLLECTION_LENGTH
)]
378 [retval, out] long *length
);
380 [propget, id(DISPID_VALUE
)]
381 HRESULT namespaceURI
([in] long index
, [out, retval] BSTR *len
);
383 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADDCOLLECTION
)]
384 HRESULT addCollection
(
385 [in] IXMLDOMSchemaCollection
*otherCollection
);
387 [propget, id(DISPID_NEWENUM
)]
388 HRESULT _newEnum
([retval, out] IUnknown
**ppUnk
);
394 uuid (2933BF95
-7B36
-11d2
-B20E
-00C04F983E60
)
396 interface IXMLDOMDocument2
: IXMLDOMDocument
398 [propget, id(DISPID_XMLDOM_DOCUMENT2_NAMESPACES
)]
399 HRESULT namespaces
([retval, out] IXMLDOMSchemaCollection
**schemaCollection
);
401 [propget, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS
)]
402 HRESULT schemas
([retval, out] VARIANT *var1
);
404 [propputref, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS
)]
405 HRESULT schemas
([in] VARIANT var1
);
407 [id(DISPID_XMLDOM_DOCUMENT2_VALIDATE
)]
409 [retval, out] IXMLDOMParseError
**err
);
411 [id(DISPID_XMLDOM_DOCUMENT2_SETPROPERTY
)]
416 [id(DISPID_XMLDOM_DOCUMENT2_GETPROPERTY
)]
419 [retval, out] VARIANT *var
);
425 uuid (2933BF82
-7B36
-11d2
-B20E
-00C04F983E60
)
427 interface IXMLDOMNodeList
: IDispatch
429 [propget, id(DISPID_VALUE
)]
430 HRESULT item
([in] long lIndex
, [retval, out] IXMLDOMNode
**outNode
);
432 [propget, id(DISPID_DOM_NODELIST_LENGTH
)]
433 HRESULT length
([retval, out] long *lLength
);
435 [id(DISPID_XMLDOM_NODELIST_NEXTNODE
)]
437 [retval, out] IXMLDOMNode
**outNode
);
439 [id(DISPID_XMLDOM_NODELIST_RESET
)]
442 [propget, id(DISPID_NEWENUM
)]
443 HRESULT _newEnum
([retval, out] IUnknown
**ppUnk
);
449 uuid (AA634FC7
-5888-44a7
-A257
-3A47150D3A0E
)
451 interface IXMLDOMSelection
: IXMLDOMNodeList
453 [propget, id(DISPID_XMLDOM_SELECTION_EXPR
)]
454 HRESULT expr
([retval, out] BSTR *p
);
456 [propput, id(DISPID_XMLDOM_SELECTION_EXPR
)]
457 HRESULT expr
([in] BSTR p
);
459 [propget, id(DISPID_XMLDOM_SELECTION_CONTEXT
)]
460 HRESULT context
([retval, out] IXMLDOMNode
**ppNode
);
462 [propputref, id(DISPID_XMLDOM_SELECTION_CONTEXT
)]
463 HRESULT context
([in] IXMLDOMNode
* pNode
);
465 [id(DISPID_XMLDOM_SELECTION_PEEKNODE
)]
467 [retval, out] IXMLDOMNode
**ppNode
);
469 [id(DISPID_XMLDOM_SELECTION_MATCHES
)]
471 [in] IXMLDOMNode
*pNode
,
472 [retval, out] IXMLDOMNode
**ppNode
);
474 [id(DISPID_XMLDOM_SELECTION_REMOVENEXT
)]
476 [retval, out] IXMLDOMNode
**ppNode
);
478 [id(DISPID_XMLDOM_SELECTION_REMOVEALL
)]
481 [id(DISPID_XMLDOM_SELECTION_CLONE
)]
483 [retval, out] IXMLDOMSelection
**ppNode
);
485 [id(DISPID_XMLDOM_SELECTION_GETPROPERTY
)]
488 [retval, out] VARIANT * var
);
490 [id(DISPID_XMLDOM_SELECTION_SETPROPERTY
)]
499 uuid (2933BF83
-7B36
-11d2
-B20E
-00C04F983E60
)
501 interface IXMLDOMNamedNodeMap
: IDispatch
503 [id(DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM
)]
504 HRESULT getNamedItem
(
506 [retval, out] IXMLDOMNode
**outNode
);
508 [id(DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM
)]
509 HRESULT setNamedItem
(
510 [in] IXMLDOMNode
*newNode
,
511 [retval, out] IXMLDOMNode
**outNode
);
513 [id(DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM
)]
514 HRESULT removeNamedItem
(
516 [retval, out] IXMLDOMNode
**outNode
);
518 [propget, id(DISPID_VALUE
)]
519 HRESULT item
([in] long lIndex
, [retval, out] IXMLDOMNode
**outNode
);
521 [propget, id(DISPID_DOM_NODELIST_LENGTH
)]
522 HRESULT length
([retval, out] long *lLength
);
524 [id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM
)]
525 HRESULT getQualifiedItem
(
528 [retval, out] IXMLDOMNode
**outNode
);
530 [id(DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM
)]
531 HRESULT removeQualifiedItem
(
534 [retval, out] IXMLDOMNode
**outNode
);
536 [id(DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE
)]
538 [retval, out] IXMLDOMNode
**outNode
);
540 [id(DISPID_XMLDOM_NAMEDNODEMAP_RESET
)]
543 [propget, id(DISPID_NEWENUM
)]
544 HRESULT _newEnum
([retval, out] IUnknown
**ppUnk
);
550 uuid (3efaa413
-272f
-11d2
-836f
-0000f87a7782
)
552 interface IXMLDOMDocumentFragment
: IXMLDOMNode
559 uuid (2933BF84
-7B36
-11d2
-B20E
-00C04F983E60
)
561 interface IXMLDOMCharacterData
: IXMLDOMNode
563 [propget, id(DISPID_DOM_DATA_DATA
)]
564 HRESULT data
([retval, out] BSTR *p
);
566 [propput, id(DISPID_DOM_DATA_DATA
)]
567 HRESULT data
([in] BSTR data
);
569 [propget, id(DISPID_DOM_DATA_LENGTH
)]
570 HRESULT length
([retval, out] long *len
);
572 [id(DISPID_DOM_DATA_SUBSTRING
)]
573 HRESULT substringData
(
576 [retval, out] BSTR *p
);
578 [id(DISPID_DOM_DATA_APPEND
)]
582 [id(DISPID_DOM_DATA_INSERT
)]
587 [id(DISPID_DOM_DATA_DELETE
)]
592 [id(DISPID_DOM_DATA_REPLACE
)]
602 uuid (2933BF85
-7B36
-11d2
-B20E
-00C04F983E60
)
604 interface IXMLDOMAttribute
: IXMLDOMNode
606 [propget, id(DISPID_DOM_ATTRIBUTE_GETNAME
)]
607 HRESULT name
([retval, out] BSTR *p
);
609 [propget, id(DISPID_DOM_ATTRIBUTE_VALUE
)]
610 HRESULT value
([retval, out] VARIANT *var1
);
612 [propput, id(DISPID_DOM_ATTRIBUTE_VALUE
)]
613 HRESULT value
([in] VARIANT var1
);
619 uuid (2933BF86
-7B36
-11d2
-B20E
-00C04F983E60
)
621 interface IXMLDOMElement
: IXMLDOMNode
623 [propget, id(DISPID_DOM_ELEMENT_GETTAGNAME
)]
624 HRESULT tagName
([retval, out] BSTR *p
);
626 [id(DISPID_DOM_ELEMENT_GETATTRIBUTE
)]
627 HRESULT getAttribute
(
629 [retval, out] VARIANT *var
);
631 [id(DISPID_DOM_ELEMENT_SETATTRIBUTE
)]
632 HRESULT setAttribute
(
636 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTE
)]
637 HRESULT removeAttribute
(
640 [id(DISPID_DOM_ELEMENT_GETATTRIBUTENODE
)]
641 HRESULT getAttributeNode
(
643 [retval, out] IXMLDOMAttribute
**attributeNode
);
645 [id(DISPID_DOM_ELEMENT_SETATTRIBUTENODE
)]
646 HRESULT setAttributeNode
(
647 [in] IXMLDOMAttribute
*domAttribute
,
648 [retval, out] IXMLDOMAttribute
**attributeNode
);
650 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE
)]
651 HRESULT removeAttributeNode
(
652 [in] IXMLDOMAttribute
*domAttribute
,
653 [retval, out] IXMLDOMAttribute
**attributeNode
);
655 [id(DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME
)]
656 HRESULT getElementsByTagName
(
658 [retval, out] IXMLDOMNodeList
**resultList
);
660 [id(DISPID_DOM_ELEMENT_NORMALIZE
)]
667 uuid (2933BF87
-7B36
-11d2
-B20E
-00C04F983E60
)
669 interface IXMLDOMText
: IXMLDOMCharacterData
671 [id(DISPID_DOM_TEXT_SPLITTEXT
)]
674 [retval, out] IXMLDOMText
**txtNode
);
680 uuid (2933BF88
-7B36
-11d2
-B20E
-00C04F983E60
)
682 interface IXMLDOMComment
: IXMLDOMCharacterData
689 uuid (2933BF89
-7B36
-11d2
-B20E
-00C04F983E60
)
691 interface IXMLDOMProcessingInstruction
: IXMLDOMNode
693 [propget, id(DISPID_DOM_PI_TARGET
)]
694 HRESULT target
([retval, out] BSTR *p
);
696 [propget, id(DISPID_DOM_PI_DATA
)]
697 HRESULT data
([retval, out] BSTR *p
);
699 [propput, id(DISPID_DOM_PI_DATA
)]
700 HRESULT data
([in] BSTR p
);
706 uuid (2933BF8A
-7B36
-11d2
-B20E
-00C04F983E60
)
708 interface IXMLDOMCDATASection
: IXMLDOMText
715 uuid (2933BF8B
-7B36
-11d2
-B20E
-00C04F983E60
)
717 interface IXMLDOMDocumentType
: IXMLDOMNode
719 [propget, id(DISPID_DOM_DOCUMENTTYPE_NAME
)]
720 HRESULT name
([retval, out] BSTR *p
);
722 [propget, id(DISPID_DOM_DOCUMENTTYPE_ENTITIES
)]
723 HRESULT entities
([retval, out] IXMLDOMNamedNodeMap
**entityMap
);
725 [propget, id(DISPID_DOM_DOCUMENTTYPE_NOTATIONS
)]
726 HRESULT notations
([retval, out] IXMLDOMNamedNodeMap
**notationMap
);
732 uuid (2933BF8C
-7B36
-11d2
-B20E
-00C04F983E60
)
734 interface IXMLDOMNotation
: IXMLDOMNode
736 [propget, id(DISPID_DOM_NOTATION_PUBLICID
)]
737 HRESULT publicId
([retval, out] VARIANT *id);
739 [propget, id(DISPID_DOM_NOTATION_SYSTEMID
)]
740 HRESULT systemId
([retval, out] VARIANT *id);
746 uuid (2933BF8D
-7B36
-11d2
-B20E
-00C04F983E60
)
748 interface IXMLDOMEntity
: IXMLDOMNode
750 [propget, id(DISPID_DOM_ENTITY_PUBLICID
)]
751 HRESULT publicId
([retval, out] VARIANT *id1
);
753 [propget, id(DISPID_DOM_ENTITY_SYSTEMID
)]
754 HRESULT systemId
([retval, out] VARIANT *id1
);
756 [propget, id(DISPID_DOM_ENTITY_NOTATIONNAME
)]
757 HRESULT notationName
([retval, out] BSTR *p
);
763 uuid (2933BF8E
-7B36
-11d2
-B20E
-00C04F983E60
)
765 interface IXMLDOMEntityReference
: IXMLDOMNode
772 uuid (2933BF8F
-7B36
-11d2
-B20E
-00C04F983E60
)
774 interface IXMLDOMImplementation
: IDispatch
776 [id(DISPID_DOM_IMPLEMENTATION_HASFEATURE
)]
780 [retval, out] VARIANT_BOOL *pbool
);
786 uuid (3efaa425
-272f
-11d2
-836f
-0000f87a7782
)
788 interface IXTLRuntime
: IXMLDOMNode
790 [id(DISPID_XTLRUNTIME_UNIQUEID
)]
792 [in]IXMLDOMNode
*pNode
,
793 [retval, out]long *pID
);
795 [id(DISPID_XTLRUNTIME_DEPTH
)]
797 [in] IXMLDOMNode
*pNode
,
798 [retval, out]long * pDepth
);
800 [id(DISPID_XTLRUNTIME_CHILDNUMBER
)]
802 [in]IXMLDOMNode
*pNode
,
803 [retval, out] long *pNumber
);
805 [id(DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER
)]
806 HRESULT ancestorChildNumber
(
808 [in]IXMLDOMNode
*pNode
,
809 [retval, out]long *pNumber
);
811 [id(DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER
)]
812 HRESULT absoluteChildNumber
(
813 [in]IXMLDOMNode
*pNode
,
814 [retval, out]long *pNumber
);
816 [id(DISPID_XTLRUNTIME_FORMATINDEX
)]
820 [retval, out]BSTR *pbstr
);
822 [id(DISPID_XTLRUNTIME_FORMATNUMBER
)]
823 HRESULT formatNumber
(
824 [in] double dblNumber
,
826 [retval, out]BSTR *pbstr
);
828 [id(DISPID_XTLRUNTIME_FORMATDATE
)]
832 [optional, in] VARIANT var2
,
833 [retval, out]BSTR *pbstr
);
835 [id(DISPID_XTLRUNTIME_FORMATTIME
)]
839 [optional, in] VARIANT var2
,
840 [retval, out]BSTR *pbstr
);
845 uuid(3efaa427
-272f
-11d2
-836f
-0000f87a7782
)
847 dispinterface XMLDOMDocumentEvents
851 [id (DISPID_XMLDOMEVENT_ONDATAAVAILABLE
)]
852 HRESULT ondataavailable
();
854 [id (DISPID_XMLDOMEVENT_ONREADYSTATECHANGE
)]
855 HRESULT onreadystatechange
();
861 uuid (2933BF92
-7B36
-11d2
-B20E
-00C04F983E60
)
863 interface IXSLProcessor
: IDispatch
865 [propput, id(DISPID_XMLDOM_PROCESSOR_INPUT
)]
866 HRESULT input
([in] VARIANT var
);
868 [propget, id(DISPID_XMLDOM_PROCESSOR_INPUT
)]
869 HRESULT input
([retval, out] VARIANT *var
);
871 [propget, id(DISPID_XMLDOM_PROCESSOR_XSLTEMPLATE
)]
872 HRESULT ownerTemplate
([retval, out] IXSLTemplate
**ppTemplate
);
874 [id(DISPID_XMLDOM_PROCESSOR_SETSTARTMODE
)]
875 HRESULT setStartMode
(
877 [in, defaultvalue("")] BSTR uri
);
879 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODE
)]
880 HRESULT startMode
([retval, out] BSTR *p
);
882 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODEURI
)]
883 HRESULT startModeURI
([retval, out] BSTR *uri
);
885 [propput, id(DISPID_XMLDOM_PROCESSOR_OUTPUT
)]
886 HRESULT output
([in] VARIANT var
);
888 [propget, id(DISPID_XMLDOM_PROCESSOR_OUTPUT
)]
889 HRESULT output
([retval, out] VARIANT *var
);
891 [id(DISPID_XMLDOM_PROCESSOR_TRANSFORM
)]
893 [retval, out] VARIANT_BOOL *pbool
);
895 [id(DISPID_XMLDOM_PROCESSOR_RESET
)]
898 [propget, id(DISPID_XMLDOM_PROCESSOR_READYSTATE
)]
899 HRESULT readyState
([retval, out] long *pstate
);
901 [id(DISPID_XMLDOM_PROCESSOR_ADDPARAMETER
)]
902 HRESULT addParameter
(
905 [in, defaultvalue("")] BSTR uri
);
907 [id(DISPID_XMLDOM_PROCESSOR_ADDOBJECT
)]
912 [propget, id(DISPID_XMLDOM_PROCESSOR_STYLESHEET
)]
913 HRESULT stylesheet
([retval, out] IXMLDOMNode
**node
);
919 uuid (2933BF93
-7B36
-11d2
-B20E
-00C04F983E60
)
921 interface IXSLTemplate
: IDispatch
923 [propputref, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET
)]
924 HRESULT stylesheet
([in] IXMLDOMNode
*node
);
926 [propget, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET
)]
927 HRESULT stylesheet
([retval, out] IXMLDOMNode
**node
);
929 [id(DISPID_XMLDOM_TEMPLATE_CREATEPROCESSOR
)]
930 HRESULT createProcessor
(
931 [retval, out] IXSLProcessor
**ppProcessor
);
937 uuid (3efaa426
-272f
-11d2
-836f
-0000f87a7782
)
939 interface IXMLDOMParseError
: IDispatch
941 [propget, id(DISPID_VALUE
)]
942 HRESULT errorCode
([retval, out] long *errCode
);
944 [propget, id(DISPID_DOM_ERROR_URL
)]
945 HRESULT url
([retval, out] BSTR *p
);
947 [propget, id(DISPID_DOM_ERROR_REASON
)]
948 HRESULT reason
([retval, out] BSTR *p
);
950 [propget, id(DISPID_DOM_ERROR_SRCTEXT
)]
951 HRESULT srcText
([retval, out] BSTR *p
);
953 [propget, id(DISPID_DOM_ERROR_LINE
)]
954 HRESULT line
([retval, out] long *lineNo
);
956 [propget, id(DISPID_DOM_ERROR_LINEPOS
)]
957 HRESULT linepos
([retval, out] long * linePos
);
959 [propget, id(DISPID_DOM_ERROR_FILEPOS
)]
960 HRESULT filepos
([retval, out] long * filePos
);
964 uuid(F6D90F11
-9C73
-11D3
-B32E
-00C04F990BB4
)
968 [default] interface IXMLDOMDocument2
;
969 [default, source] dispinterface XMLDOMDocumentEvents
;
973 uuid(f5078f1b
-c551
-11d3
-89b9
-0000f81fe221
)
975 coclass DOMDocument26
977 [default] interface IXMLDOMDocument2
;
978 [default, source] dispinterface XMLDOMDocumentEvents
;
982 uuid(f5078f32
-c551
-11d3
-89b9
-0000f81fe221
)
984 coclass DOMDocument30
986 [default] interface IXMLDOMDocument2
;
987 [default, source] dispinterface XMLDOMDocumentEvents
;
992 uuid(F6D90F12
-9C73
-11D3
-B32E
-00C04F990BB4
)
994 coclass FreeThreadedDOMDocument
996 [default] interface IXMLDOMDocument2
;
997 [default, source] dispinterface XMLDOMDocumentEvents
;
1001 uuid(f5078f1c
-c551
-11d3
-89b9
-0000f81fe221
)
1003 coclass FreeThreadedDOMDocument26
1005 [default] interface IXMLDOMDocument2
;
1006 [default, source] dispinterface XMLDOMDocumentEvents
;
1010 uuid(f5078f33
-c551
-11d3
-89b9
-0000f81fe221
)
1012 coclass FreeThreadedDOMDocument30
1014 [default] interface IXMLDOMDocument2
;
1015 [default, source] dispinterface XMLDOMDocumentEvents
;
1019 uuid(373984c9
-b845
-449b
-91e7
-45ac83036ade
)
1021 coclass XMLSchemaCache
1023 [default] interface IXMLDOMSchemaCollection
;
1027 uuid(f5078f1d
-c551
-11d3
-89b9
-0000f81fe221
)
1029 coclass XMLSchemaCache26
1031 [default] interface IXMLDOMSchemaCollection
;
1035 uuid(f5078f34
-c551
-11d3
-89b9
-0000f81fe221
)
1037 coclass XMLSchemaCache30
1039 [default] interface IXMLDOMSchemaCollection
;
1043 uuid(2933BF94
-7B36
-11d2
-B20E
-00C04F983E60
)
1047 [default] interface IXSLTemplate
;
1051 uuid(f5078f21
-c551
-11d3
-89b9
-0000f81fe221
)
1053 coclass XSLTemplate26
1055 [default] interface IXSLTemplate
;
1059 uuid(f5078f36
-c551
-11d3
-89b9
-0000f81fe221
)
1061 coclass XSLTemplate30
1063 [default] interface IXSLTemplate
;
1066 } /* Library MSXML */