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
;
1075 uuid(F6D90F12
-9C73
-11D3
-B32E
-00C04F990BB4
)
1077 coclass FreeThreadedDOMDocument
1079 [default] interface IXMLDOMDocument2
;
1080 [default, source] dispinterface XMLDOMDocumentEvents
;
1084 uuid(f5078f1c
-c551
-11d3
-89b9
-0000f81fe221
)
1086 coclass FreeThreadedDOMDocument26
1088 [default] interface IXMLDOMDocument2
;
1089 [default, source] dispinterface XMLDOMDocumentEvents
;
1093 uuid(f5078f33
-c551
-11d3
-89b9
-0000f81fe221
)
1095 coclass FreeThreadedDOMDocument30
1097 [default] interface IXMLDOMDocument2
;
1098 [default, source] dispinterface XMLDOMDocumentEvents
;
1102 uuid(373984c9
-b845
-449b
-91e7
-45ac83036ade
)
1104 coclass XMLSchemaCache
1106 [default] interface IXMLDOMSchemaCollection
;
1110 uuid(f5078f1d
-c551
-11d3
-89b9
-0000f81fe221
)
1112 coclass XMLSchemaCache26
1114 [default] interface IXMLDOMSchemaCollection
;
1118 uuid(f5078f34
-c551
-11d3
-89b9
-0000f81fe221
)
1120 coclass XMLSchemaCache30
1122 [default] interface IXMLDOMSchemaCollection
;
1126 uuid(2933BF94
-7B36
-11d2
-B20E
-00C04F983E60
)
1130 [default] interface IXSLTemplate
;
1134 uuid(f5078f21
-c551
-11d3
-89b9
-0000f81fe221
)
1136 coclass XSLTemplate26
1138 [default] interface IXSLTemplate
;
1142 uuid(f5078f36
-c551
-11d3
-89b9
-0000f81fe221
)
1144 coclass XSLTemplate30
1146 [default] interface IXSLTemplate
;
1155 uuid(f078abe1
-45d2
-4832-91ea
-4466ce2f25c9
)
1157 interface ISAXAttributes
: IUnknown
1160 [out, retval] int *length
);
1164 [out] const WCHAR
**pUrl
,
1165 [out] int *pUriSize
);
1167 HRESULT getLocalName
(
1169 [out] const WCHAR
**pLocalName
,
1170 [out] int *pLocalNameLength
);
1174 [out] const WCHAR
**pQName
,
1175 [out] int *pQNameLength
);
1179 [out] const WCHAR
**pUri
,
1180 [out] int * pUriLength
,
1181 [out] const WCHAR
** pLocalName
,
1182 [out] int * pLocalNameSize
,
1183 [out] const WCHAR
** pQName
,
1184 [out] int * pQNameLength
);
1186 HRESULT getIndexFromName
(
1187 [in] const WCHAR
* pUri
,
1188 [in] int cUriLength
,
1189 [in] const WCHAR
* pLocalName
,
1190 [in] int cocalNameLength
,
1191 [out, retval] int * index
);
1193 HRESULT getIndexFromQName
(
1194 [in] const WCHAR
* pQName
,
1195 [in] int nQNameLength
,
1196 [out, retval] int * index
);
1200 [out] const WCHAR
** pType
,
1201 [out] int * pTypeLength
);
1203 HRESULT getTypeFromName
(
1204 [in] const WCHAR
* pUri
,
1206 [in] const WCHAR
* pLocalName
,
1207 [in] int nLocalName
,
1208 [out] const WCHAR
** pType
,
1211 HRESULT getTypeFromQName
(
1212 [in] const WCHAR
* pQName
,
1214 [out] const WCHAR
** pType
,
1219 [out] const WCHAR
** pValue
,
1220 [out] int * nValue
);
1222 HRESULT getValueFromName
(
1223 [in] const WCHAR
* pUri
,
1225 [in] const WCHAR
* pLocalName
,
1226 [in] int nLocalName
,
1227 [out] const WCHAR
** pValue
,
1228 [out] int * nValue
);
1230 HRESULT getValueFromQName
(
1231 [in] const WCHAR
* pQName
,
1233 [out] const WCHAR
** pValue
,
1234 [out] int * nValue
);
1240 uuid(1545cdfa
-9e4e
-4497
-a8a4
-2bf7d0112c44
)
1242 interface ISAXContentHandler
: IUnknown
1244 HRESULT putDocumentLocator
(
1245 [in] ISAXLocator
* pLocator
);
1247 HRESULT startDocument
();
1249 HRESULT endDocument
();
1251 HRESULT startPrefixMapping
(
1252 [in] const WCHAR
* pPrefix
,
1254 [in] const WCHAR
* pUri
,
1257 HRESULT endPrefixMapping
(
1258 [in] const WCHAR
* pPrefix
,
1261 HRESULT startElement
(
1262 [in] const WCHAR
* pNamespaceUri
,
1263 [in] int nNamespaceUri
,
1264 [in] const WCHAR
* pLocalName
,
1265 [in] int nLocalName
,
1266 [in] const WCHAR
* pQName
,
1268 [in] ISAXAttributes
* pAttr
);
1271 [in] const WCHAR
* pNamespaceUri
,
1272 [in] int nNamespaceUri
,
1273 [in] const WCHAR
* pLocalName
,
1274 [in] int nLocalName
,
1275 [in] const WCHAR
* pQName
,
1279 [in] const WCHAR
* pChars
,
1282 HRESULT ignorableWhitespace
(
1283 [in] const WCHAR
* pChars
,
1286 HRESULT processingInstruction
(
1287 [in] const WCHAR
* pTarget
,
1289 [in] const WCHAR
* pData
,
1292 HRESULT skippedEntity
(
1293 [in] const WCHAR
* pName
,
1300 uuid(862629ac
-771a
-47b2
-8337-4e6843c1be90
)
1302 interface ISAXDeclHandler
: IUnknown
1304 HRESULT elementDecl
(
1305 [in] const WCHAR
* pName
,
1307 [in] const WCHAR
* pModel
,
1310 HRESULT attributeDecl
(
1311 [in] const WCHAR
* pElementName
,
1312 [in] int nElementName
,
1313 [in] const WCHAR
* pAttributeName
,
1314 [in] int nAttributeName
,
1315 [in] const WCHAR
* pType
,
1317 [in] const WCHAR
* pValueDefault
,
1318 [in] int nValueDefault
,
1319 [in] const WCHAR
* pValue
,
1322 HRESULT internalEntityDecl
(
1323 [in] const WCHAR
* pName
,
1325 [in] const WCHAR
* pValue
,
1328 HRESULT externalEntityDecl
(
1329 [in] const WCHAR
* pName
,
1331 [in] const WCHAR
* pPublicId
,
1333 [in] const WCHAR
* pSystemId
,
1334 [in] int nSystemId
);
1340 uuid(e15c1baf
-afb3
-4d60
-8c36
-19a8c45defed
)
1342 interface ISAXDTDHandler
: IUnknown
1344 HRESULT notationDecl
(
1345 [in] const WCHAR
* pName
,
1347 [in] const WCHAR
* pPublicId
,
1349 [in] const WCHAR
* pSystemId
,
1350 [in] int nSystemId
);
1352 HRESULT unparsedEntityDecl
(
1353 [in] const WCHAR
* pName
,
1355 [in] const WCHAR
* pPublicId
,
1357 [in] const WCHAR
* pSystemId
,
1359 [in] const WCHAR
* pNotationName
,
1360 [in] int nNotationName
);
1366 uuid(99bca7bd
-e8c4
-4d5f
-a0cf
-6d907901ff07
),
1368 interface ISAXEntityResolver
: IUnknown
1370 HRESULT resolveEntity
(
1371 [in] const WCHAR
* pPublicId
,
1372 [in] const WCHAR
* pSystemId
,
1373 [out, retval] VARIANT * ret
);
1379 uuid(a60511c4
-ccf5
-479e-98a3
-dc8dc545b7d0
)
1381 interface ISAXErrorHandler
: IUnknown
1384 [in] ISAXLocator
* pLocator
,
1385 [in] const WCHAR
* pErrorMessage
,
1386 [in] HRESULT hrErrorCode
);
1389 [in] ISAXLocator
* pLocator
,
1390 [in] const WCHAR
* pErrorMessage
,
1391 [in] HRESULT hrErrorCode
);
1393 HRESULT ignorableWarning
(
1394 [in] ISAXLocator
* pLocator
,
1395 [in] const WCHAR
* pErrorMessage
,
1396 [in] HRESULT hrErrorCode
);
1402 uuid(7f85d5f5
-47a8
-4497-bda5
-84ba04819ea6
)
1404 interface ISAXLexicalHandler
: IUnknown
1407 [in] const WCHAR
* pName
,
1409 [in] const WCHAR
* pPublicId
,
1411 [in] const WCHAR
* pSystemId
,
1412 [in] int nSystemId
);
1416 HRESULT startEntity
(
1417 [in] const WCHAR
* pName
,
1421 [in] const WCHAR
* pName
,
1424 HRESULT startCDATA
();
1429 [in] const WCHAR
* pChars
,
1436 uuid(9b7e472a
-0de4
-4640-bff3
-84d38a051c31
)
1438 interface ISAXLocator
: IUnknown
1440 HRESULT getColumnNumber
(
1441 [out, retval] int * nColumn
);
1443 HRESULT getLineNumber
(
1444 [out, retval] int * nLine
);
1446 HRESULT getPublicId
(
1447 [out, retval] const WCHAR
** publicId
);
1449 HRESULT getSystemId
(
1450 [out, retval] const WCHAR
** systemId
);
1456 uuid(70409222-ca09
-4475-acb8
-40312fe8d145
)
1458 interface ISAXXMLFilter
: ISAXXMLReader
1461 [out, retval] ISAXXMLReader
** pReader
);
1463 [in] ISAXXMLReader
* reader
);
1469 uuid (a4f96ed0
-f829
-476e-81c0
-cdc7bd2a0802
)
1471 interface ISAXXMLReader
: IUnknown
1474 [in] const WCHAR
* pFeature
,
1475 [out, retval] VARIANT_BOOL * pValue
);
1477 [in] const WCHAR
* pFeature
,
1478 [in] VARIANT_BOOL vfValue
);
1480 HRESULT getProperty
(
1481 [in] const WCHAR
* pProp
,
1482 [out, retval] VARIANT * pValue
);
1483 HRESULT putProperty
(
1484 [in] const WCHAR
* pProp
,
1485 [in] VARIANT value
);
1487 HRESULT getEntityResolver
(
1488 [out, retval] ISAXEntityResolver
** ppEntityResolver
);
1489 HRESULT putEntityResolver
(
1490 [in] ISAXEntityResolver
* pEntityResolver
);
1492 HRESULT getContentHandler
(
1493 [out, retval] ISAXContentHandler
** pContentHandler
);
1494 HRESULT putContentHandler
(
1495 [in] ISAXContentHandler
* contentHandler
);
1497 HRESULT getDTDHandler
(
1498 [out, retval] ISAXDTDHandler
** pDTDHandler
);
1499 HRESULT putDTDHandler
(
1500 [in] ISAXDTDHandler
* pDTDHandler
);
1502 HRESULT getErrorHandler
(
1503 [out, retval] ISAXErrorHandler
** pErrorHandler
);
1504 HRESULT putErrorHandler
(
1505 [in] ISAXErrorHandler
* errorHandler
);
1508 [out, retval] const WCHAR
** pBaseUrl
);
1510 [in] const WCHAR
* pBaseUrl
);
1512 HRESULT getSecureBaseURL
(
1513 [out, retval] const WCHAR
** pSecureBaseUrl
);
1514 HRESULT putSecureBaseURL
(
1515 [in] const WCHAR
* secureBaseUrl
);
1518 [in] VARIANT varInput
);
1520 [in] const WCHAR
* url
);
1526 uuid(10dc0586
-132b
-4cac
-8bb3
-db00ac8b7ee0
)
1528 interface IVBSAXAttributes
: IDispatch
1530 [propget, id(DISPID_SAX_ATTRIBUTES_LENGTH
)]
1531 HRESULT length
( [out, retval] int * nLength
);
1533 [id(DISPID_SAX_ATTRIBUTES_GETURI
)]
1534 HRESULT getURI
( [in] int nIndex
, [out, retval] BSTR * uri
);
1536 [id(DISPID_SAX_ATTRIBUTES_GETLOCALNAME
)]
1537 HRESULT getLocalName
( [in] int nIndex
, [out, retval] BSTR * localName
);
1539 [id(DISPID_SAX_ATTRIBUTES_GETQNAME
)]
1540 HRESULT getQName
( [in] int nIndex
, [out, retval] BSTR * QName
);
1542 [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMNAME
)]
1543 HRESULT getIndexFromName
( [in] BSTR uri
,
1544 [in] BSTR localName
, [out, retval] int * nIndex
);
1546 [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMQNAME
)]
1547 HRESULT getIndexFromQName
( [in] BSTR QName
, [out, retval] int * nIndex
);
1549 [id(DISPID_SAX_ATTRIBUTES_GETTYPE
)]
1550 HRESULT getType
( [in] int nIndex
, [out, retval] BSTR * type
);
1552 [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMNAME
)]
1553 HRESULT getTypeFromName
( [in] BSTR uri
, [in] BSTR localName
,
1554 [out, retval] BSTR * type
);
1556 [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMQNAME
)]
1557 HRESULT getTypeFromQName
( [in] BSTR QName
, [out, retval] BSTR * type
);
1559 [id(DISPID_SAX_ATTRIBUTES_GETVALUE
)]
1560 HRESULT getValue
( [in] int nIndex
, [out, retval] BSTR * value
);
1562 [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMNAME
)]
1563 HRESULT getValueFromName
( [in] BSTR uri
,
1564 [in] BSTR localName
,
1565 [out, retval] BSTR * value
);
1567 [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMQNAME
)]
1568 HRESULT getValueFromQName
( [in] BSTR QName
, [out, retval] BSTR * value
);
1574 uuid(2ed7290a
-4dd5
-4b46
-bb26
-4e4155e77faa
)
1576 interface IVBSAXContentHandler
: IDispatch
1578 [propputref, id(DISPID_SAX_CONTENTHANDLER_DOCUMENTLOCATOR
)]
1579 HRESULT documentLocator
( [in] IVBSAXLocator
* oLocator
);
1581 [id(DISPID_SAX_CONTENTHANDLER_STARTDOCUMENT
)]
1582 HRESULT startDocument
();
1584 [id(DISPID_SAX_CONTENTHANDLER_ENDDOCUMENT
)]
1585 HRESULT endDocument
();
1587 [id(DISPID_SAX_CONTENTHANDLER_STARTPREFIXMAPPING
)]
1588 HRESULT startPrefixMapping
( [in, out] BSTR * prefix
, [in, out] BSTR * uri
);
1590 [id(DISPID_SAX_CONTENTHANDLER_ENDPREFIXMAPPING
)]
1591 HRESULT endPrefixMapping
( [in, out] BSTR * prefix
);
1593 [id(DISPID_SAX_CONTENTHANDLER_STARTELEMENT
)]
1594 HRESULT startElement
( [in, out] BSTR * namespaceURI
,
1595 [in, out] BSTR * localName
,
1596 [in, out] BSTR * QName
,
1597 [in] IVBSAXAttributes
* oAttributes
);
1599 [id(DISPID_SAX_CONTENTHANDLER_ENDELEMENT
)]
1600 HRESULT endElement
( [in, out] BSTR * namespaceURI
,
1601 [in, out] BSTR * localName
, [in, out] BSTR * strQName
);
1603 [id(DISPID_SAX_CONTENTHANDLER_CHARACTERS
)]
1604 HRESULT characters
( [in, out] BSTR * chars
);
1606 [id(DISPID_SAX_CONTENTHANDLER_IGNORABLEWHITESPACE
)]
1607 HRESULT ignorableWhitespace
( [in, out] BSTR * chars
);
1609 [id(DISPID_SAX_CONTENTHANDLER_PROCESSINGINSTRUCTION
)]
1610 HRESULT processingInstruction
( [in, out] BSTR * target
,
1611 [in, out] BSTR * data
);
1613 [id(DISPID_SAX_CONTENTHANDLER_SKIPPEDENTITY
)]
1614 HRESULT skippedEntity
( [in, out] BSTR * name
);
1620 uuid(e8917260
-7579-4be1
-b5dd
-7afbfa6f077b
)
1622 interface IVBSAXDeclHandler
: IDispatch
1624 [id(DISPID_SAX_DECLHANDLER_ELEMENTDECL
)]
1625 HRESULT elementDecl
(
1626 [in, out] BSTR * name
,
1627 [in, out] BSTR * model
);
1629 [id(DISPID_SAX_DECLHANDLER_ATTRIBUTEDECL
)]
1630 HRESULT attributeDecl
(
1631 [in, out] BSTR * elementName
,
1632 [in, out] BSTR * attributeName
,
1633 [in, out] BSTR * type
,
1634 [in, out] BSTR * valueDefault
,
1635 [in, out] BSTR * value
);
1637 [id(DISPID_SAX_DECLHANDLER_INTERNALENTITYDECL
)]
1638 HRESULT internalEntityDecl
(
1639 [in, out] BSTR * name
,
1640 [in, out] BSTR * value
);
1642 [id(DISPID_SAX_DECLHANDLER_EXTERNALENTITYDECL
)]
1643 HRESULT externalEntityDecl
(
1644 [in, out] BSTR * name
,
1645 [in, out] BSTR * publicId
,
1646 [in, out] BSTR * systemId
);
1652 uuid(24fb3297
-302d
-4620-ba39
-3a732d850558
)
1654 interface IVBSAXDTDHandler
: IDispatch
1656 [id(DISPID_SAX_DTDHANDLER_NOTATIONDECL
)]
1657 HRESULT notationDecl
(
1658 [in, out] BSTR * name
,
1659 [in, out] BSTR * publicId
,
1660 [in, out] BSTR * systemId
);
1662 [id(DISPID_SAX_DTDHANDLER_UNPARSEDENTITYDECL
)]
1663 HRESULT unparsedEntityDecl
(
1664 [in, out] BSTR * name
,
1665 [in, out] BSTR * publicId
,
1666 [in, out] BSTR * systemId
,
1667 [in, out] BSTR * notationName
);
1673 uuid(0c05d096
-f45b
-4aca
-ad1a
-aa0bc25518dc
)
1675 interface IVBSAXEntityResolver
: IDispatch
1677 [id(DISPID_SAX_ENTITYRESOLVER_RESOLVEENTITY
)]
1678 HRESULT resolveEntity
(
1679 [in, out] BSTR * publicId
,
1680 [in, out] BSTR * systemId
,
1681 [out, retval] VARIANT * ret
);
1687 uuid(d963d3fe
-173c
-4862-9095-b92f66995f52
)
1689 interface IVBSAXErrorHandler
: IDispatch
1691 [id(DISPID_SAX_ERRORHANDLER_ERROR
)]
1693 [in] IVBSAXLocator
* locator
,
1694 [in, out] BSTR * errorMessage
,
1695 [in] LONG errorCode
);
1697 [id(DISPID_SAX_ERRORHANDLER_FATALERROR
)]
1699 [in] IVBSAXLocator
* locator
,
1700 [in, out] BSTR * errorMessage
,
1701 [in] LONG errorCode
);
1703 [id(DISPID_SAX_ERRORHANDLER_IGNORABLEWARNING
)]
1704 HRESULT ignorableWarning
(
1705 [in] IVBSAXLocator
* locator
,
1706 [in, out] BSTR * errorMessage
,
1707 [in] LONG errorCode
);
1713 uuid(032aac35
-8c0e
-4d9d
-979f
-e3b702935576
)
1715 interface IVBSAXLexicalHandler
: IDispatch
1717 [id(DISPID_SAX_LEXICALHANDLER_STARTDTD
)]
1719 [in, out] BSTR * name
,
1720 [in, out] BSTR * publicId
,
1721 [in, out] BSTR * systemId
);
1722 [id(DISPID_SAX_LEXICALHANDLER_ENDDTD
)]
1725 [id(DISPID_SAX_LEXICALHANDLER_STARTENTITY
)]
1726 HRESULT startEntity
([in, out] BSTR * name
);
1727 [id(DISPID_SAX_LEXICALHANDLER_ENDENTITY
)]
1728 HRESULT endEntity
([in, out] BSTR * name
);
1730 [id(DISPID_SAX_LEXICALHANDLER_STARTCDATA
)]
1731 HRESULT startCDATA
();
1732 [id(DISPID_SAX_LEXICALHANDLER_ENDCDATA
)]
1735 [id(DISPID_SAX_LEXICALHANDLER_COMMENT
)]
1736 HRESULT comment
( [in, out] BSTR * chars
);
1741 uuid(796e7ac5
-5aa2
-4eff
-acad
-3faaf01a3288
)
1743 interface IVBSAXLocator
: IDispatch
1745 [propget, id(DISPID_SAX_LOCATOR_COLUMNNUMBER
)]
1746 HRESULT columnNumber
( [out, retval] int * column
);
1748 [propget, id(DISPID_SAX_LOCATOR_LINENUMBER
)]
1749 HRESULT lineNumber
( [out, retval] int * line
);
1751 [propget, id(DISPID_SAX_LOCATOR_PUBLICID
)]
1752 HRESULT publicId
( [out, retval] BSTR * publicId
);
1754 [propget, id(DISPID_SAX_LOCATOR_SYSTEMID
)]
1755 HRESULT systemId
( [out, retval] BSTR * systemId
);
1761 uuid(1299eb1b
-5b88
-433e-82de
-82ca75ad4e04
)
1763 interface IVBSAXXMLFilter
: IDispatch
1765 [propget, id(DISPID_SAX_XMLFILTER_PARENT
)]
1766 HRESULT parent
( [out, retval] IVBSAXXMLReader
** reader
);
1767 [propputref, id(DISPID_SAX_XMLFILTER_PARENT
)]
1768 HRESULT parent
( [in] IVBSAXXMLReader
* reader
);
1775 uuid (8c033caa
-6cd6
-4f73
-b728
-4531af74945f
)
1777 interface IVBSAXXMLReader
: IDispatch
1779 [id(DISPID_SAX_XMLREADER_GETFEATURE
)]
1780 HRESULT getFeature
( [in] const WCHAR
* pFeature
,
1781 [out, retval] VARIANT_BOOL * pValue
);
1782 [id(DISPID_SAX_XMLREADER_PUTFEATURE
)]
1783 HRESULT putFeature
( [in] const WCHAR
* pFeature
,
1784 [in] VARIANT_BOOL vfValue
);
1786 [id(DISPID_SAX_XMLREADER_GETPROPERTY
)]
1787 HRESULT getProperty
( [in] const WCHAR
* pProp
,
1788 [out, retval] VARIANT * pValue
);
1789 [id(DISPID_SAX_XMLREADER_PUTPROPERTY
)]
1790 HRESULT putProperty
( [in] const WCHAR
* pProp
, [in] VARIANT value
);
1792 [propget, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER
)]
1793 HRESULT entityResolver
(
1794 [out, retval] IVBSAXEntityResolver
** ppEntityResolver
);
1795 [propputref, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER
)]
1796 HRESULT entityResolver
( [in] IVBSAXEntityResolver
* pEntityResolver
);
1798 [propget, id(DISPID_SAX_XMLREADER_CONTENTHANDLER
)]
1799 HRESULT contentHandler
(
1800 [out, retval] IVBSAXContentHandler
** pContentHandler
);
1801 [propputref, id(DISPID_SAX_XMLREADER_CONTENTHANDLER
)]
1802 HRESULT contentHandler
([in] IVBSAXContentHandler
* contentHandler
);
1804 [propget, id(DISPID_SAX_XMLREADER_DTDHANDLER
)]
1805 HRESULT dtdHandler
([out, retval] IVBSAXDTDHandler
** pDTDHandler
);
1806 [propputref, id(DISPID_SAX_XMLREADER_DTDHANDLER
)]
1807 HRESULT dtdHandler
([in] IVBSAXDTDHandler
* pDTDHandler
);
1809 [propget, id(DISPID_SAX_XMLREADER_ERRORHANDLER
)]
1810 HRESULT errorHandler
([out, retval] IVBSAXErrorHandler
** pErrorHandler
);
1811 [propputref, id(DISPID_SAX_XMLREADER_ERRORHANDLER
)]
1812 HRESULT errorHandler
([in] IVBSAXErrorHandler
* errorHandler
);
1814 [propget, id(DISPID_SAX_XMLREADER_BASEURL
)]
1815 HRESULT baseURL
([out, retval] const WCHAR
** pBaseUrl
);
1816 [propput, id(DISPID_SAX_XMLREADER_BASEURL
)]
1817 HRESULT baseURL
([in] const WCHAR
* pBaseUrl
);
1819 [propget, id(DISPID_SAX_XMLREADER_SECUREBASEURL
)]
1820 HRESULT secureBaseURL
([out, retval] const WCHAR
** pSecureBaseUrl
);
1821 [propput, id(DISPID_SAX_XMLREADER_SECUREBASEURL
)]
1822 HRESULT secureBaseURL
([in] const WCHAR
* secureBaseUrl
);
1824 [id(DISPID_SAX_XMLREADER_PARSE
)]
1825 HRESULT parse
( [in] VARIANT varInput
);
1826 [id(DISPID_SAX_XMLREADER_PARSEURL
)]
1827 HRESULT parseURL
([in] const WCHAR
* url
);
1833 uuid(f10d27cc
-3ec0
-415c
-8ed8
-77ab1c5e7262
)
1835 interface IMXAttributes
: IDispatch
1837 [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTE
)]
1838 HRESULT addAttribute
(
1840 [in] BSTR localName
,
1845 [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTEFROMINDEX
)]
1846 HRESULT addAttributeFromIndex
( [in] VARIANT atts
,
1849 [id(DISPID_MX_ATTRIBUTES_CLEAR
)]
1852 [id(DISPID_MX_ATTRIBUTES_REMOVEATTRIBUTE
)]
1853 HRESULT removeAttribute
( [in] int index
);
1855 [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTE
)]
1856 HRESULT setAttribute
(
1859 [in] BSTR localName
,
1864 [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTES
)]
1865 HRESULT setAttributes
( [in] VARIANT atts
);
1867 [id(DISPID_MX_ATTRIBUTES_SETLOCALNAME
)]
1868 HRESULT setLocalName
( [in] int index
,
1869 [in] BSTR localName
);
1871 [id(DISPID_MX_ATTRIBUTES_SETQNAME
)]
1876 [id(DISPID_MX_ATTRIBUTES_SETTYPE
)]
1877 HRESULT setType
( [in] int index
, [in] BSTR type
);
1879 [id(DISPID_MX_ATTRIBUTES_SETURI
)]
1880 HRESULT setURI
( [in] int index
, [in] BSTR uri
);
1882 [id(DISPID_MX_ATTRIBUTES_SETVALUE
)]
1883 HRESULT setValue
([in] int index
, [in] BSTR value
);
1889 uuid(808f4e35
-8d5a
-4fbe
-8466-33a41279ed30
)
1891 interface IMXReaderControl
: IDispatch
1893 [id(DISPID_MX_READER_CONTROL_ABORT
)]
1896 [id(DISPID_MX_READER_CONTROL_RESUME
)]
1899 [id(DISPID_MX_READER_CONTROL_SUSPEND
)]
1906 uuid(4d7ff4ba
-1565-4ea8
-94e1
-6e724a46f98d
)
1908 interface IMXWriter
: IDispatch
1910 [propput, id(DISPID_MX_WRITER_OUTPUT
)]
1911 HRESULT output
( [in] VARIANT Destination
);
1912 [propget, id(DISPID_MX_WRITER_OUTPUT
)]
1913 HRESULT output
( [out, retval] VARIANT * Destination
);
1915 [propput, id(DISPID_MX_WRITER_ENCODING
)]
1916 HRESULT encoding
([in] BSTR encoding
);
1917 [propget, id(DISPID_MX_WRITER_ENCODING
)]
1918 HRESULT encoding
([out, retval] BSTR * encoding
);
1920 [propput, id(DISPID_MX_WRITER_BYTEORDERMARK
)]
1921 HRESULT byteOrderMark
([in] VARIANT_BOOL writeByteOrderMark
);
1922 [propget, id(DISPID_MX_WRITER_BYTEORDERMARK
)]
1923 HRESULT byteOrderMark
([out, retval] VARIANT_BOOL * writeByteOrderMark
);
1925 [propput, id(DISPID_MX_WRITER_INDENT
)]
1926 HRESULT indent
([in] VARIANT_BOOL indentMode
);
1927 [propget, id(DISPID_MX_WRITER_INDENT
)]
1928 HRESULT indent
([out, retval] VARIANT_BOOL * indentMode
);
1930 [propput, id(DISPID_MX_WRITER_STANDALONE
)]
1931 HRESULT standalone
([in] VARIANT_BOOL value
);
1932 [propget, id(DISPID_MX_WRITER_STANDALONE
)]
1933 HRESULT standalone
([out, retval] VARIANT_BOOL * value
);
1935 [propput, id(DISPID_MX_WRITER_OMITXMLDECLARATION
)]
1936 HRESULT omitXMLDeclaration
([in] VARIANT_BOOL value
);
1937 [propget, id(DISPID_MX_WRITER_OMITXMLDECLARATION
)]
1938 HRESULT omitXMLDeclaration
([out, retval] VARIANT_BOOL * value
);
1940 [propput, id(DISPID_MX_WRITER_VERSION
)]
1941 HRESULT version ([in] BSTR version);
1942 [propget, id(DISPID_MX_WRITER_VERSION
)]
1943 HRESULT version ([out, retval] BSTR * version);
1945 [propput, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING
)]
1946 HRESULT disableOutputEscaping
([in] VARIANT_BOOL value
);
1947 [propget, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING
)]
1948 HRESULT disableOutputEscaping
([out, retval] VARIANT_BOOL * value
);
1950 [id(DISPID_MX_WRITER_FLUSH
)]
1955 uuid(079aa557
-4a18
-424a
-8eee
-e39f0a8d41b9
)
1957 coclass SAXXMLReader
1959 [default] interface IVBSAXXMLReader
;
1960 interface ISAXXMLReader
;
1961 interface IMXReaderControl
;
1965 uuid(3124c396
-fb13
-4836-a6ad
-1317f1713688
)
1967 coclass SAXXMLReader30
1969 [default] interface IVBSAXXMLReader
;
1970 interface ISAXXMLReader
;
1971 interface IMXReaderControl
;
1975 uuid(fc220ad8
-a72a
-4ee8
-926e-0b7ad152a020
)
1979 [default] interface IMXWriter
;
1981 interface ISAXContentHandler
;
1982 interface ISAXErrorHandler
;
1983 interface ISAXDTDHandler
;
1984 interface ISAXLexicalHandler
;
1985 interface ISAXDeclHandler
;
1987 interface IVBSAXContentHandler
;
1988 interface IVBSAXDeclHandler
;
1989 interface IVBSAXDTDHandler
;
1990 interface IVBSAXErrorHandler
;
1991 interface IVBSAXLexicalHandler
;
1995 uuid(3d813dfe
-6c91
-4a4e
-8f41
-04346a841d9c
)
1997 coclass MXXMLWriter30
1999 [default] interface IMXWriter
;
2001 interface ISAXContentHandler
;
2002 interface ISAXDeclHandler
;
2003 interface ISAXDTDHandler
;
2004 interface ISAXErrorHandler
;
2005 interface ISAXLexicalHandler
;
2007 interface IVBSAXContentHandler
;
2008 interface IVBSAXDeclHandler
;
2009 interface IVBSAXDTDHandler
;
2010 interface IVBSAXErrorHandler
;
2011 interface IVBSAXLexicalHandler
;
2015 uuid(4dd441ad
-526d
-4a77
-9f1b
-9841ed802fb0
)
2017 coclass SAXAttributes
2019 [default] interface IMXAttributes
;
2020 interface IVBSAXAttributes
;
2021 interface ISAXAttributes
;
2025 uuid(3e784a01
-f3ae
-4dc0
-9354-9526b9370eba
)
2027 coclass SAXAttributes30
2029 [default] interface IMXAttributes
;
2030 interface IVBSAXAttributes
;
2031 interface ISAXAttributes
;
2035 } /* Library MSXML */