Mercurial > hg > ooxml
comparison format.xsl @ 3:2c115aefde6b
beginning work on elaboration of worksheets
author | Henry S. Thompson <ht@markup.co.uk> |
---|---|
date | Sat, 01 Apr 2017 12:57:31 +0800 |
parents | |
children | fe3fc6b2d890 |
comparison
equal
deleted
inserted
replaced
2:263a1935d37d | 3:2c115aefde6b |
---|---|
1 <?xml version='1.0'?> | |
2 <!DOCTYPE doc SYSTEM "../../../lib/xml/xsl.dtd" > | |
3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" xmlns:s="http://schemas.openxmlformats.org/spreadsheetml/2006/main"> | |
4 <xsl:variable name="xldir" select="replace(base-uri(),'/[^/]*/[^/]*$','')"/> | |
5 <xsl:variable name="styles" select="document(concat($xldir,'/styles.xml'))/*"></xsl:variable> | |
6 <xsl:variable name="cellXfs" select="$styles//s:cellXfs"/> | |
7 <xsl:template match="/"> | |
8 <xsl:message>|<xsl:value-of select="count($cellXfs/s:xf)"/>|</xsl:message> | |
9 </xsl:template> | |
10 </xsl:stylesheet> |