[Qt-interest] 答复: QDomDocument parser xml

Andre Somers andre at familiesomers.nl
Mon Feb 21 10:06:37 CET 2011


Op Ma, 21 februari, 2011 8:50 am, schreef pengliang(彭亮):
> Hi
>
>          Right, I wish an option too.

I don't. I think it is pointless API bloat.
What does the order of the attributes in an XML file matter? AFAIK, the
order is meaningless. Each attribute name is unique anyway. Of course, the
order of the _elements_ is important, but that order is preserved.

Anyway, I don't give a feature request on this much chance. The DOM API
has pretty much been declared depreciated anyway, in favour of the XML
stream classes.

André





More information about the Qt-interest-old mailing list