[Qt-interest] QDomDocument text content.

Brad Hards bradh at frogmouth.net
Thu Mar 19 11:08:11 CET 2009


On Wednesday 18 March 2009 03:27:56 pm Shabd Swarup V wrote:
> How to get text content from a QDomNode?
>
> For example, I need to fetch the string "command" from the following
> XML:
> <action>command</action>
QDomNode::toDomElement(),  then call text().

Read the documentation on QDomElement at 
http://doc.trolltech.com/4.5/qdomelement.html

Brad



More information about the Qt-interest-old mailing list