[Qt-interest] How to handle namespaces in QXmlStreamReader correct?

NoRulez norulez at me.com
Fri Oct 22 20:28:30 CEST 2010


Hello,

 

I have a document like the following:

 

<demo xmlns=”NS1” testing=”NS2” testing:unit=”Unit1” xmlns:Own=”MyNS”>

.

.

.

</demo>

 

namespaceProccessing is on (true) and I get out almost everything, but not
“xmlns” and “testing”.

I already tried prefix(), name(), qualifiedName(), namespaceDeclarations()
and so on.

 

Is this a bug in Qt?

 

Thanks in advance

 

Best Regards

NoRulez

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101022/94eae21f/attachment.html 


More information about the Qt-interest-old mailing list