Costello, Roger L. wrote:
I created a stylesheet to illustrate the use of three kinds of extensions (I do
not show the use of an integrated extension function):
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:java="java:java.lang.Math"
xmlns:exslt="http://exslt.org/math"
xmlns:saxon="http://saxon.sf.net/"
extension-element-prefixes="java exslt"
version="2.0">
<xsl:template match="/" >
<xsl:value-of select="java:sqrt(2)" />
<xsl:value-of select="exslt:abs(8 - 12)" />
<xsl:value-of select="saxon:is-whole-number(1.23)" />
</xsl:template>
</xsl:stylesheet>
I don't think there is any need for the 'extension-element-prefixes'
attribute as you do not use any extension elements at all.
--
Martin Honnen
http://msmvps.com/blogs/martin_honnen/
--~------------------------------------------------------------------
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>
--~--