# HG changeset patch # User Henry S. Thompson # Date 1491243723 -3600 # Node ID 2bbd067529b6561522a26df54828abb609e1e407 # Parent e767bef35bb9148643e45c2088cd7cbb67e28eb2 improve efficiency, detect blank rows, don't type empty cells diff -r e767bef35bb9 -r 2bbd067529b6 format.xsl --- a/format.xsl Mon Apr 03 16:02:10 2017 +0100 +++ b/format.xsl Mon Apr 03 19:22:03 2017 +0100 @@ -16,7 +16,7 @@ - + diff -r e767bef35bb9 -r 2bbd067529b6 html.xsl --- a/html.xsl Mon Apr 03 16:02:10 2017 +0100 +++ b/html.xsl Mon Apr 03 19:22:03 2017 +0100 @@ -9,6 +9,7 @@ diff -r e767bef35bb9 -r 2bbd067529b6 notes.txt --- a/notes.txt Mon Apr 03 16:02:10 2017 +0100 +++ b/notes.txt Mon Apr 03 19:22:03 2017 +0100 @@ -38,3 +38,11 @@ --------- Decided to distinguish between type (num, date, str, err, ...) and class (cur, others to come?). If non-standard code, just record that. +---------- +Hmm, looking at real data (kenneth_lay__19506), I see _lots_ of cells +with (numerical) formats, but no content. Where do I throw those +away? Can throw away empty _rows_ in rect.xsl, but for _cells_ have +to wait for ascii.xsl or html.xsl. But only copy type in in rect if +there was content before. + + diff -r e767bef35bb9 -r 2bbd067529b6 rect.xsl --- a/rect.xsl Mon Apr 03 16:02:10 2017 +0100 +++ b/rect.xsl Mon Apr 03 19:22:03 2017 +0100 @@ -29,6 +29,10 @@ + + + + @@ -41,15 +45,17 @@ - + + + - + 1 - + - +