X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=doc%2Fintro.txt;h=b727bfffa1e47faf9b8abed809f1d973465806ae;hb=351f3f4798d8b51c461489c2e716f7ba7ed855d1;hp=a5d1dede4511be796cd7d90dabeb3389b22a8cbe;hpb=55f4b135d8a76095a6004b210c7ffef6e2d2a08c;p=xml-template diff --git a/doc/intro.txt b/doc/intro.txt index a5d1ded..b727bff 100644 --- a/doc/intro.txt +++ b/doc/intro.txt @@ -16,12 +16,13 @@ favourite distribution and do "bzr get http://bzr.sesse.net/xml-template/" 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's also a functionally equivalent PHP version, 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, Ruby and C++11 +versions; ports to other languages would be welcome.) Template (simple.xml): + @@ -47,6 +48,7 @@ Code (simple.pl): Result: + @@ -80,17 +82,18 @@ We move on to another useful operation, cloning. Template (clone.xml): + - + Cloning test -

My favourite color is ; I like that very much. +

My favourite color is ; I like that very much. All my favourite things:

-