Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
4.8.2
-
None
-
Debian Wheezy
Description
QXmlQuery evaluateTo adds linefeed (\n) at the end.
Example code :
QXmlQuery querySomething;
querySomething.setFocus(QUrl(fileName));
querySomething.setQuery("string(/*/elementname/@attributename)");
assert(querySomething.isValid());
QString queryResult;
querySomething.evaluateTo(&queryResult);