(Element element)
| 91 | /// |
| 92 | /// the XML as a String |
| 93 | public String toXML(Element element) { |
| 94 | StringBuilder writer = new StringBuilder(); |
| 95 | toXML(writer, element, new StringBuilder(), false); |
| 96 | return writer.toString(); |
| 97 | } |
| 98 | |
| 99 | /// Writes the XML of an Element to a StringBuilder using a given starting |
| 100 | /// indentation. Note: may output invalid XML if you created text Elements |