Archive for the tag 'xslt'

XMLUnit: JUnit and NUnit testing for XML

XMLUnit [1] for Java provides two JUnit extension classes, XMLAssert and XMLTestCase, and a set of supporting classes (e.g. Diff, DetailedDiff, Transform, SimpleXpathEngine, Validator, NodeTest) that allow assertions to be made about:

  • The differences between two pieces of XML
  • The outcome of transforming a piece of XML using XSLT
  • The evaluation of an XPath expression on a piece of XML
  • The validity of a piece of XML
  • Individual nodes in a piece of XML that are exposed by DOM Traversal

XMLUnit for Java can also treat HTML content (even badly-formed HTML) as valid XML to allow these assertions to be made about the content of web pages too.

[1] http://xmlunit.sourceforge.net/

Symphony: XSLT content management system

Symphony [1] is an open source content management system designed to let developers program exclusively in the XSLT templating language.

The philosophy behind Symphony is that nothing should be sacrificed for flexibility – developers should have full control over their website’s markup, URLs and data structures.

Symphony is written in PHP5 (don’t mix it up with Symfony PHP Framework) is released under MIT/X11 License. You are also able to clone the project from GitHub.

[1] http://symphony-cms.com/