Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

[jdom-interest] Removing xmlns:xsi, xsi:schemaLocation, xmlns

Dmitriy Viner

2005-02-22

Replies:

I was wondering if anybody knows how to remove attributes xmlns:xsi, xsi:schemaLocation from the root element.  Also I"m using XMLOutputter and it keeps adding xmlns attribute to bunch of elements.  Is there some way to remove it besides traversing each element and calling element.setNamespace(null)?
 
Regards,
Dmitriy


Sincerely Dmitriy Viner

E-Mail: dxv7027@yahoo.com

Cell Phone: 716-415-3096


Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.