Re: [xslt] Xpath on variables?



On Wed, Aug 08, 2001 at 12:30:44PM +0200, Bernhard Zwischenbrugger wrote:
> > >
> > > > <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"/>

  then this is a bug, can you provide a complete styesheet so I debug this
quickly ?

> Is there a list of the extensions implemented in libxslt?
> (is there a time() function)

Hum, I would be surprized if EXSLT hadn't such a function .. just checked: yes
   http://www.exslt.org/date/index.html

the second question is "is this implemented ?".

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]