RE: Alternative for XML
- Posted by Tommy Carlier <tommy.carlier at pandora.be> Oct 16, 2003
- 495 views
Ray Smith wrote: > Tommy Carlier wrote: > > I've created a markup language as an alternative for XML. I call it SMEL > > > > > > (Some Modest Extensible Language). It behaves a bit like XML, but it's > > more > > compact, and has some advanced features that XML doesn't have. > > I don't know the finer details of XML ... but have you looked at YAML? > > http://yaml.org (seems to down at the moment) Yes, I've looked at YAML, and it's a fine language. But it's not that flexible: it's focused on data-structuring, and not really suitable for document-structuring. And it's line-based, with indentation to define the hierarchy. In YAML, you can't create a complicated structure in only 1 line. If you want to create a compact data-structure, in SMEL you can use a Euphoria-sequence-looking structure: {{"Just some data", "in tabular form"},{"with 2 rows", "and 2 columns"}}