Fog Creek Software
Discussion Board




Name that alternative to XML

I remember somebody on this forum posting a link to an alternative to XML, but for the life of me, I can't remember the name of it and I'm having no luck with Google.

The alternative I am remembering used whitespace to indicate depth. For example, the following XML code:

<foo>
  <bar>data1</bar>
  <bat>data2</bat>
</foo>

would be structured something like

foo:
  bar:data1
  bat:data2

in this alternative language.

I seem to remember there were perl and python modules for reading and writing the format, too.

Can you tell me the name of this format?

Ken Dyck
Wednesday, November 19, 2003

XAML?!!??

Prakash S
Wednesday, November 19, 2003

www.yaml.org

Ged Byrne
Wednesday, November 19, 2003

sorry:

http://www.yaml.org

Ged Byrne
Wednesday, November 19, 2003

X or Y -- not much of a difference:-)

Prakash S
Wednesday, November 19, 2003

It is very good for stuff that needs to be read by people as much as programmed with, such as configuration files. Kind of fits with a Python state of mind too :)

Dominic Fitzpatrick
Wednesday, November 19, 2003

YAML. Yep, that's the one.

Thanks.

Ken Dyck
Wednesday, November 19, 2003

Thought maybe you were talking about JSON:

http://www.crockford.com/JSON/index.html

Edoc
Wednesday, November 19, 2003

Lisp SEXPs.  www.cliki.net.

Car Cdr
Wednesday, November 19, 2003

The LDAP protocol uses ASN.1/BER which can be thought of as a binary-capable XML.  I bring it up because it allows encapsulation of objects and binary objects can be included without extra overhead (e.g., converting to base64 for inclusion in an XML doc).

D Ross
Wednesday, November 19, 2003

CSV (Comma-Separated Variable) ;))

Enjoy Coke
Wednesday, November 19, 2003

*  Recent Topics

*  Fog Creek Home