Hi, Stanislas. Giraudet de Boudemange <[EMAIL PROTECTED]> wrote on 2007-05-28 06:57:27 AM: > I have a problem with the setParameter method in the Transformer class > of xalan. > I want to pass a Node parameter (a DOM element), but this node is always
> transform in > a String with the toString() method of the node. Looking at your output, it looks to me like you are using XSLTC. This is a known limitation with XSLTC. See Jira issue XALANJ-1552 [1] for example. Would using Xalan-J Interpretive be an option for you? That processor does have support for supplying a DOM Node as a parameter value, but note that you will have to change the line in your source that creates the DOMSource for the input document to the following: DOMSource source=new DOMSource( docSource); That's because of another bug in how the interpretive processor treats a node argument to DOMSource that is not the root of a DOM tree. I hope that helps. Thanks, Henry [1] http://issues.apache.org/jira/browse/XALANJ-1552 ------------------------------------------------------------------ Henry Zongaro XSLT Processors Development IBM SWS Toronto Lab T/L 969-6044; Phone +1 905 413-6044 mailto:[EMAIL PROTECTED]