• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

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

 
Ranch Hand
Posts: 266
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic