Hi Malia,
Malia Zaheer wrote:
> doc.createElementNS("http://www.w3.org/1999/XSL/Transform",
> "xsl:stylesheet");
> root.setAttribute("xmlns:java",
> "http://xml.apache.org/xslt/java");
You are mixing DOM Level 1 and DOM Level 2 nodes in your document and
this is not a good practice.
If you are using namespaces (such as namespace attributes) you should
use *NS() methods, i.e. setAttributeNS().
You should not see the problem in the latest Xerces release (if you are
using JAXP or XMLSerializer).
--
Elena Litani / IBM Toronto
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]