Logo Search packages:      
Sourcecode: qt4-x11 version File versions

src.xmlpatterns.api.qxmlformatter.cpp

//! [0]
   QXmlQuery query;
   query.setQuery("doc('index.html')/html/body/p[1]");

   QXmlFormatter formatter(query, myOutputDevice);
   formatter.setIndentationDepth(2);
   query.evaluateTo(&formatter);
//! [0]



Generated by  Doxygen 1.6.0   Back to index