Sorry,  yes
> > If I take a test.xml file, parse it into a DOM (myDom =
parser.parse(test.xml), then use...

Thanks,
Bob

----- Original Message -----
From: "Alex Speed" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 01, 2002 9:27 AM
Subject: Fw: DOMSource as input in Transformer


>
> ----- Original Message -----
> From: "Alex Speed" <[EMAIL PROTECTED]>
> To: "Bob Egolf" <[EMAIL PROTECTED]>
> Sent: Friday, March 01, 2002 2:27 PM
> Subject: Re: DOMSource as input in Transformer
>
>
> > is myDOM a Document object?
> >
> > ----- Original Message -----
> > From: "Bob Egolf" <[EMAIL PROTECTED]>
> > To: "xalan mailing list" <[EMAIL PROTECTED]>
> > Sent: Friday, March 01, 2002 2:25 PM
> > Subject: DOMSource as input in Transformer
> >
> >
> > I am having a problem using DOMSource as input in transfomer.
> > If I take a test.xml file, parse it into a DOM, then use
> >
> > transformer.transform(new DOMSource(myDOM), new StreamResult(out));
> >
> > the transformation fails to find the first set of elements and just
prints
> > them
> > out.
> >
> > However, if I do
> >
> > transformer.transform(new StreamSource(test.xml), new
StreamResult(out));
> >
> > everything works fine.
> >
> > Any Help is appreciated,
> > I am attaching the xml and xslt file and sample jsp page for review.
> >
> > Thanks in Advance,
> > Bob
> >
> >
>
>

Reply via email to