This on it's own doesn't work at the moment:
element.setQName( QName.get( element.getName(), "", "jabber:server"));

So you'll first have to remove the previous namespace:
element.remove( element.getNamespace());
element.setQName( QName.get( element.getName(), "", "jabber:server"));

Regards,
Edwin
--
http://www.edankert.com/


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to