Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How can I pass a node as parameter to translets for XSLTC-Processor of Xalan?  RSS feed

 
Ulrich Heeger
Ranch Hand
Posts: 266
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
I have a problem. Previously I had no problem to add a node as parameter to the XSLT-Processor like:

In the Stylesheet I could invoke a element-value within this node like:


now I want use translets:

Now I get following exception when calling the transformation process:

javax.xml.transform.TransformerException: java.lang.RuntimeException: Not valid conversion from 'org.apache.xerces.dom.ElementImpl' to 'node-set'


Do you know what is wrong?
Thanks a lot in advance,
Ulrich

[ January 15, 2007: Message edited by: Ulrich Heeger ]
[ January 15, 2007: Message edited by: Ulrich Heeger ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!