Michael Kay wrote:
I've always assumed that the only reason for testing function-available()
was because you wanted to call the function, and since the function call has
to use a static name, there's no conceivable reason to use
function-available with a dynamic name. Perhaps I was wrong.
From the link I just send, I think more people tried it the way Jim
tried it, I quote from XALANJ-2223:
"I wrote a stylesheet whose only purpose is to call "function-available"
on the EXSLT functions specified in an XML file. I first tested this in
Stylus Studio, using the Xalan 2.5.2 engine. When I run it, I get:
functionAvailable.xsl (19, 48): java.lang.RuntimeException: Unknown
error in XPath."
Perhaps this is the only niche where it makes sense to do it dynamically?
Cheers,
-- Abel Braaksma
--~------------------------------------------------------------------
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>
--~--