CslWorkItemSimal

Simal stands for simple markup language is a very simple XML-alike language for documents and configurations. Opening tag is an opining curly brace with the node name, it will be closed by a closing curly brace. Each node can have an id separated from the node name by a colon. Allowed chars for node names and ids are "a" to "z", "A" to "Z", "0" to "9" and "-". Text content is separated from the node name by the next none node name char, which will be suppressed. Nodes can be hierarchically nested. There are no comments, no processing instructions and no name spaces.

Examples

{customer:4711
  {firstName John}
  {lastName Doe}
  {addresses
    {address
      {type private}
      {street 1st High Way}
      {city Old Town}
      {zipCode 12345}
      {country Tideland}
    }
  }
}
{document
  {header
    {title This is an example document}
    {description ...}
  }
  {content
    {p This is a text with a {b bold} word. And with {u underlined parts}.}
    {p The control chars will be escaped with a caret. So a text can contain
    an opening curly brace encoded so ^{, closed so ^} and the caret with
    ^^.}
  }
}

last edited 2007-07-24 09:02:59 by FrankMueller