[Libxmlplusplus-general] DomParser behaviour
- From: Jone Marius Vignes <jmvignes broadpark no>
- To: libxmlplusplus-general lists sourceforge net
- Subject: [Libxmlplusplus-general] DomParser behaviour
- Date: Thu, 2 Jan 2003 21:44:43 +0100
When calling parse_memory with the following string:
<?xml version="1.0"?>
<methodCall>
<methodName>methodname</methodName>
<params>
<param>
<value>
<struct>
<member>
<name>test</name>
<value><int>4</int></value>
</member>
<member>
<name>test2</name>
<value><int>4</int></value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>
...I get the following from the parser:
<?xml version="1.0"?>
<methodCall>
<methodName>
<text>methodname</text>
</methodName>
<params>
<param>
<value>
<struct>
<member>
<name><text>test</text></name>
<value><int><text>4</text></int></value>
</member>
<member>
<name><text>test2</text></name>
<value><int><text>4</text></int></value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>
As you can see, every content of the original xml-string is put into a
<text></text> tag. Is this intended, and if it is, why?
Have a nice day!
Jone Marius Vignes
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]