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

Re: alternative for modes

Subject: Re: alternative for modes
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Thu, 12 Feb 2004 16:09:02 +0100
xsltlib
"Peter Billen" <peter@xxxxxxxxxxx> wrote in message
news:20040212111038.680BA37E65@xxxxxxxxxxxxxxxxxxxxxxx
> Indeed, that's what I wanted, something like 'function pointers' in C/C++
> programming.
>
> I might be looking into Dimitre's FXSL, but I can't use it in this
> situation, since it's a school exercise

What do you mean exactly here? I would not call "a school exercise" a tool
that gives much more power and makes possible and easy solutions to problems
that are considered difficult to implement without this tool. One such case,
where FXSL is especially appropriate is the problem described by you..

>  and I have to use standard XSLT
> specifications (no extensions allowed).

The only extension function used by FXSL (for XSLT 1.0) is exslt:node-set().

FXSL is portable across a multitude of XSLT processors as all they implement
EXSLT. On my computer I am running a multitude of single-version FXSL
applications with:

  MSXML4

  Saxon 6.5.3

  Xalan 2.4.1

  XalanC 1.5

  JD

  xsltLib

 4xslt






>
> So there is nothing else possible than some crap of if-conditions, to
> 'simulate' several modes in one template/function?

Everything is possible, even not to use the right tool that is there...


Cheers,

Dimitre Novatchev
FXSL developer,

http://fxsl.sourceforge.net/ -- the home of FXSL
Resume: http://fxsl.sf.net/DNovatchev/Resume/Res.html




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.