Hi I am hoping someone can help me with this issue. I have XSL/XML code and I'm trying to generate a PDF file using the Apache FOP processor. I get an error saying 'Cannot find a matching 2-argument function named {http://xml.apache.org/xslt/java}format() '
I believe the http://xml.apache.org/xslt/java doesn't exist anymore which is why it cannot read the Current date function. The new namespace is http://xml.apache.org/xalan-j but when I put that in the XSL code, it still doesn't work. I am not very familiar with Java, so would someone please tell me if this software can be made backward compatible with the old namespace or if there is something I can do in the XSL to prevent having to change the date function all over the code? Any help is much appreciated. Thanks in advance!
Subject:XSLT Java issue Author:(Deleted User) Date:14 Jul 2009 06:50 AM
Hi Sonika,
the Apache FOP processor is just a post-processor that works on a static XML document written using the XSL-FO dialect. If you use the external Java function, you are writing an XSLT stylesheet, and in this case the XSLT processor counts. What is the processor that you are using? (look in the Processor tab in the Scenario Dialog)