xsl-list
[Top] [All Lists]

Re: triggering xslt-functions from source

2005-11-11 23:07:41
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(_at_)tfh-berlin(_dot_)de> 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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>