Re: How to pass java.util.Map instance as a parameter to a XSLTStylesheet

2009-11-02 Thread Santiago Pericas-Geertsen
Vishal, Xalan in the JDK is a compiler (XSLTC) and as such it tries to resolve as much as it can statically. As a result, there are some limitations. The discussion and resolution in [1] may help. -- Santiago [1] http://issues.apache.org/jira/browse/XALANJ-1485 On Nov 2, 2009, at 7:21 AM

How to pass java.util.Map instance as a parameter to a XSLTStylesheet

2009-11-02 Thread Javalkar, Vishal
Hi, Apparently, Xalan (the one bundled with JDK 6 at-least) complains when a java.util.Map is passed as a parameter to an XSLT stylesheet. Assuming, I have a snippet of code as: Map inputparam = new HashMap(); inputparam.put("greeting", "hi there"); transformer.setParameter("inputparam", inpu