nthung
4th October 2011, 03:47
This is a XML file. I want to use QXmlStreamReader to read the value of href, but I don't how to know to get the its value
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xbel>
<xbel version="1.0">
<folder folded="no">
<FullName>Perter</FullName>
<Age>38</Age>
</folder>
<bookmark href="http://qt.nokia.com/"/>
</xbel>
The XML file is produced by this code after modifing the code
http://www.java2s.com/Code/Cpp/Qt/UsingQXmlStreamWriter.htm
thanks very much
-------------------------
Once I have found the sulotion for that
http://www.qtcentre.org/threads/25077-Need-help-with-QXmlStreamReader
But my current problem is update the value of href ="http://qt.nokia.com/" to href="http://www.qtcentre.org/"
Thanks
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xbel>
<xbel version="1.0">
<folder folded="no">
<FullName>Perter</FullName>
<Age>38</Age>
</folder>
<bookmark href="http://qt.nokia.com/"/>
</xbel>
The XML file is produced by this code after modifing the code
http://www.java2s.com/Code/Cpp/Qt/UsingQXmlStreamWriter.htm
thanks very much
-------------------------
Once I have found the sulotion for that
http://www.qtcentre.org/threads/25077-Need-help-with-QXmlStreamReader
But my current problem is update the value of href ="http://qt.nokia.com/" to href="http://www.qtcentre.org/"
Thanks