On Thursday 18 September 2008 09:47:25 Peter Hohl wrote:
> QXmlQuery xquery(QXmlQuery::XSLT20);
> qt4.5
>
> xquery.bindVariable("unixtime", QVariant(timer1.toTime_t()));
> can not replace variable
> <xsl:variable name="unixtime" select="'0000000'" />
> like gnome xslt... or i write mistake?
Change xsl:variable to xsl:param and it works. xsl:param is used for
stylesheet parameters, while xsl:variable simply declares variables.
Cheers,
Frans
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback