[Qt-interest] How do you find all the attributes XML?

Tony Rietwyk tony.rietwyk at rightsoft.com.au
Fri Mar 13 01:29:50 CET 2009


Douglas wrote:

> Can see no way to take an unknown element and find out its attributes.
> What did I miss?
> Thanks!

Hi Douglas, 

What xml system are you using?  I've used both DOM and Stream and they both
have 'attributes' method. 

Note that in DOM's case, the base class QDomNode has the method. Hint: If
you can't find something in assisstant in the class that you expect, always
click on the 'show inherited members' link and check there. 

Hope that helps, 

> Why do we live?

Why do you have this as your signature? 

Tony.




More information about the Qt-interest-old mailing list