DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12270>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12270

Not able to transform in-memory documents





------- Additional Comments From [EMAIL PROTECTED]  2002-09-03 20:04 -------
One problem immediately visible: You _MUST_ use Level 2 (namespace-aware) DOM 
nodes. Replace:

createElement with createElementNS
setAttribute with setAttributeNS
createAttribute with createAttributeNS
setAttributeNode with setAttributeNodeNS (may not be essential, but safer)

And for portability's sake, you should probably replace 
          DocumentImpl newDoc = new DocumentImpl();
          Element orderSystem = newDoc.createElement("orderSystem");
          newDoc.appendChild(orderSystem);
with a call to the DOMImplementation's createDocument() method.

If things still don't work after these changes, we can investigate further.

Reply via email to