Hi,
I am using LibXML2 library in code to parse the XML document. My XML
document look like below:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE RequestMessage SYSTEM "RequestMessage.dtd">
<RequestMessage>
<Header>
<RequestID>001</RequestID>
<Action>Create</Action>
</Header>
<Body>
<CustomerID>321</CustomerID>
</Body>
</RequestMessage>
I have to get the content of <Action> Node i.e "Create" in this case. I am
doing like below:
xmlNodePtr ActNode = root_node->children->children->children;
ActNode displays "name" as "Action", but "content" parameter is empty.
Kindly help me to resolve this problem.
Thanks in anticipation.
Regards,
Ahmad Jalil Qarshi
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml