Return-Path: Delivered-To: apmail-xml-general-archive@xml.apache.org Received: (qmail 16581 invoked by uid 500); 6 Aug 2001 21:46:08 -0000 Mailing-List: contact general-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: general@xml.apache.org Delivered-To: mailing list general@xml.apache.org Received: (qmail 16570 invoked from network); 6 Aug 2001 21:46:07 -0000 Message-ID: <3B6F1012.CF6DE738@firstech.com> Date: Mon, 06 Aug 2001 14:45:54 -0700 From: Gary L Peskin Organization: The Firstech Corporation X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: general@xml.apache.org Subject: Re: converting Transformer's result into NodeSet References: <017201c11c09$abe74b70$150fa8c0@germinus.com> <00f201c11e4a$dc1e9710$150fa8c0@germinus.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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