diff format.xsl @ 16:2bbd067529b6

improve efficiency, detect blank rows, don't type empty cells
author Henry S. Thompson <ht@markup.co.uk>
date Mon, 03 Apr 2017 19:22:03 +0100
parents 5f2d691014ff
children 8309dcfce613
line wrap: on
line diff
--- 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 @@
 
  <xsl:template match="s:worksheet">
   <!-- Just here to bind the namespaces at the top -->
-  <worksheet xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"><xsl:apply-templates select="@*|node()"/></worksheet>
+  <worksheet xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" xmlns:xdr="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing" xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"><xsl:apply-templates select="@*|node()"/></worksheet>
  </xsl:template>
  
  <xsl:template match="s:c[@t and @t!='n']">