Re: [xsl] triggering xslt-functions from source

Subject: Re: [xsl] triggering xslt-functions from source
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Sat, 12 Nov 2005 17:07:41 +1100
Interestingly enough, dynamic function dispatching can be easily
implemented for FXSL (higher-order functions). I'll write an example
soon...


--
Cheers,
Dimitre Novatchev
---------------------------------------
The generation of random numbers is too important to be left to chance.


On 11/12/05, Manuel Baehnisch <s716631@xxxxxxxxxxxxx> wrote:
> Hi there,
>
> I was wondering if it is possible to trigger xslt-functions out of the
> source-tree.
>
> Lets say your source-xml has an element as the following:
> <foo function="xsl:tokenize(...)" parameters="..."/>
>
> Is it somehow possible to use that as:
> <xsl:value-of select="foo/@function"/>
>
> I know that the above only outputs the value of the function attribute
> to the result-tree. But is there a different way to accomplish that?
> For example a function that takes a string as a parameter and
> evaluates its content as if it was a select statement.
>
> Cheers
> Manuel Baehnisch

Current Thread