You are not logged in.

1

Friday, June 29th 2012, 7:41am

reading .xml files utilizing user-defined tags, i.e, other than <a> </a>, <p> </p>

Hello folks
I'm trying to read data from .xml files which have utilized user defined tags, e.g, <school> </school>
My problem is that QtxmlStreamReader doesn't seem to be able to read these kinds of .xml files?
What is the solution then? Is there any easy-to-use Qt compatible library for handling .xml files?
Thanks for your help!
:thumbsup:

2

Friday, June 29th 2012, 9:25am

pretty sure qt reader CAN do that (by pretty sure I mean definitely).

If only you'd take the time to search for yourself... http://doc.qt.nokia.com/4.7-snapshot/xml…ns-recipes.html
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

Used tags

XML