Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c3687360
Commit
c3687360
authored
Nov 08, 2005
by
Huw Davies
Committed by
Alexandre Julliard
Nov 08, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement selectSingleNode.
parent
53b4c0f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
node.c
dlls/msxml3/node.c
+13
-2
domdoc.c
dlls/msxml3/tests/domdoc.c
+7
-0
No files found.
dlls/msxml3/node.c
View file @
c3687360
...
...
@@ -586,8 +586,19 @@ static HRESULT WINAPI xmlnode_selectSingleNode(
BSTR
queryString
,
IXMLDOMNode
**
resultNode
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
xmlnode
*
This
=
impl_from_IXMLDOMNode
(
iface
);
IXMLDOMNodeList
*
list
;
HRESULT
r
;
TRACE
(
"%p %s %p
\n
"
,
This
,
debugstr_w
(
queryString
),
resultNode
);
r
=
IXMLDOMNode_selectNodes
(
iface
,
queryString
,
&
list
);
if
(
SUCCEEDED
(
r
))
{
r
=
IXMLDOMNodeList_nextNode
(
list
,
resultNode
);
IXMLDOMNodeList_Release
(
list
);
}
return
r
;
}
static
HRESULT
WINAPI
xmlnode_get_parsed
(
...
...
dlls/msxml3/tests/domdoc.c
View file @
c3687360
...
...
@@ -447,6 +447,13 @@ void test_domnode( void )
else
ok
(
FALSE
,
"no element
\n
"
);
r
=
IXMLDOMNode_selectSingleNode
(
element
,
(
BSTR
)
szdl
,
&
node
);
ok
(
r
==
S_FALSE
,
"ret %08lx
\n
"
,
r
);
r
=
IXMLDOMNode_selectSingleNode
(
element
,
(
BSTR
)
szbs
,
&
node
);
ok
(
r
==
S_OK
,
"ret %08lx
\n
"
,
r
);
r
=
IXMLDOMNode_Release
(
node
);
ok
(
r
==
0
,
"ret %08lx
\n
"
,
r
);
if
(
list
)
{
r
=
IXMLDOMNodeList_get_length
(
list
,
&
count
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment