[XOM-interest] Problem creating the right namespace.

Christian-Josef Schrattenthaler hotline at software-agentur.com
Wed Feb 25 05:44:13 EST 2009


Thanks to Michael Kay!

 

I created a String called ns with the standard namespace
(xmlns="http...") and on each 'new Element("element", ns) I used it as
second parameter. Now I have no emtpy xmlns="" attributes on the child
elements.

 

Now there is only the problem with the
'xsi:schemaLocation="http://..."', which should also be added as
namespace or attribute to the root element.

 

Greetings,

Christian.



More information about the XOM-interest mailing list