xsl-list
[Top] [All Lists]

RE: A list of useful functions that aren't in the core of xsl.

2003-03-21 11:21:43
I'm not using function-available() because I hate 
spaghetti-like code.
I considered that might also be a reason :) I never use it 
myself cause it's just darn painful. 


Have you considered

<xsl:template match="something[function-available('exslt-nodeset')]">

<xsl:template
match="something[not(function-available('exslt-nodeset'))]">

?

It's still wordy, but not exactly spaghetti-like.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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