The end() method is a convenience over .doc().toString(). It converts the entire XML document to string.
This new version allows the XMLBuilder constructor to create the XML prolog and the root element. Soft deprecates the begin method.
The begin() method will be deprecated in the future. The intented usage to start a new document is via the XMLBuilder constructor which is exposed as the create() method from the module.
Allows the name of the root element and XML prolog to be defined in one line with the XMLBuilder constructor.
…ES FIELDS IN PACKAGE.JSON AGAIN
Fix a problem with text node creation from ''
The text argument of XMLFragment#element() is escaped twice. The solution is provided by @kou.