From c9893d176d4deb3a11b8e6ab035bc98455ac894d Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Wed, 20 Aug 2008 18:31:17 +0200 Subject: [PATCH] msxml3: Add ISAXAttributes_getValueFromName implementation. --- dlls/msxml3/saxreader.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c index 2a9f628e47b..64ad0b1199d 100644 --- a/dlls/msxml3/saxreader.c +++ b/dlls/msxml3/saxreader.c @@ -839,11 +839,17 @@ static HRESULT WINAPI isaxattributes_getValueFromName( const WCHAR **pValue, int *nValue) { + HRESULT hr; + int index; saxattributes *This = impl_from_ISAXAttributes( iface ); - - FIXME("(%p)->(%s, %d, %s, %d) stub\n", This, debugstr_w(pUri), nUri, + TRACE("(%p)->(%s, %d, %s, %d)\n", This, debugstr_w(pUri), nUri, debugstr_w(pLocalName), nLocalName); - return E_NOTIMPL; + + hr = ISAXAttributes_getIndexFromName(iface, + pUri, nUri, pLocalName, nLocalName, &index); + if(hr==S_OK) hr = ISAXAttributes_getValue(iface, index, pValue, nValue); + + return hr; } static HRESULT WINAPI isaxattributes_getValueFromQName(