Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
11331847
Commit
11331847
authored
Jan 04, 2008
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jan 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Implement get_xml.
parent
cdac6b50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
2 deletions
+35
-2
node.c
dlls/msxml3/node.c
+35
-2
No files found.
dlls/msxml3/node.c
View file @
11331847
...
@@ -685,8 +685,41 @@ static HRESULT WINAPI xmlnode_get_xml(
...
@@ -685,8 +685,41 @@ static HRESULT WINAPI xmlnode_get_xml(
IXMLDOMNode
*
iface
,
IXMLDOMNode
*
iface
,
BSTR
*
xmlString
)
BSTR
*
xmlString
)
{
{
FIXME
(
"
\n
"
);
xmlnode
*
This
=
impl_from_IXMLDOMNode
(
iface
);
return
E_NOTIMPL
;
xmlBufferPtr
pXmlBuf
;
int
nSize
;
TRACE
(
"iface %p
\n
"
,
iface
);
if
(
!
xmlString
)
return
E_INVALIDARG
;
*
xmlString
=
NULL
;
pXmlBuf
=
xmlBufferCreate
();
if
(
pXmlBuf
)
{
nSize
=
xmlNodeDump
(
pXmlBuf
,
This
->
node
->
doc
,
This
->
node
,
0
,
0
);
if
(
nSize
>
0
)
{
const
xmlChar
*
pContent
;
/* Attribute Nodes return a space infront of their name */
pContent
=
xmlBufferContent
(
pXmlBuf
);
if
(
((
char
*
)
pContent
)[
0
]
==
' '
)
*
xmlString
=
bstr_from_xmlChar
(
pContent
+
1
);
else
*
xmlString
=
bstr_from_xmlChar
(
pContent
);
xmlBufferFree
(
pXmlBuf
);
}
}
/* Always returns a string. */
if
(
*
xmlString
==
NULL
)
*
xmlString
=
SysAllocStringLen
(
NULL
,
0
);
return
S_OK
;
}
}
static
HRESULT
WINAPI
xmlnode_transformNode
(
static
HRESULT
WINAPI
xmlnode_transformNode
(
...
...
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