I'm not sure what you're trying to accomplish here but how about:

  return new Nodeset(resultado.getNode());

Gary

"Victor M. Moreno" wrote:
> 
> Hello,
> I would like to know how can I convert the result of a xalan transformation
> into a NodeSet.
> 
> So far I am trying:
> 
> NodeSet funcion1(..)
> {
> DOMResult resultado=new DOMResult();
> transformer.transform(new StreamSource("banner.xml"),  resultado);
> 
> return resultado;
> }
> 
> Obviously here I got an error type message.
> Is ther any other better way for this necessary transformation?
> 
> Thanks
> 
> Victor
> 
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     [EMAIL PROTECTED]
> To unsubscribe, e-mail:          [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to