Important: Please read the Qt Code of Conduct -

QXmlQuery: XSLT for-each-group not recognised

  • The "QT Documentation": states that for-each-group is supported when using QXmlQuery. However I get an error when I try and use it:

    "The element with local name for-each-group does not exist in XSL-T."

    Am I missing something?

    I am using Qt 4.8.4.
    I am calling QXmlQuery like this:

    QXmlQuery xmlQuery(QXmlQuery::XSLT20);

    The line from my XSL file looks like this:

    <xsl:for-each-group select="../readings/slot" group-by="@slot_dtm">


Log in to reply