|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xslt extensions error : 'Call to extension functio
It is difficult to tell you what the problem is , unless u show the code.But
it is very likely that you have not given the namespace declaration
properly.
for example, if u have a class that is called com.myexample.myclass and if u wanted to refer to it as myclass, then your <stylesheet> element should look like. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:myclass = "com.myexample.myclass" extension-element-prefixes ="myclass"> and u must refer to the class method with "myclass". eg.. if u have a method called calculate() in your class, then <xsl:value-of select="myclass:calculate()"/> would make a call to the calculate() method of the class myclass. HTH Vasu I am trying to use xslt java extensions and am having problems when I write _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








