Indrajit Bhattacharya wrote:
Hi Dave,
Awaiting your reply.
And still you did not show us the stylesheet, so I have no idea what might
be going on. Also, I have no idea why using the Xerces-C wrapper would
result in different behavior. It could be a bug in the Xalan-C wrapper
classes, or it could be a bug in your code. I just don't have enough
information to answer your question.
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.
You should subscribe to the Xerces-C user mailing list:
http://xml.apache.org/mail.html#xerces-c-user
However, what you want do do is not possible using any standard XML
serializer, since the namespace information is an intrinsic part of the
document.
Dave