Bart --
I just copied the extension function verbatim from your email and it
works fine. I'm using the following stylesheet:
<?xml version='1.0' encoding='ISO-8859-1' ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:Ext="node1"
xmlns:xalan="http://xml.apache.org/xalan"
exclude-result-prefixes="Ext xalan">
<xsl:template match="/">
<xsl:variable name="myRTF" select='Ext:getMyXMLStr()'/>
<xsl:value-of select="$myRTF/ELEM1/ELEM1A"/>
</xsl:template>
</xsl:stylesheet>
If you can't figure out the problem, please send along your exact
stylesheet, input document, and stack trace of the exception that you're
receiving.
Thanks,
Gary
"Bart W.Jenkins" wrote:
>
> Gary,
> I put your sample code in, verbatim, with the fix and now I get a "null"
> TransformerException.
> Also, do I need to use NodeList or NodeSet?
>
> Any ideas?
>
> Bart Jenkins, CTO
> Globeflow SA
> Cardenal Marcelo Spinola 2, D1, Planta 6
> 28016 Madrid, Spain
> telephone: +34 667 65 10 75