You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

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