Skip to main content

XML Abstract Markup Language

Project description

an easier way for humans to write xml

if a line starts with any xaml component ( % @ . # $ ) that line represents an xml element
  • an element continues until eol, or an unquoted :

  • an element can be continued to the next line(s) using unquoted parens

elif a line starts with a “:” it is specifying how the following lines should be interpreted:
  • :python -> python code

  • :markdown -> markdown text (not implemented)

  • :css -> css styles (not implemented)

else the line represents the content of the xml element and cannot contain other nested elements

xaml components

  • % -> element name

  • @ -> name attribute

  • . -> class attribute

  • # -> id attribute

  • $ -> string attribute (_ to ‘ ‘ conversion not implemented)

    e.g. %document .bold #doc_1 @AutoBiography $My_Biography ->

    <document class=”bold” id=”doc_1” name=”AutoBiography” string=”My Biography”/>

Based on haml [1] but aimed at Python.

Still in its early stages – send email to ethan at stoneleaf dot us if you would like to get involved!

Mercurial repository, wiki, and issue tracker at [2].

[1] http://haml.info/ [2] https://bitbucket.org/stoneleaf/xaml

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

xaml-0.1.06.zip (9.9 kB view hashes)

Uploaded Source

xaml-0.1.06.tar.gz (9.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page