Hi; I have a root node with a number of namespaces including one
with no prefix: wb = doc.addElement("Workbook"); wb.addNamespace("",
"urn:schemas-microsoft-com:office:spreadsheet"); wb.addNamespace("o",
"urn:schemas-microsoft-com:office:office"); wb.addNamespace("x",
"urn:schemas-microsoft-com:office:excel"); wb.addNamespace("ss",
"schemas-microsoft-com:office:spreadsheet"); wb.addNamespace("html",
"http://www.w3.org/TR/REC-html40"); When I add an element to that element, I get: styles = wb.addElement("Styles"); è
<Styles xmlns=""> How can I get rid of the xmlns=""? Thanks - dave |
- Re: [dom4j-user] How to addElement with no xmlns="&quo... David Thielen
- Re: [dom4j-user] How to addElement with no xmlns="... Maarten Coene
- RE: [dom4j-user] How to addElement with no xmlns=&... David Thielen
- Re: [dom4j-user] How to addElement with no xml... Maarten Coene
- Re: [dom4j-user] How to addElement with no xmlns="... David D. Lucas