mbakeranalecta / sam

Semantic Authoring Markdown
Other
79 stars 8 forks source link

Record structure XML representation #112

Closed mbakeranalecta closed 7 years ago

mbakeranalecta commented 7 years ago

The record structure is called record internally, but when serialized to XML it produces an element named row. This was to enable you to create a quick and dirty table using a recordset;

table:: cell, cell, cell
    foo, bar, baz

This would then output:

<table>
    <row>
        <cell>foo</cell>

etc.

But now we have grids, which also have rows, and which are a way to do a simple table.

So I think it is to be sematically correct and call the XML representation of a record record.

This does not prevent someone using recordsets for tables, they just have to use the appropriate transforms.

mbakeranalecta commented 7 years ago

Addressed in 227cb3dd7bb322f5579858806071c1ff8456c0b6

NOTE: This changes the definition of the XML output format so that records in a recordset are output as "record", not "row".