Re: AW: DOM document serialization question

2008-03-06 Thread Michael Glavassevich
If it isn't already in the DOM try adding it to the root element using setAttributeNS() [1] before you serialize. [1] http://xerces.apache.org/xerces2-j/javadocs/api/org/w3c/dom/Element.html#setAttributeNS(java.lang.String,%20java.lang.String,%20java.lang.String) Michael Glavassevich XML Parser D

AW: DOM document serialization question

2008-03-06 Thread Heinrich Roman
Either attaching xsi:noNamespaceSchemaLocation or directly embedding xsd schema to xml. -Ursprüngliche Nachricht- Von: Michael Glavassevich [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 06. März 2008 14:57 An: j-users@xerces.apache.org Betreff: Re: DOM document serialization question