Qt-interest Archive, April 2007
QXmlStreamReader
Message 1 in thread
Hi all,
I'm trying to use QXmlStreamReader to read some xml files. It mostly works
great, but I have one problem. The xml looks like this:
...
<ar><k>Corbeiam</k>Corbie</ar>
<ar><k>Corturiacum</k>Courtrai</ar>
...
I can identify the <ar> tags and also identify and read the <k> tags, but no
matter what I try, I can't read the actual content of the <ar> tags
(Corbie, etc, in this example). Neither readElementText() nor
text().toString() works. Any hints would be greatly appreciated.
Thanks,
Peter
PS. For those interested, the xml is from a file in xdxf format
(http://xdxf.sf.net).
--
[ signature omitted ]