Ah, never mind i figured it out myself.

A nodelist isn't a nodelist unless it's in a document tree.

silly me.




I am trying to pass a set of nodes to transformer.setParameter, but am getting

ERROR: 'Invalid conversion from 'com.acme.AcmeTask$1' to 'node-set'.'


AcmeTask$1 is defined as


NodeList nl = new NodeList()

{

   ....

};



where i have implemented getLength() and item(int)


I clearly must be misunderstanding something...


Can anyone set a struggler straight?


thanks!

Reply via email to