ciphergoth: (Default)
Paul Crowley ([personal profile] ciphergoth) wrote2002-07-04 11:34 pm

Neat XML things

I seem to be using LJ as my bookmarks, so here's a URL I keep losing: a nicer way to write XML in Python-like syntax

http://www.langdale.com.au/SOX/

html>
    head>
        title> My Home Page
    body>
        h1> Contact Details
        p>  I can be contacted at
            a>  href=mailto:me@myplace.net 
                this address
            except when on vacation.
and a similar, XSLT-specific thing:
choose
  when .test "$count > 1"
    call "by-columns" ("column-count":"$count")
  otherwise
    <para>
      "No columns"