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-05 21:38 -------
I made the following change so that I use the Document Interface to create 
Element nodes as follows:

 DocumentImpl nDoc = new DocumentImpl();
          DOMImplementation impl = nDoc.getImplementation();
          Document newDoc = impl.createDocument(null,null,null);


          Element orderSystem = newDoc.createElementNS(null,"orderSystem");
          orderSystem.setAttributeNS(null,"xmlns:ord",
                                       "http://www.nicholaschase.com/orders/";);
          orderSystem.setAttributeNS(null,"xmlns:prod",
                                       "http://www.nicholaschase.com/products/";)
;

An exception is thrown on createDocument call, evidently because of the nulls 
being passed in as parameter. Could you suggest what should be the parameters 
that should be passed in for this call to suceed?

Reply via email to