>From 3c35f2e365b4ac67dc5f440356960a2b0ef852af Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov@codeweavers.com>
Date: Sun, 11 Dec 2011 14:02:18 +0300
Subject: [PATCH 7/9] Use IXMLDOMDocument3 as a latest interface version

---
 dlls/msxml3/attribute.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/msxml3/attribute.c b/dlls/msxml3/attribute.c
index aec1679..58be87d 100644
--- a/dlls/msxml3/attribute.c
+++ b/dlls/msxml3/attribute.c
@@ -432,17 +432,17 @@ static HRESULT WINAPI domattr_get_nodeTypedValue(
     hr = IXMLDOMAttribute_get_ownerDocument(iface, &doc);
     if (hr == S_OK)
     {
-        IXMLDOMDocument2 *doc2;
+        IXMLDOMDocument3 *doc3;
 
-        hr = IXMLDOMDocument_QueryInterface(doc, &IID_IXMLDOMDocument2, (void**)&doc2);
+        hr = IXMLDOMDocument_QueryInterface(doc, &IID_IXMLDOMDocument3, (void**)&doc3);
         IXMLDOMDocument_Release(doc);
 
         if (hr == S_OK)
         {
             VARIANT schemas;
 
-            hr = IXMLDOMDocument2_get_schemas(doc2, &schemas);
-            IXMLDOMDocument2_Release(doc2);
+            hr = IXMLDOMDocument3_get_schemas(doc3, &schemas);
+            IXMLDOMDocument3_Release(doc3);
 
             if (hr != S_OK)
                 return IXMLDOMAttribute_get_value(iface, value);
-- 
1.5.6.5


