xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary L Peskin <ga...@firstech.com>
Subject Re: converting Transformer's result into NodeSet
Date Mon, 06 Aug 2001 21:45:54 GMT
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:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org

---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message