In my source-----
Element element1 = element.addElement("List");
element1.addAttribute("Number", (String)Map.get("NUMBER"));
element1.addAttribute("Indicator", null);
I want a result like that=> element1 Indicator=""/
I use use dom4j1.6 in java, I search the method, addattribute method => Attributes with null values are silently ignored.
but I have to print out element1 Indicator=""/
how can I do?