Re: [xslt] Xpath on variables?
- From: Bernhard Zwischenbrugger <bz datenkueche com>
- To: xslt gnome org
- Subject: Re: [xslt] Xpath on variables?
- Date: Wed, 8 Aug 2001 12:30:44 +0200
> >
> > > <xsl:variable name="foo">
> > > <FOO>
> > > <BAR arg="1">
> > > test
> > > </BAR>
> > > </FOO>
> > > </xsl:variable>
> >
> > > <xsl:copy-of select="$foo//BAR"/>
> >
Is there a solution for this kind of problems?
This also does not work:
<xsl:copy-of select="libxslt:node-set($foo)//BAR"/>
The workaround I found is:
<xsl:for-each select="libxslt:node-set($foo)">
<xsl:copy-of select="//BAR"/>
</xsl:for-each>
But this isn't very beauty
Some examples would be very nice.
---------------
Is there a list of the extensions implemented in libxslt?
(is there a time() function)
Bernhard
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]