wrote:
> Hi all,
>
> I've a curious problem at the moment and was wondering whether anyone
> might be able to help. I have a SOAPBodyElement object that was
> returned from a SOAP call. I then convert this into a Document object
> and then attempt to apply a XSLT file to it. Unfortunately the output
> produced by this transformation is incorrect. Effectively the XSLT is
> not being applied correctly. Bizarrely if I serialize the document to a
> byte array and then create a new document based on it (by using
> docBuilder.parse()), it works! I've output both documents as strings
> and then compared them and they're identical. All very weird. Any
> ideas?
The first thing that comes to mind is that the implementation of
Document you get from the SOAPBodyElement object is different from the
implementation of Document that you get from parsing the text via a
stream and that one of the implementations has a bug.
HTH,
Ray
--
XML is the programmer's duct tape.