it is easy just put "@" befor name of attribute
like this
Qt Code:
QXmlQuery query; query.setQuery("doc('index.html')/html/body/@onload"); // getting onload event of html documentTo copy to clipboard, switch view to plain text mode
for value you need
Qt Code:
To copy to clipboard, switch view to plain text mode
Bookmarks