This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes How can I pass a node as parameter to translets for XSLTC-Processor of Xalan? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How can I pass a node as parameter to translets for XSLTC-Processor of Xalan?" Watch "How can I pass a node as parameter to translets for XSLTC-Processor of Xalan?" New topic
Author

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

Ulrich Heeger
Ranch Hand

Joined: Jun 06, 2003
Posts: 266
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I pass a node as parameter to translets for XSLTC-Processor of Xalan?
 
It's not a secret anymore!