xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor M. Moreno" <vmor...@germinus.com>
Subject Re: converting Transformer's result into NodeSet
Date Tue, 07 Aug 2001 07:04:44 GMT
Thanks Gary,
that worked fine! ;)

regards

Victor

----- Original Message -----
From: "Gary L Peskin" <garyp@firstech.com>
To: <general@xml.apache.org>
Sent: Monday, August 06, 2001 11:45 PM
Subject: Re: converting Transformer's result into NodeSet


> 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


---------------------------------------------------------------------
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