Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QXmlQuery not easily cacheable
waslap last edited by
I am trying to speed up XSLT processing with Qt by caching QXmlQuery objects but the exercise at the moment seems futile due to the fact that one must call setFocus(xml) before you can call setQuery(xsl). This means every new xml requires re-parse of xsl seemingly. Is there a good reason why the API forces this order or is it a matter of arbitrary developer choice at the time of writing and something one could have 'fixed' by submitting a bug ?
Hi and welcome to devnet,
For such design question you might better ask on the mailing list or IRC channel. You'll find more developer/maintainer there. This forum is more user oriented.