I post here a responder from news trolltech.qt4-preview-feedback to next search "XSLT" on forum.
On Thursday 18 September 2008 09:47:25 Patrik 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 xslaram and it works. xsl
aram is used for
stylesheet parameters, while xsl:variable simply declares variables.
Cheers,
Frans
Bookmarks