Clear Silver Hierarchical Data Format

ClearSilver's HierarchicalDataFormat (HDF) -- one of the AlternativesToXml

See: http://www.clearsilver.net/docs/man_hdf.hdf

Examples:

"It supports two different syntax for representing the dataset hierarchy which can be intermixed arbitrarily. The first is a simple dotted path scheme:

Page.Name = My Index
Page.URL = /myindex.html
Page.Menu.0 = Home
Page.Menu.1 = Preferences
Page.Menu.2 = Help
Page.Menu.3 = Support

"The second is a nested elements scheme:

Page {
Name = My Index
URL = /myindex.html
Menu {
  1. = Home
  2. = Preferences
  3. = Help
  4. = Support
}
}

A few more small examples at http://www.clearsilver.net/docs/compare_w_xmlxslt.hdf


Compare to YamlAintMarkupLanguage.

Looks like Java '.properties' files -- morphed into something close to JavaScriptObjectNotation (JSON) or Python native data, to me. -- JeffGrigg


Questions from the AlternativesToXml page: