Re: [xsl] Extensions in AltovaXML

Subject: Re: [xsl] Extensions in AltovaXML
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Thu, 30 Oct 2008 15:28:09 +0100 (CET)
Michael Kay wrote:

> My impression from reading it was that many simple calls would
> be directly portable, for example

> <xsl:value-of select="math:sin($x)"
> xmlns:math="java:java.lang.Math"/>

  Yes, for standard Java stuff.  But if the extension is a complex Java
code using Saxon-specific feature (for instance to get any information
from the XPath context, like a node, or to create an element as the
result,) the code would be able to detect and deal with multiple
implementations.  Instead of being able to provide just several
implementations, one for each product, each in its own package, but
bound to the same namespace URI.

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/

Current Thread