Skip to content

Releases: SoltauFintel/xmldocument

getOrAdd change

11 May 12:52
Compare
Choose a tag to compare

getOrAdd can handle xmlns now.

getRoot

11 May 12:53
Compare
Choose a tag to compare

getPath() and getRoot() new

Implements Closeable Interface, getOrAdd() method new

18 Mar 16:45
Compare
Choose a tag to compare

When processing many XML documents you must free memory after each document. This can be performed by the close() method. Using Java 8 you can use the new try(...) syntax. Refactoring needed! You may get warnings that there's a missing close() call. Your code will still work without closing XMLDocument.

If you want to modify a potential already existing child element you can now use the "XMLElement getOrAdd(elementname)" method.

new methods: setCdata(), addWithAttributes()

12 Mar 17:26
Compare
Choose a tag to compare

create CDATA child node with setCdata()
Read CDATA content with getText()

With addWithAttributes() you can add a new element and set many attributes.