implicit.ly

Scala software, hot off the presses

« Back to blog

lmxml 0.1.1

Optional submodules were added:

  • lmxml-html includes html shortcuts when parsing LMXML
  • lmxml-template includes file base template inheritance when parsing LMXML
  • lmxml-json includes the ability to template JSON data
  • lmxml-cache includes an interface and serialization utilities for storing the compiled LMXML source.

The wiki has more information about each module located under Extending.

Some library changes:

  • JSON style attributes can be made strict for key transforms
  • Small changes to signatures in LmxmlParsers trait, adding extensibility
  • Transforms now work against attributes and text nodes
  • Added a CommentNode which can be converted now
  • The Lmxml object has been refactored to DefaultLmxml as users can now define their own Lmxml with included modules.

Light Markup to XML (LMXML) is a library for quickly creating recursive decent markup without the necessary obligation of opening or closing tags.

Curious? Try the command-line app, or the GAE web-app.