XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Sonika ColasoSubject: XSLT Java issue
Author: Sonika Colaso
Date: 13 Jul 2009 12:38 PM
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!

Alberto MassariSubject: XSLT Java issue
Author: Alberto Massari
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)


Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.