to check out the code and this documentation.
There is a lot to be said about design philosophy, but let's first give a
-simple example to give you the feel of how it works. (The example is in
-Perl, but there are also functionally equivalent PHP and Python versions,
-and more languages should probably come soon.)
+simple example to give you the feel of how it works. (The example is in Perl,
+but there are also functionally equivalent PHP, Python and Ruby versions, and
+more languages should probably come soon.)
Template (simple.xml):
the entire DOM with wrappers for each language. (Thankfully, by relying on
the DOM support in each language, the code so far is under 200 lines per
implementation, so maintaining this hopefully shouldn't be much work.)
- As proof-of-concept, I've got Perl, PHP and Python implementations that work
- and feel largely the same -- Ruby and other implementations are welcome.
+ As proof-of-concept, I've got Perl, PHP, Python and Ruby implementations
+ that work and feel largely the same -- other implementations are welcome.
(This is backed up by a test suite, which ensures that all the different
implementations return structurally equivalent XML for a certain set of
test cases. Porting to a new language is not difficult, and once you've