Hi, i need line breaks in a string that contains xml. When I use:
XmlOptions xmlOptions = new XmlOptions(); xmlOptions.setSavePrettyPrint(); myString=x.xmlText(xmlOptions); it gives me the line break, but it also deletes trailing spaces. I need both, the line break and the trailing spaces at the same time. Any idea? Alexandra

