blob: d7e6ab1db6c430c9020a76474fedd6fe2224f29e (
plain)
1
2
3
4
5
6
7
8
|
//! [0]
QXmlQuery query;
query.setQuery("doc('index.html')/html/body/p[1]");
QXmlFormatter formatter(query, myOutputDevice);
formatter.setIndentationDepth(2);
query.evaluateTo(&formatter);
//! [0]
|