91 IXMLDOMAttribute_AddRef(iface);
100 TRACE(
"%p, refcount %lu.\n", iface,
ref);
110 TRACE(
"%p, refcount %lu.\n", iface,
ref);
114 if (
This->floating )
116 xmlFreeNs(
This->node.node->ns );
117 xmlFreeNode(
This->node.node );
130 return IDispatchEx_GetTypeInfoCount(&
This->node.dispex.IDispatchEx_iface, pctinfo);
139 return IDispatchEx_GetTypeInfo(&
This->node.dispex.IDispatchEx_iface,
140 iTInfo,
lcid, ppTInfo);
149 return IDispatchEx_GetIDsOfNames(&
This->node.dispex.IDispatchEx_iface,
150 riid, rgszNames, cNames,
lcid, rgDispId);
157 EXCEPINFO* pExcepInfo,
UINT* puArgErr )
160 return IDispatchEx_Invoke(&
This->node.dispex.IDispatchEx_iface,
161 dispIdMember,
riid,
lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
203 TRACE(
"(%p)->(%p)\n",
This, domNodeType);
281 TRACE(
"(%p)->(%p)\n",
This, attributeMap);
299 hr = IXMLDOMNode_get_nodeType(newNode, &
type);
310 if (old_node) *old_node =
NULL;
325 FIXME(
"(%p)->(%p %p %p) needs tests\n",
This, newNode, oldNode, outOldNode);
371 TRACE(
"(%p)->(%d %p)\n",
This, deep, outNode);
380 static const WCHAR attributeW[] = {
'a',
't',
't',
'r',
'i',
'b',
'u',
't',
'e',0};
410 FIXME(
"(%p)->(%p) stub!\n",
This, isSpecified);
411 *isSpecified = VARIANT_TRUE;
420 FIXME(
"(%p)->(%p)\n",
This, definitionNode);
434 hr = IXMLDOMAttribute_get_ownerDocument(iface, &doc);
439 hr = IXMLDOMDocument_QueryInterface(doc, &IID_IXMLDOMDocument3, (
void**)&doc3);
440 IXMLDOMDocument_Release(doc);
446 hr = IXMLDOMDocument3_get_schemas(doc3, &schemas);
447 IXMLDOMDocument3_Release(doc3);
450 return IXMLDOMAttribute_get_value(iface,
value);
453 FIXME(
"need to query schema for attribute type\n");
537 FIXME(
"(%p)->(%p) stub!\n",
This, isParsed);
538 *isParsed = VARIANT_TRUE;
547 xmlNsPtr
ns =
This->node.node->ns;
559 hr = IXMLDOMAttribute_get_nodeName(iface, &nodename);
564 hr = IXMLDOMAttribute_get_prefix(iface, &pfx);
572 isdefault = !
wcscmp(nodename,
L"xmlns");
573 if (isdefault || (pfx && !
wcscmp(
L"xmlns", pfx)))
577 else if (!
ns || !isdefault)
582 else if (
ns &&
ns->href)
598 xmlNsPtr
ns =
This->node.node->ns;
740 This->floating = floating;
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
_ACRTIMP int __cdecl wcscmp(const wchar_t *, const wchar_t *)
static HRESULT WINAPI domattr_get_attributes(IXMLDOMAttribute *iface, IXMLDOMNamedNodeMap **attributeMap)
static HRESULT WINAPI domattr_get_childNodes(IXMLDOMAttribute *iface, IXMLDOMNodeList **outList)
static dispex_static_data_t domattr_dispex
static const xmlChar xmlns[]
static HRESULT WINAPI domattr_put_dataType(IXMLDOMAttribute *iface, BSTR p)
static HRESULT WINAPI domattr_GetIDsOfNames(IXMLDOMAttribute *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI domattr_removeChild(IXMLDOMAttribute *iface, IXMLDOMNode *child, IXMLDOMNode **oldChild)
static const tid_t domattr_se_tids[]
static HRESULT WINAPI domattr_hasChildNodes(IXMLDOMAttribute *iface, VARIANT_BOOL *ret)
static HRESULT WINAPI domattr_get_firstChild(IXMLDOMAttribute *iface, IXMLDOMNode **domNode)
static const struct IXMLDOMAttributeVtbl domattr_vtbl
static HRESULT WINAPI domattr_get_nodeValue(IXMLDOMAttribute *iface, VARIANT *value)
static domattr * impl_from_IXMLDOMAttribute(IXMLDOMAttribute *iface)
static HRESULT WINAPI domattr_get_prefix(IXMLDOMAttribute *iface, BSTR *prefix)
static HRESULT WINAPI domattr_selectSingleNode(IXMLDOMAttribute *iface, BSTR p, IXMLDOMNode **outNode)
static HRESULT WINAPI domattr_put_text(IXMLDOMAttribute *iface, BSTR p)
static ULONG WINAPI domattr_AddRef(IXMLDOMAttribute *iface)
static HRESULT WINAPI domattr_replaceChild(IXMLDOMAttribute *iface, IXMLDOMNode *newNode, IXMLDOMNode *oldNode, IXMLDOMNode **outOldNode)
static HRESULT WINAPI domattr_get_dataType(IXMLDOMAttribute *iface, VARIANT *typename)
static HRESULT WINAPI domattr_get_nextSibling(IXMLDOMAttribute *iface, IXMLDOMNode **domNode)
static HRESULT WINAPI domattr_get_text(IXMLDOMAttribute *iface, BSTR *p)
static HRESULT WINAPI domattr_put_nodeValue(IXMLDOMAttribute *iface, VARIANT value)
static HRESULT WINAPI domattr_put_nodeTypedValue(IXMLDOMAttribute *iface, VARIANT typedValue)
static HRESULT WINAPI domattr_put_value(IXMLDOMAttribute *iface, VARIANT value)
static HRESULT WINAPI domattr_get_value(IXMLDOMAttribute *iface, VARIANT *value)
static HRESULT WINAPI domattr_get_previousSibling(IXMLDOMAttribute *iface, IXMLDOMNode **domNode)
static HRESULT WINAPI domattr_get_definition(IXMLDOMAttribute *iface, IXMLDOMNode **definitionNode)
static HRESULT WINAPI domattr_transformNode(IXMLDOMAttribute *iface, IXMLDOMNode *node, BSTR *p)
static HRESULT WINAPI domattr_get_xml(IXMLDOMAttribute *iface, BSTR *p)
static HRESULT WINAPI domattr_insertBefore(IXMLDOMAttribute *iface, IXMLDOMNode *newNode, VARIANT refChild, IXMLDOMNode **old_node)
static HRESULT WINAPI domattr_get_parsed(IXMLDOMAttribute *iface, VARIANT_BOOL *isParsed)
static HRESULT WINAPI domattr_get_namespaceURI(IXMLDOMAttribute *iface, BSTR *p)
static HRESULT WINAPI domattr_Invoke(IXMLDOMAttribute *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI domattr_GetTypeInfoCount(IXMLDOMAttribute *iface, UINT *pctinfo)
IUnknown * create_attribute(xmlNodePtr attribute, BOOL floating)
static HRESULT WINAPI domattr_appendChild(IXMLDOMAttribute *iface, IXMLDOMNode *child, IXMLDOMNode **outChild)
static HRESULT WINAPI domattr_GetTypeInfo(IXMLDOMAttribute *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI domattr_get_name(IXMLDOMAttribute *iface, BSTR *p)
static HRESULT WINAPI domattr_get_lastChild(IXMLDOMAttribute *iface, IXMLDOMNode **domNode)
static HRESULT WINAPI domattr_get_parentNode(IXMLDOMAttribute *iface, IXMLDOMNode **parent)
static ULONG WINAPI domattr_Release(IXMLDOMAttribute *iface)
static HRESULT WINAPI domattr_get_baseName(IXMLDOMAttribute *iface, BSTR *name)
static HRESULT WINAPI domattr_get_specified(IXMLDOMAttribute *iface, VARIANT_BOOL *isSpecified)
static HRESULT WINAPI domattr_QueryInterface(IXMLDOMAttribute *iface, REFIID riid, void **ppvObject)
static HRESULT WINAPI domattr_transformNodeToObject(IXMLDOMAttribute *iface, IXMLDOMNode *domNode, VARIANT var1)
static HRESULT WINAPI domattr_get_nodeTypedValue(IXMLDOMAttribute *iface, VARIANT *value)
static HRESULT WINAPI domattr_cloneNode(IXMLDOMAttribute *iface, VARIANT_BOOL deep, IXMLDOMNode **outNode)
static HRESULT WINAPI domattr_get_ownerDocument(IXMLDOMAttribute *iface, IXMLDOMDocument **doc)
static HRESULT WINAPI domattr_get_nodeName(IXMLDOMAttribute *iface, BSTR *p)
static HRESULT WINAPI domattr_get_nodeTypeString(IXMLDOMAttribute *iface, BSTR *p)
static HRESULT WINAPI domattr_get_nodeType(IXMLDOMAttribute *iface, DOMNodeType *domNodeType)
static const tid_t domattr_iface_tids[]
static HRESULT WINAPI domattr_selectNodes(IXMLDOMAttribute *iface, BSTR p, IXMLDOMNodeList **outList)
MSXML_VERSION xmldoc_version(xmlDocPtr doc)
GLuint GLuint GLsizei GLenum type
static const char * debugstr_variant(const VARIANT *var)
static VARIANTARG static DISPID
enum tagDOMNodeType DOMNodeType
@ NODE_PROCESSING_INSTRUCTION
static HRESULT return_bstr(const WCHAR *value, BSTR *p)
HRESULT node_has_childnodes(const xmlnode *, VARIANT_BOOL *)
HRESULT node_put_value_escaped(xmlnode *, VARIANT *)
HRESULT node_get_text(const xmlnode *, BSTR *)
HRESULT node_get_base_name(xmlnode *, BSTR *)
HRESULT node_put_text(xmlnode *, BSTR)
HRESULT node_get_last_child(xmlnode *, IXMLDOMNode **)
static BSTR bstr_from_xmlChar(const xmlChar *str)
HRESULT node_remove_child(xmlnode *, IXMLDOMNode *, IXMLDOMNode **)
HRESULT node_replace_child(xmlnode *, IXMLDOMNode *, IXMLDOMNode *, IXMLDOMNode **)
HRESULT node_clone(xmlnode *, VARIANT_BOOL, IXMLDOMNode **)
HRESULT node_append_child(xmlnode *, IXMLDOMNode *, IXMLDOMNode **)
HRESULT node_get_content(xmlnode *, VARIANT *)
HRESULT node_transform_node(const xmlnode *, IXMLDOMNode *, BSTR *)
HRESULT node_select_nodes(const xmlnode *, BSTR, IXMLDOMNodeList **)
HRESULT node_get_first_child(xmlnode *, IXMLDOMNode **)
static HRESULT return_null_var(VARIANT *p)
void destroy_xmlnode(xmlnode *)
static HRESULT return_null_ptr(void **p)
HRESULT node_insert_before(xmlnode *, IXMLDOMNode *, const VARIANT *, IXMLDOMNode **)
HRESULT node_get_nodeName(xmlnode *, BSTR *)
HRESULT node_select_singlenode(const xmlnode *, BSTR, IXMLDOMNode **)
void init_xmlnode(xmlnode *, xmlNodePtr, IXMLDOMNode *, dispex_static_data_t *)
HRESULT node_get_owner_doc(const xmlnode *, IXMLDOMDocument **)
HRESULT node_get_xml(xmlnode *, BOOL, BSTR *)
HRESULT node_get_child_nodes(xmlnode *, IXMLDOMNodeList **)
BOOL node_query_interface(xmlnode *, REFIID, void **)
static HRESULT return_null_node(IXMLDOMNode **p)
HRESULT node_create_supporterrorinfo(const tid_t *, void **)
BSTR WINAPI SysAllocString(LPCOLESTR str)
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
BSTR WINAPI SysAllocStringLen(const OLECHAR *str, unsigned int len)
#define IsEqualGUID(rguid1, rguid2)
IXMLDOMAttribute IXMLDOMAttribute_iface
Character const *const prefix
#define CONTAINING_RECORD(address, type, field)
HRESULT WINAPI DECLSPEC_HOTPATCH VariantClear(VARIANTARG *pVarg)
WINBASEAPI _In_ DWORD _Out_ _In_ WORD wFlags
XMLPUBFUN int xmlStrEqual(const xmlChar *str1, const xmlChar *str2)