Hi,
is it possible to create an XML element that looks
like this:
<foo xmlns:xsi="..."
xsi:noNamespaceSchemaLocation=""/>
So I create an DefaultElement and add the namespace:
Element foo = new DefaultElement("foo");
foo.addNamespace("xsi", "...");
foo.addNamespace("noNamespaceSchemaLocation", "");
Of course, this yields an element that looks like
this:
<foo xmlns:xsi="..."
xmlns:noNamespaceSchemaLocation=""/>
Can anybody give me a hint how to solve that? Thanks!
Send instant messages to your online friends http://uk.messenger.yahoo.com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
dom4j-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dom4j-user