![]() |
||||||||||||||||||||||||||||||
Spex The Spex library provides a complete Java™ library for the serialization of XML documents. Spex is very lightweight, optimized for high serialization performance, and easy to use. We provide Spex under the GNU LGPL license as open source / free software. If you are using Spex in your application, or have comments to share, we would love to hear from you.
Hello world Here is a simple example, which shows how you can compose XML documents in Java using Spex. This example uses the complete set of capabilities provided by the Spex library.
Executing the above code will result in the following XML document.
And that's it. No special features for edge cases, just no-frills text-based XML document serialization made easy. If you have the need in your application to write XML documents in a simply and easy-to-read manner, with high performance, Spex is for you. For a more detailed overview, you can browse the Javadoc API documentation of Spex here.
|
||||||||||||||||||||||||||||||
|