views:

20

answers:

0

Hi all,

I try pass a node as xsl stylesheet parameter to Xerces XSL Transformer

transformer.setParameter("settings", nodeSettings);

in xsl:

But i receive the following Exception:

javax.xml.transform.TransformerException: java.lang.RuntimeException: Invalid conversion of 'com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl' to 'node-set'. It works fine with Strings but not with nodes!

How is it possible to pass XSL stylesheet parameters as nodes?

Thanx in advance