Re: triggering xslt-functions from source
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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format