[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: triggering xslt-functions from source

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

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


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.