Got some helpful words from Rus D. about ".java" versus ".class"   So, now I've 
got "MyTest.class" and still trying to figure out where to put it.  I've tried 
several folders and Xalan keeps giving me:
(Location of error unknown)XSLT Error 
(javax.xml.transform.TransformerException): java.lang.NoSuchMethodException: 
For extension function, could not find method 
java.lang.String.unescape([ExpressionContext,] ).
 
Head matter in the XSL reads, in part:
xmlns:xalan=http://xml.apache.org/xalan
xmlns:mytest="MyTest"
extension-element-prefixes="mytest"
version="1.0">

<xalan:component prefix="mytest" functions="unescape">
<xalan:script lang="javaclass" src="xalan://MyTest/"/>
</xalan:component>

and down in one of the templates I have:
<xsl:value-of select="mytest:unescape('test')" />

 
Anybody got a suggestion?
 
*********************************
John F. Wade, PE
TBE
EO20 - MSFC iPV Integration Lead
  • extension functions set up Wade, John F. (MSFC-NAS902099)[TBE]
    • RE: extension functions set up Wade, John F. (MSFC-NAS902099)[TBE]

Reply via email to