3 ms·
This is a very cool idea but why not just add the closing tags and have a minimal format that is also valid HTML and can easily view the data by pointing your b
by tony-allan 4y ago
This is a very cool idea but why not just add the closing tags and have a minimal format that is also valid HTML and can easily view the data by pointing your browser at the file?
It's already a universal format and as dtech mentions below, you get Excel compatibility.
I would also add headers and an optional type attribute...
<tr>
<th data-type="int">Age</th>
</tr>
If the file is too big then you probably need compress it or use a more appropriate format.
- Pxtl 4y agoThe document I posted was valid html6 -- all of those end tags are optional. From an XML purist's perspective that's abhorrent, but if we're trying to make a terse table format skipping the close tags is good.
- tony-allan 4y agoThis also allows CSS selectors such as: a[data-type="int"] { color: green; }