Hi Dave, Awaiting your reply. Another query: When I call writeToString() method of the DOMDocument and pass a DOMNode to the function, the resulting string gives the string equivalent of the DOM node, but it also gives the namespaces information as xmlns attribute. This I want to avoid. Please tell me how to do that. I am posting it here, as I did not find any other user group that I can post there; I did not get the URL to subscibe to the xerces user list as well.
Thanks in advance. Indrajit On Tue, 27 Feb 2007 Indrajit Bhattacharya wrote : >Dave, > >Another observation: >Those extra whitespaces are not coming when I do file to file transform using >the same XSL file. >Only when I parse the same file, and do DOMDocument to file transform, those >whitespaces are coming. >So, it seems that XSL is okay. Isn't it ? >Is any setting required on the DOM side ? Please let me know what is that. > >-Indrajit > > >On Mon, 26 Feb 2007 David Bertoni wrote : > >Indrajit Bhattacharya wrote: > >>Dave, > >> > >>XMLPlatformUtils::Terminate() problem is solved. Thanks very much for your > >>suggestions. > >> > >>For the second part, I am attaching two XML snippets, original one and > >>after transform. > >> > >... > > > >Without seeing the stylesheet, it's difficult to know why you are getting > >extra whitespace. > > > >Dave