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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #include
<msxml2did.h
>
26 interface IXMLDOMImplementation
;
27 interface IXMLDOMNode
;
28 interface IXMLDOMDocumentFragment
;
29 interface IXMLDOMDocument
;
30 interface IXMLDOMSchemaCollection
;
31 interface IXMLDOMDocument2
;
32 interface IXMLDOMNodeList
;
33 interface IXMLDOMNamedNodeMap
;
34 interface IXMLDOMCharacterData
;
35 interface IXMLDOMAttribute
;
36 interface IXMLDOMElement
;
37 interface IXMLDOMText
;
38 interface IXMLDOMComment
;
39 interface IXMLDOMProcessingInstruction
;
40 interface IXMLDOMCDATASection
;
41 interface IXMLDOMDocumentType
;
42 interface IXMLDOMNotation
;
43 interface IXMLDOMEntity
;
44 interface IXMLDOMEntityReference
;
45 interface IXMLDOMParseError
;
46 interface IXTLRuntime
;
47 interface IXSLTemplate
;
48 interface IXSLProcessor
;
50 typedef enum tagDOMNodeType
56 NODE_CDATA_SECTION
= 4,
57 NODE_ENTITY_REFERENCE
= 5,
59 NODE_PROCESSING_INSTRUCTION
= 7,
62 NODE_DOCUMENT_TYPE
= 10,
63 NODE_DOCUMENT_FRAGMENT
= 11,
70 uuid (2933BF80
-7B36
-11d2
-B20E
-00C04F983E60
)
72 interface IXMLDOMNode
: IDispatch
74 [propget, id(DISPID_DOM_NODE_NODENAME
)]
75 HRESULT nodeName
([retval, out] BSTR *p
);
77 [propget, id(DISPID_DOM_NODE_NODEVALUE
)]
78 HRESULT nodeValue
([retval, out] VARIANT *var1
);
80 [propput, id(DISPID_DOM_NODE_NODEVALUE
)]
81 HRESULT nodeValue
([in] VARIANT var1
);
83 [propget, id(DISPID_DOM_NODE_NODETYPE
)]
84 HRESULT nodeType
([retval, out] DOMNodeType
*domNodeType
);
86 [propget, id(DISPID_DOM_NODE_PARENTNODE
)]
87 HRESULT parentNode
([retval, out] IXMLDOMNode
**parent
);
89 [propget, id(DISPID_DOM_NODE_CHILDNODES
)]
90 HRESULT childNodes
([retval, out] IXMLDOMNodeList
**outList
);
92 [propget, id(DISPID_DOM_NODE_FIRSTCHILD
)]
93 HRESULT firstChild
([retval, out] IXMLDOMNode
**domNode
);
95 [propget, id(DISPID_DOM_NODE_LASTCHILD
)]
96 HRESULT lastChild
([retval, out] IXMLDOMNode
**domNode
);
98 [propget, id(DISPID_DOM_NODE_PREVIOUSSIBLING
)]
99 HRESULT previousSibling
([retval, out] IXMLDOMNode
**domNode
);
101 [propget, id(DISPID_DOM_NODE_NEXTSIBLING
)]
102 HRESULT nextSibling
([retval, out] IXMLDOMNode
**domNode
);
104 [propget, id(DISPID_DOM_NODE_ATTRIBUTES
)]
105 HRESULT attributes
([retval, out] IXMLDOMNamedNodeMap
**attributeMap
);
107 [id(DISPID_DOM_NODE_INSERTBEFORE
)]
108 HRESULT insertBefore
(
109 [in] IXMLDOMNode
*newNode
,
111 [retval, out] IXMLDOMNode
**outOldNode
);
113 [id(DISPID_DOM_NODE_REPLACECHILD
)]
114 HRESULT replaceChild
(
115 [in] IXMLDOMNode
*newNode
,
116 [in] IXMLDOMNode
*oldNode
,
117 [retval, out] IXMLDOMNode
**outOldNode
);
119 [id(DISPID_DOM_NODE_REMOVECHILD
)]
121 [in] IXMLDOMNode
*domNode
,
122 [retval, out] IXMLDOMNode
**oldNode
);
124 [id(DISPID_DOM_NODE_APPENDCHILD
)]
126 [in] IXMLDOMNode
*newNode
,
127 [retval, out] IXMLDOMNode
**outNewNode
);
129 [id(DISPID_DOM_NODE_HASCHILDNODES
)]
130 HRESULT hasChildNodes
(
131 [retval, out] VARIANT_BOOL *pbool
);
133 [propget, id(DISPID_DOM_NODE_OWNERDOC
)]
134 HRESULT ownerDocument
([retval, out] IXMLDOMDocument
**domDocument
);
136 [id(DISPID_DOM_NODE_CLONENODE
)]
138 [in] VARIANT_BOOL pbool
,
139 [retval, out] IXMLDOMNode
**outNode
);
141 [propget, id(DISPID_XMLDOM_NODE_STRINGTYPE
)]
142 HRESULT nodeTypeString
([retval, out] BSTR *p
);
144 [propget, id(DISPID_XMLDOM_NODE_TEXT
)]
145 HRESULT text
([retval, out] BSTR *p
);
147 [propput, id(DISPID_XMLDOM_NODE_TEXT
)]
148 HRESULT text
([in] BSTR p
);
150 [propget, id(DISPID_XMLDOM_NODE_SPECIFIED
)]
151 HRESULT specified
([retval, out] VARIANT_BOOL *pbool
);
153 [propget, id(DISPID_XMLDOM_NODE_DEFINITION
)]
154 HRESULT definition
([retval,out] IXMLDOMNode
**domNode
);
156 [propget, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE
)]
157 HRESULT nodeTypedValue
([retval, out] VARIANT *var1
);
159 [propput, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE
)]
160 HRESULT nodeTypedValue
([in] VARIANT var1
);
162 [propget, id(DISPID_XMLDOM_NODE_DATATYPE
)]
163 HRESULT dataType
([retval, out] VARIANT *var1
);
165 [propput, id(DISPID_XMLDOM_NODE_DATATYPE
)]
166 HRESULT dataType
([in] BSTR p
);
168 [propget, id(DISPID_XMLDOM_NODE_XML
)]
169 HRESULT xml
([retval, out] BSTR *p
);
171 [id(DISPID_XMLDOM_NODE_TRANSFORMNODE
)]
172 HRESULT transformNode
(
173 [in] IXMLDOMNode
*domNode
,
174 [retval, out] BSTR *p
);
176 [id(DISPID_XMLDOM_NODE_SELECTNODES
)]
179 [retval, out] IXMLDOMNodeList
**outList
);
181 [id(DISPID_XMLDOM_NODE_SELECTSINGLENODE
)]
182 HRESULT selectSingleNode
(
184 [retval, out] IXMLDOMNode
**outNode
);
186 [propget,id(DISPID_XMLDOM_NODE_PARSED
)]
187 HRESULT parsed
([retval, out] VARIANT_BOOL *pbool
);
189 [propget, id(DISPID_XMLDOM_NODE_NAMESPACE
)]
190 HRESULT namespaceURI
([retval, out] BSTR *p
);
192 [propget, id(DISPID_XMLDOM_NODE_PREFIX
)]
193 HRESULT prefix
([retval, out] BSTR *p
);
195 [propget, id(DISPID_XMLDOM_NODE_BASENAME
)]
196 HRESULT baseName
([retval, out] BSTR *p
);
198 [id(DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT
)]
199 HRESULT transformNodeToObject
(
200 [in] IXMLDOMNode
*domNode
,
207 uuid (2933BF81
-7B36
-11d2
-B20E
-00C04F983E60
)
209 interface IXMLDOMDocument
: IXMLDOMNode
211 [propget, id(DISPID_DOM_DOCUMENT_DOCTYPE
)]
212 HRESULT doctype
([retval, out] IXMLDOMDocumentType
**docType
);
214 [propget, id(DISPID_DOM_DOCUMENT_IMPLEMENTATION
)]
215 HRESULT implementation
([retval, out] IXMLDOMImplementation
**impl
);
217 [propget, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT
)]
218 HRESULT documentElement
([retval, out] IXMLDOMElement
**domElement
);
220 [propputref, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT
)]
221 HRESULT documentElement
([in] IXMLDOMElement
*domElement
);
223 [id(DISPID_DOM_DOCUMENT_CREATEELEMENT
)]
224 HRESULT createElement
(
226 [retval, out] IXMLDOMElement
**domElement
);
228 [id(DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT
)]
229 HRESULT createDocumentFragment
(
230 [retval, out] IXMLDOMDocumentFragment
**docFrag
);
232 [id(DISPID_DOM_DOCUMENT_CREATETEXTNODE
)]
233 HRESULT createTextNode
(
235 [retval, out] IXMLDOMText
**text
);
237 [id(DISPID_DOM_DOCUMENT_CREATECOMMENT
)]
238 HRESULT createComment
(
240 [retval, out] IXMLDOMComment
**comment
);
242 [id(DISPID_DOM_DOCUMENT_CREATECDATASECTION
)]
243 HRESULT createCDATASection
(
245 [retval, out] IXMLDOMCDATASection
**cdata
);
247 [id(DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION
)]
248 HRESULT createProcessingInstruction
(
251 [retval, out] IXMLDOMProcessingInstruction
**pi
);
253 [id(DISPID_DOM_DOCUMENT_CREATEATTRIBUTE
)]
254 HRESULT createAttribute
(
256 [retval, out] IXMLDOMAttribute
**attribute
);
258 [id(DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE
)]
259 HRESULT createEntityReference
(
261 [retval, out] IXMLDOMEntityReference
**entityRef
);
263 [id(DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME
)]
264 HRESULT getElementsByTagName
(
266 [retval, out] IXMLDOMNodeList
**resultList
);
268 [id(DISPID_XMLDOM_DOCUMENT_CREATENODE
)]
273 [retval, out] IXMLDOMNode
**node
);
275 [id(DISPID_XMLDOM_DOCUMENT_NODEFROMID
)]
278 [retval, out] IXMLDOMNode
**node
);
280 [id(DISPID_XMLDOM_DOCUMENT_LOAD
)]
283 [retval, out] VARIANT_BOOL *pbool
);
285 [propget, id(DISPID_READYSTATE
)]
286 HRESULT readyState
([retval, out] long *value
);
288 [propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR
)]
289 HRESULT parseError
([retval, out] IXMLDOMParseError
**err
);
291 [propget, id(DISPID_XMLDOM_DOCUMENT_URL
)]
292 HRESULT url
([retval, out] BSTR *p
);
294 [propget, id(DISPID_XMLDOM_DOCUMENT_ASYNC
)]
295 HRESULT async
([retval, out] VARIANT_BOOL *pbool
);
297 [propput, id(DISPID_XMLDOM_DOCUMENT_ASYNC
)]
298 HRESULT async
([in] VARIANT_BOOL pbool
);
300 [id(DISPID_XMLDOM_DOCUMENT_ABORT
)]
303 [id(DISPID_XMLDOM_DOCUMENT_LOADXML
)]
306 [out, retval] VARIANT_BOOL *pbool
);
308 [id(DISPID_XMLDOM_DOCUMENT_SAVE
)]
312 [propget, id(DISPID_XMLDOM_DOCUMENT_VALIDATE
)]
313 HRESULT validateOnParse
([retval, out] VARIANT_BOOL *pbool
);
315 [propput, id(DISPID_XMLDOM_DOCUMENT_VALIDATE
)]
316 HRESULT validateOnParse
([in] VARIANT_BOOL pbool
);
318 [propget, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE
)]
319 HRESULT resolveExternals
([retval,out] VARIANT_BOOL *pbool
);
321 [propput, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE
)]
322 HRESULT resolveExternals
([in] VARIANT_BOOL pbool
);
324 [propget, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE
)]
325 HRESULT preserveWhiteSpace
([retval,out] VARIANT_BOOL *pbool
);
327 [propput, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE
)]
328 HRESULT preserveWhiteSpace
([in] VARIANT_BOOL pbool
);
330 [propput, id(DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE
)]
331 HRESULT onreadystatechange
([in] VARIANT var1
);
333 [propput, id(DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE
)]
334 HRESULT ondataavailable
([in] VARIANT var1
);
336 [propput, id(DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE
)]
337 HRESULT ontransformnode
([in] VARIANT var1
);
343 uuid (373984c8
-b845
-449b
-91e7
-45ac83036ade
)
345 interface IXMLDOMSchemaCollection
: IDispatch
347 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADD
)]
352 [id(DISPID_XMLDOM_SCHEMACOLLECTION_GET
)]
355 [retval, out] IXMLDOMNode
**node
);
357 [id(DISPID_XMLDOM_SCHEMACOLLECTION_REMOVE
)]
361 [propget, id(DISPID_XMLDOM_SCHEMACOLLECTION_LENGTH
)]
363 [retval, out] long *length
);
365 [propget, id(DISPID_VALUE
)]
366 HRESULT namespaceURI
([in] long index
, [out, retval] BSTR *len
);
368 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADDCOLLECTION
)]
369 HRESULT addCollection
(
370 [in] IXMLDOMSchemaCollection
*otherCollection
);
372 [propget, id(DISPID_NEWENUM
)]
373 HRESULT _newEnum
([retval, out] IUnknown
**ppUnk
);
379 uuid (2933BF95
-7B36
-11d2
-B20E
-00C04F983E60
)
381 interface IXMLDOMDocument2
: IXMLDOMDocument
383 [propget, id(DISPID_XMLDOM_DOCUMENT2_NAMESPACES
)]
384 HRESULT namespaces
([retval, out] IXMLDOMSchemaCollection
**schemaCollection
);
386 [propget, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS
)]
387 HRESULT schemas
([retval, out] VARIANT *var1
);
389 [propputref, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS
)]
390 HRESULT schemas
([in] VARIANT var1
);
392 [id(DISPID_XMLDOM_DOCUMENT2_VALIDATE
)]
394 [retval, out] IXMLDOMParseError
**err
);
396 [id(DISPID_XMLDOM_DOCUMENT2_SETPROPERTY
)]
401 [id(DISPID_XMLDOM_DOCUMENT2_GETPROPERTY
)]
404 [retval, out] VARIANT *var
);
410 uuid (2933BF82
-7B36
-11d2
-B20E
-00C04F983E60
)
412 interface IXMLDOMNodeList
: IDispatch
414 [propget, id(DISPID_VALUE
)]
415 HRESULT item
([in] long lIndex
, [retval, out] IXMLDOMNode
**outNode
);
417 [propget, id(DISPID_DOM_NODELIST_LENGTH
)]
418 HRESULT length
([retval, out] long *lLength
);
420 [id(DISPID_XMLDOM_NODELIST_NEXTNODE
)]
422 [retval, out] IXMLDOMNode
**outNode
);
424 [id(DISPID_XMLDOM_NODELIST_RESET
)]
427 [propget, id(DISPID_NEWENUM
)]
428 HRESULT _newEnum
([retval, out] IUnknown
**ppUnk
);
434 uuid (AA634FC7
-5888-44a7
-A257
-3A47150D3A0E
)
436 interface IXMLDOMSelection
: IXMLDOMNodeList
438 [propget, id(DISPID_XMLDOM_SELECTION_EXPR
)]
439 HRESULT expr
([retval, out] BSTR *p
);
441 [propput, id(DISPID_XMLDOM_SELECTION_EXPR
)]
442 HRESULT expr
([in] BSTR p
);
444 [propget, id(DISPID_XMLDOM_SELECTION_CONTEXT
)]
445 HRESULT context
([retval, out] IXMLDOMNode
**ppNode
);
447 [propputref, id(DISPID_XMLDOM_SELECTION_CONTEXT
)]
448 HRESULT context
([in] IXMLDOMNode
* pNode
);
450 [id(DISPID_XMLDOM_SELECTION_PEEKNODE
)]
452 [retval, out] IXMLDOMNode
**ppNode
);
454 [id(DISPID_XMLDOM_SELECTION_MATCHES
)]
456 [in] IXMLDOMNode
*pNode
,
457 [retval, out] IXMLDOMNode
**ppNode
);
459 [id(DISPID_XMLDOM_SELECTION_REMOVENEXT
)]
461 [retval, out] IXMLDOMNode
**ppNode
);
463 [id(DISPID_XMLDOM_SELECTION_REMOVEALL
)]
466 [id(DISPID_XMLDOM_SELECTION_CLONE
)]
468 [retval, out] IXMLDOMSelection
**ppNode
);
470 [id(DISPID_XMLDOM_SELECTION_GETPROPERTY
)]
473 [retval, out] VARIANT * var
);
475 [id(DISPID_XMLDOM_SELECTION_SETPROPERTY
)]
484 uuid (2933BF83
-7B36
-11d2
-B20E
-00C04F983E60
)
486 interface IXMLDOMNamedNodeMap
: IDispatch
488 [id(DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM
)]
489 HRESULT getNamedItem
(
491 [retval, out] IXMLDOMNode
**outNode
);
493 [id(DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM
)]
494 HRESULT setNamedItem
(
495 [in] IXMLDOMNode
*newNode
,
496 [retval, out] IXMLDOMNode
**outNode
);
498 [id(DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM
)]
499 HRESULT removeNamedItem
(
501 [retval, out] IXMLDOMNode
**outNode
);
503 [propget, id(DISPID_VALUE
)]
504 HRESULT item
([in] long lIndex
, [retval, out] IXMLDOMNode
**outNode
);
506 [propget, id(DISPID_DOM_NODELIST_LENGTH
)]
507 HRESULT length
([retval, out] long *lLength
);
509 [id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM
)]
510 HRESULT getQualifiedItem
(
513 [retval, out] IXMLDOMNode
**outNode
);
515 [id(DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM
)]
516 HRESULT removeQualifiedItem
(
519 [retval, out] IXMLDOMNode
**outNode
);
521 [id(DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE
)]
523 [retval, out] IXMLDOMNode
**outNode
);
525 [id(DISPID_XMLDOM_NAMEDNODEMAP_RESET
)]
528 [propget, id(DISPID_NEWENUM
)]
529 HRESULT _newEnum
([retval, out] IUnknown
**ppUnk
);
535 uuid (3efaa413
-272f
-11d2
-836f
-0000f87a7782
)
537 interface IXMLDOMDocumentFragment
: IXMLDOMNode
544 uuid (2933BF84
-7B36
-11d2
-B20E
-00C04F983E60
)
546 interface IXMLDOMCharacterData
: IXMLDOMNode
548 [propget, id(DISPID_DOM_DATA_DATA
)]
549 HRESULT data
([retval, out] BSTR *p
);
551 [propput, id(DISPID_DOM_DATA_DATA
)]
552 HRESULT data
([in] BSTR data
);
554 [propget, id(DISPID_DOM_DATA_LENGTH
)]
555 HRESULT length
([retval, out] long *len
);
557 [id(DISPID_DOM_DATA_SUBSTRING
)]
558 HRESULT substringData
(
561 [retval, out] BSTR *p
);
563 [id(DISPID_DOM_DATA_APPEND
)]
567 [id(DISPID_DOM_DATA_INSERT
)]
572 [id(DISPID_DOM_DATA_DELETE
)]
577 [id(DISPID_DOM_DATA_REPLACE
)]
587 uuid (2933BF85
-7B36
-11d2
-B20E
-00C04F983E60
)
589 interface IXMLDOMAttribute
: IXMLDOMNode
591 [propget, id(DISPID_DOM_ATTRIBUTE_GETNAME
)]
592 HRESULT name
([retval, out] BSTR *p
);
594 [propget, id(DISPID_DOM_ATTRIBUTE_VALUE
)]
595 HRESULT value
([retval, out] VARIANT *var1
);
597 [propput, id(DISPID_DOM_ATTRIBUTE_VALUE
)]
598 HRESULT value
([in] VARIANT var1
);
604 uuid (2933BF86
-7B36
-11d2
-B20E
-00C04F983E60
)
606 interface IXMLDOMElement
: IXMLDOMNode
608 [propget, id(DISPID_DOM_ELEMENT_GETTAGNAME
)]
609 HRESULT tagName
([retval, out] BSTR *p
);
611 [id(DISPID_DOM_ELEMENT_GETATTRIBUTE
)]
612 HRESULT getAttribute
(
614 [retval, out] VARIANT *var
);
616 [id(DISPID_DOM_ELEMENT_SETATTRIBUTE
)]
617 HRESULT setAttribute
(
621 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTE
)]
622 HRESULT removeAttribute
(
625 [id(DISPID_DOM_ELEMENT_GETATTRIBUTENODE
)]
626 HRESULT getAttributeNode
(
628 [retval, out] IXMLDOMAttribute
**attributeNode
);
630 [id(DISPID_DOM_ELEMENT_SETATTRIBUTENODE
)]
631 HRESULT setAttributeNode
(
632 [in] IXMLDOMAttribute
*domAttribute
,
633 [retval, out] IXMLDOMAttribute
**attributeNode
);
635 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE
)]
636 HRESULT removeAttributeNode
(
637 [in] IXMLDOMAttribute
*domAttribute
,
638 [retval, out] IXMLDOMAttribute
**attributeNode
);
640 [id(DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME
)]
641 HRESULT getElementsByTagName
(
643 [retval, out] IXMLDOMNodeList
**resultList
);
645 [id(DISPID_DOM_ELEMENT_NORMALIZE
)]
652 uuid (2933BF87
-7B36
-11d2
-B20E
-00C04F983E60
)
654 interface IXMLDOMText
: IXMLDOMCharacterData
656 [id(DISPID_DOM_TEXT_SPLITTEXT
)]
659 [retval, out] IXMLDOMText
**txtNode
);
665 uuid (2933BF88
-7B36
-11d2
-B20E
-00C04F983E60
)
667 interface IXMLDOMComment
: IXMLDOMCharacterData
674 uuid (2933BF89
-7B36
-11d2
-B20E
-00C04F983E60
)
676 interface IXMLDOMProcessingInstruction
: IXMLDOMNode
678 [propget, id(DISPID_DOM_PI_TARGET
)]
679 HRESULT target
([retval, out] BSTR *p
);
681 [propget, id(DISPID_DOM_PI_DATA
)]
682 HRESULT data
([retval, out] BSTR *p
);
684 [propput, id(DISPID_DOM_PI_DATA
)]
685 HRESULT data
([in] BSTR p
);
691 uuid (2933BF8A
-7B36
-11d2
-B20E
-00C04F983E60
)
693 interface IXMLDOMCDATASection
: IXMLDOMText
700 uuid (2933BF8B
-7B36
-11d2
-B20E
-00C04F983E60
)
702 interface IXMLDOMDocumentType
: IXMLDOMNode
704 [propget, id(DISPID_DOM_DOCUMENTTYPE_NAME
)]
705 HRESULT name
([retval, out] BSTR *p
);
707 [propget, id(DISPID_DOM_DOCUMENTTYPE_ENTITIES
)]
708 HRESULT entities
([retval, out] IXMLDOMNamedNodeMap
**entityMap
);
710 [propget, id(DISPID_DOM_DOCUMENTTYPE_NOTATIONS
)]
711 HRESULT notations
([retval, out] IXMLDOMNamedNodeMap
**notationMap
);
717 uuid (2933BF8C
-7B36
-11d2
-B20E
-00C04F983E60
)
719 interface IXMLDOMNotation
: IXMLDOMNode
721 [propget, id(DISPID_DOM_NOTATION_PUBLICID
)]
722 HRESULT publicId
([retval, out] VARIANT *id);
724 [propget, id(DISPID_DOM_NOTATION_SYSTEMID
)]
725 HRESULT systemId
([retval, out] VARIANT *id);
731 uuid (2933BF8D
-7B36
-11d2
-B20E
-00C04F983E60
)
733 interface IXMLDOMEntity
: IXMLDOMNode
735 [propget, id(DISPID_DOM_ENTITY_PUBLICID
)]
736 HRESULT publicId
([retval, out] VARIANT *id1
);
738 [propget, id(DISPID_DOM_ENTITY_SYSTEMID
)]
739 HRESULT systemId
([retval, out] VARIANT *id1
);
741 [propget, id(DISPID_DOM_ENTITY_NOTATIONNAME
)]
742 HRESULT notationName
([retval, out] BSTR *p
);
748 uuid (2933BF8E
-7B36
-11d2
-B20E
-00C04F983E60
)
750 interface IXMLDOMEntityReference
: IXMLDOMNode
757 uuid (2933BF8F
-7B36
-11d2
-B20E
-00C04F983E60
)
759 interface IXMLDOMImplementation
: IDispatch
761 [id(DISPID_DOM_IMPLEMENTATION_HASFEATURE
)]
765 [retval, out] VARIANT_BOOL *pbool
);
771 uuid (3efaa425
-272f
-11d2
-836f
-0000f87a7782
)
773 interface IXTLRuntime
: IXMLDOMNode
775 [id(DISPID_XTLRUNTIME_UNIQUEID
)]
777 [in]IXMLDOMNode
*pNode
,
778 [retval, out]long *pID
);
780 [id(DISPID_XTLRUNTIME_DEPTH
)]
782 [in] IXMLDOMNode
*pNode
,
783 [retval, out]long * pDepth
);
785 [id(DISPID_XTLRUNTIME_CHILDNUMBER
)]
787 [in]IXMLDOMNode
*pNode
,
788 [retval, out] long *pNumber
);
790 [id(DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER
)]
791 HRESULT ancestorChildNumber
(
793 [in]IXMLDOMNode
*pNode
,
794 [retval, out]long *pNumber
);
796 [id(DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER
)]
797 HRESULT absoluteChildNumber
(
798 [in]IXMLDOMNode
*pNode
,
799 [retval, out]long *pNumber
);
801 [id(DISPID_XTLRUNTIME_FORMATINDEX
)]
805 [retval, out]BSTR *pbstr
);
807 [id(DISPID_XTLRUNTIME_FORMATNUMBER
)]
808 HRESULT formatNumber
(
809 [in] double dblNumber
,
811 [retval, out]BSTR *pbstr
);
813 [id(DISPID_XTLRUNTIME_FORMATDATE
)]
817 [optional, in] VARIANT var2
,
818 [retval, out]BSTR *pbstr
);
820 [id(DISPID_XTLRUNTIME_FORMATTIME
)]
824 [optional, in] VARIANT var2
,
825 [retval, out]BSTR *pbstr
);
830 uuid(3efaa427
-272f
-11d2
-836f
-0000f87a7782
)
832 dispinterface XMLDOMDocumentEvents
836 [id (DISPID_XMLDOMEVENT_ONDATAAVAILABLE
)]
837 HRESULT ondataavailable
();
839 [id (DISPID_XMLDOMEVENT_ONREADYSTATECHANGE
)]
840 HRESULT onreadystatechange
();
846 uuid (2933BF92
-7B36
-11d2
-B20E
-00C04F983E60
)
848 interface IXSLProcessor
: IDispatch
850 [propput, id(DISPID_XMLDOM_PROCESSOR_INPUT
)]
851 HRESULT input
([in] VARIANT var
);
853 [propget, id(DISPID_XMLDOM_PROCESSOR_INPUT
)]
854 HRESULT input
([retval, out] VARIANT *var
);
856 [propget, id(DISPID_XMLDOM_PROCESSOR_XSLTEMPLATE
)]
857 HRESULT ownerTemplate
([retval, out] IXSLTemplate
**ppTemplate
);
859 [id(DISPID_XMLDOM_PROCESSOR_SETSTARTMODE
)]
860 HRESULT setStartMode
(
862 [in, defaultvalue("")] BSTR uri
);
864 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODE
)]
865 HRESULT startMode
([retval, out] BSTR *p
);
867 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODEURI
)]
868 HRESULT startModeURI
([retval, out] BSTR *uri
);
870 [propput, id(DISPID_XMLDOM_PROCESSOR_OUTPUT
)]
871 HRESULT output
([in] VARIANT var
);
873 [propget, id(DISPID_XMLDOM_PROCESSOR_OUTPUT
)]
874 HRESULT output
([retval, out] VARIANT *var
);
876 [id(DISPID_XMLDOM_PROCESSOR_TRANSFORM
)]
878 [retval, out] VARIANT_BOOL *pbool
);
880 [id(DISPID_XMLDOM_PROCESSOR_RESET
)]
883 [propget, id(DISPID_XMLDOM_PROCESSOR_READYSTATE
)]
884 HRESULT readyState
([retval, out] long *pstate
);
886 [id(DISPID_XMLDOM_PROCESSOR_ADDPARAMETER
)]
887 HRESULT addParameter
(
890 [in, defaultvalue("")] BSTR uri
);
892 [id(DISPID_XMLDOM_PROCESSOR_ADDOBJECT
)]
897 [propget, id(DISPID_XMLDOM_PROCESSOR_STYLESHEET
)]
898 HRESULT stylesheet
([retval, out] IXMLDOMNode
**node
);
904 uuid (2933BF93
-7B36
-11d2
-B20E
-00C04F983E60
)
906 interface IXSLTemplate
: IDispatch
908 [propputref, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET
)]
909 HRESULT stylesheet
([in] IXMLDOMNode
*node
);
911 [propget, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET
)]
912 HRESULT stylesheet
([retval, out] IXMLDOMNode
**node
);
914 [id(DISPID_XMLDOM_TEMPLATE_CREATEPROCESSOR
)]
915 HRESULT createProcessor
(
916 [retval, out] IXSLProcessor
**ppProcessor
);
922 uuid (3efaa426
-272f
-11d2
-836f
-0000f87a7782
)
924 interface IXMLDOMParseError
: IDispatch
926 [propget, id(DISPID_VALUE
)]
927 HRESULT errorCode
([retval, out] long *errCode
);
929 [propget, id(DISPID_DOM_ERROR_URL
)]
930 HRESULT url
([retval, out] BSTR *p
);
932 [propget, id(DISPID_DOM_ERROR_REASON
)]
933 HRESULT reason
([retval, out] BSTR *p
);
935 [propget, id(DISPID_DOM_ERROR_SRCTEXT
)]
936 HRESULT srcText
([retval, out] BSTR *p
);
938 [propget, id(DISPID_DOM_ERROR_LINE
)]
939 HRESULT line
([retval, out] long *lineNo
);
941 [propget, id(DISPID_DOM_ERROR_LINEPOS
)]
942 HRESULT linepos
([retval, out] long * linePos
);
944 [propget, id(DISPID_DOM_ERROR_FILEPOS
)]
945 HRESULT filepos
([retval, out] long * filePos
);
949 uuid(F6D90F11
-9C73
-11D3
-B32E
-00C04F990BB4
)
953 [default] interface IXMLDOMDocument2
;
954 [default, source] dispinterface XMLDOMDocumentEvents
;
958 uuid(f5078f1b
-c551
-11d3
-89b9
-0000f81fe221
)
960 coclass DOMDocument26
962 [default] interface IXMLDOMDocument2
;
963 [default, source] dispinterface XMLDOMDocumentEvents
;
967 uuid(f5078f32
-c551
-11d3
-89b9
-0000f81fe221
)
969 coclass DOMDocument30
971 [default] interface IXMLDOMDocument2
;
972 [default, source] dispinterface XMLDOMDocumentEvents
;
977 uuid(F6D90F12
-9C73
-11D3
-B32E
-00C04F990BB4
)
979 coclass FreeThreadedDOMDocument
981 [default] interface IXMLDOMDocument2
;
982 [default, source] dispinterface XMLDOMDocumentEvents
;
986 uuid(f5078f1c
-c551
-11d3
-89b9
-0000f81fe221
)
988 coclass FreeThreadedDOMDocument26
990 [default] interface IXMLDOMDocument2
;
991 [default, source] dispinterface XMLDOMDocumentEvents
;
995 uuid(f5078f33
-c551
-11d3
-89b9
-0000f81fe221
)
997 coclass FreeThreadedDOMDocument30
999 [default] interface IXMLDOMDocument2
;
1000 [default, source] dispinterface XMLDOMDocumentEvents
;
1004 uuid(373984c9
-b845
-449b
-91e7
-45ac83036ade
)
1006 coclass XMLSchemaCache
1008 [default] interface IXMLDOMSchemaCollection
;
1012 uuid(f5078f1d
-c551
-11d3
-89b9
-0000f81fe221
)
1014 coclass XMLSchemaCache26
1016 [default] interface IXMLDOMSchemaCollection
;
1020 uuid(f5078f34
-c551
-11d3
-89b9
-0000f81fe221
)
1022 coclass XMLSchemaCache30
1024 [default] interface IXMLDOMSchemaCollection
;
1028 uuid(2933BF94
-7B36
-11d2
-B20E
-00C04F983E60
)
1032 [default] interface IXSLTemplate
;
1036 uuid(f5078f21
-c551
-11d3
-89b9
-0000f81fe221
)
1038 coclass XSLTemplate26
1040 [default] interface IXSLTemplate
;
1044 uuid(f5078f36
-c551
-11d3
-89b9
-0000f81fe221
)
1046 coclass XSLTemplate30
1048 [default] interface IXSLTemplate
;