我正在尝试使用muenchian方法的不同选项,但我没有得到我需要的结果。
这是我的意见:
<?xml version="1.0" encoding = "UTF-8"?>
<trailers>
<ES_PRODUCT year="2014">
<p_product_restrictions>
<ES_PRODUCTRESTRICTION>
<pr_channel>
<ESP_CHANNEL name="Channel 1"/>
</pr_channel>
</ES_PRODUCTRESTRICTION>
</p_product_restrictions>
<trailerProject>
<wontrailerproject>
<producer>
<ES_PERSON pe_fullname="Erick"/>
</producer>
</wontrailerproject>
</trailerProject>
</ES_PRODUCT>
<ES_PRODUCT year="2014">
<p_product_restrictions>
<ES_PRODUCTRESTRICTION>
<pr_channel>
<ESP_CHANNEL name="Channel 1"/>
</pr_channel>
</ES_PRODUCTRESTRICTION>
</p_product_restrictions>
<trailerProject>
<wontrailerproject>
<producer>
<ES_PERSON pe_fullname="Erick"/>
</producer>
</wontrailerproject>
</trailerProject>
</ES_PRODUCT>
<ES_PRODUCT year="2014">
<p_product_restrictions>
<ES_PRODUCTRESTRICTION>
<pr_channel>
<ESP_CHANNEL name="Channel 1"/>
</pr_channel>
</ES_PRODUCTRESTRICTION>
</p_product_restrictions>
<trailerProject>
<wontrailerproject>
<producer>
<ES_PERSON pe_fullname="Erick"/>
</producer>
</wontrailerproject>
</trailerProject>
</ES_PRODUCT>
<ES_PRODUCT year="2013">
<p_product_restrictions>
<ES_PRODUCTRESTRICTION>
<pr_channel>
<ESP_CHANNEL name="Channel 2"/>
</pr_channel>
</ES_PRODUCTRESTRICTION>
</p_product_restrictions>
<trailerProject>
<wontrailerproject>
<producer>
<ES_PERSON pe_fullname="Erick"/>
</producer>
</wontrailerproject>
</trailerProject>
</ES_PRODUCT>
<ES_PRODUCT year="2013">
<p_product_restrictions>
<ES_PRODUCTRESTRICTION>
<pr_channel>
<ESP_CHANNEL name="Channel 1"/>
</pr_channel>
</ES_PRODUCTRESTRICTION>
</p_product_restrictions>
<trailerProject>
<wontrailerproject>
<producer>
<ES_PERSON pe_fullname="Pepe"/>
</producer>
</wontrailerproject>
</trailerProject>
</ES_PRODUCT>
<ES_PRODUCT year="2014">
<p_product_restrictions>
<ES_PRODUCTRESTRICTION>
<pr_channel>
<ESP_CHANNEL name="Channel 1"/>
</pr_channel>
</ES_PRODUCTRESTRICTION>
</p_product_restrictions>
<trailerProject>
<wontrailerproject>
<producer>
<ES_PERSON pe_fullname="Pepe"/>
</producer>
</wontrailerproject>
</trailerProject>
</ES_PRODUCT>
<ES_PRODUCT year="2014">
<p_product_restrictions>
<ES_PRODUCTRESTRICTION>
<pr_channel>
<ESP_CHANNEL name="Channel 2"/>
</pr_channel>
</ES_PRODUCTRESTRICTION>
</p_product_restrictions>
<trailerProject>
<wontrailerproject>
<producer>
<ES_PERSON pe_fullname="Pepe"/>
</producer>
</wontrailerproject>
</trailerProject>
</ES_PRODUCT>
<ES_PRODUCT year="2013">
<p_product_restrictions>
<ES_PRODUCTRESTRICTION>
<pr_channel>
<ESP_CHANNEL name="Channel 2"/>
</pr_channel>
</ES_PRODUCTRESTRICTION>
</p_product_restrictions>
<trailerProject>
<wontrailerproject>
<producer>
<ES_PERSON pe_fullname="Pepe"/>
</producer>
</wontrailerproject>
</trailerProject>
</ES_PRODUCT>
<ES_PRODUCT year="2013">
<p_product_restrictions>
<ES_PRODUCTRESTRICTION>
<pr_channel>
<ESP_CHANNEL name="Channel 2"/>
</pr_channel>
</ES_PRODUCTRESTRICTION>
</p_product_restrictions>
<trailerProject>
<wontrailerproject>
<producer>
<ES_PERSON pe_fullname="Thomas"/>
</producer>
</wontrailerproject>
</trailerProject>
</ES_PRODUCT>
</trailers>
我的代码(输出是excel)
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
<xsl:output encoding="utf-8" indent="yes"/>
<xsl:key name="producers" match="trailers/ES_PRODUCT/trailerProject/wontrailerproject/producer/ES_PERSON" use="@pe_fullname"/>
<xsl:key name="channels" match="trailers/ES_PRODUCT/p_product_restrictions/ES_PRODUCTRESTRICTION/pr_channel/ESP_CHANNEL" use="@name"/>
<xsl:key name="year" match="trailers/ES_PRODUCT" use="@year"/>
<xsl:key name="txid" match="trailers/ES_PRODUCT" use="mediaAssets/ES_MM2MEDIAASSET/@label"/>
<xsl:template match="/">
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:html="http://www.w3.org/TR/REC-html40">
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
</DocumentProperties>
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
<AllowPNG/>
</OfficeDocumentSettings>
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
<WindowHeight>11595</WindowHeight>
<WindowWidth>19200</WindowWidth>
<WindowTopX>0</WindowTopX>
<WindowTopY>0</WindowTopY>
<ProtectStructure>False</ProtectStructure>
<ProtectWindows>False</ProtectWindows>
</ExcelWorkbook>
<Styles>
<Style ss:ID="Default" ss:Name="Normal">
<Alignment ss:Vertical="Bottom"/>
<Borders/>
<Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#000000"/>
<Interior/>
<NumberFormat/>
<Protection/>
</Style>
<Style ss:ID="s70">
<Alignment ss:Horizontal="Center" ss:Vertical="Bottom"/>
<Interior ss:Color="#FFC000" ss:Pattern="Solid"/>
</Style>
<Style ss:ID="s74">
<Borders>
<Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
</Style>
<Style ss:ID="s75">
<Borders>
<Border ss:Position="Bottom" ss:LineStyle="Double" ss:Weight="3"/>
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Interior ss:Color="#92D050" ss:Pattern="Solid"/>
</Style>
</Styles>
<Worksheet ss:Name="Hoja1">
<Table x:FullColumns="1" x:FullRows="1" ss:DefaultColumnWidth="60" ss:DefaultRowHeight="15">
<Column ss:Width="66"/>
<Column ss:AutoFitWidth="0" ss:Width="69"/>
<xsl:variable name="ROOT_A" select="trailers"/>
<xsl:for-each select="trailers/ES_PRODUCT/p_product_restrictions/ES_PRODUCTRESTRICTION/pr_channel/ESP_CHANNEL[generate-id() = generate-id(key('channels',@name)[1])]">
<xsl:variable name="thisChannel" select="@name"/>
<Row ss:Height="15.75">
<Cell ss:StyleID="s75">
<Data ss:Type="String">
<xsl:value-of select="$thisChannel"/>
</Data>
</Cell>
<xsl:for-each select="$ROOT_A/ES_PRODUCT/trailerProject/wontrailerproject/producer/ES_PERSON[generate-id() = generate-id(key('producers',@pe_fullname)[1])]">
<xsl:variable name="thisProducer" select="@pe_fullname"/>
<xsl:for-each select="p_product_restrictions/ES_PRODUCTRESTRICTION/pr_channel/ESP_CHANNEL[generate-id() = generate-id(key('channels',@name)[1])]">
<Cell ss:StyleID="s75">
<Data ss:Type="String">
<xsl:value-of select="$thisProducer"/>
</Data>
</Cell>
</xsl:for-each>
</xsl:for-each>
</Row>
<xsl:for-each select="$ROOT_A/ES_PRODUCT[generate-id() = generate-id(key('year',@year)[1])]">
<xsl:variable name="thisYear" select="@year"/>
<xsl:for-each select="trailers/ES_PRODUCT/p_product_restrictions/ES_PRODUCTRESTRICTION/pr_channel/ESP_CHANNEL[generate-id() = generate-id(key('channels',@name)[1])]">
<Row ss:Height="15.75">
<Cell ss:StyleID="s74">
<Data ss:Type="String">
<xsl:value-of select="$thisYear"/>
</Data>
</Cell>
<xsl:for-each select="$ROOT_A/ES_PRODUCT/trailerProject/wontrailerproject/producer/ES_PERSON[generate-id() = generate-id(key('producers',@pe_fullname)[1])]">
<xsl:variable name="thisProducer" select="@pe_fullname"/>
<xsl:for-each select="trailers/ES_PRODUCT/p_product_restrictions/ES_PRODUCTRESTRICTION/pr_channel/ESP_CHANNEL[generate-id() = generate-id(key('channels',@name)[1])]">
<Cell ss:StyleID="s74">
<Data ss:Type="Number">
<xsl:value-of select="count(/trailers/ES_PRODUCT[trailerProject/wontrailerproject/producer/ES_PERSON/@pe_fullname = $thisProducer][@year = $thisYear])"/>
</Data>
</Cell>
</xsl:for-each>
</xsl:for-each>
</Row>
</xsl:for-each>
</xsl:for-each>
</xsl:for-each>
</Table>
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
<PageSetup>
<Header x:Margin="0.3"/>
<Footer x:Margin="0.3"/>
<PageMargins x:Bottom="0.75" x:Left="0.7" x:Right="0.7" x:Top="0.75"/>
</PageSetup>
<Print>
<ValidPrinterInfo/>
<HorizontalResolution>300</HorizontalResolution>
<VerticalResolution>300</VerticalResolution>
</Print>
<Selected/>
<Panes>
<Pane>
<Number>3</Number>
<ActiveRow>6</ActiveRow>
<ActiveCol>2</ActiveCol>
</Pane>
</Panes>
<ProtectObjects>False</ProtectObjects>
<ProtectScenarios>False</ProtectScenarios>
</WorksheetOptions>
</Worksheet>
</Workbook>
</xsl:template>
</xsl:stylesheet>
我需要这样的东西: result
我不知道如何使用muenchian方法在其他组内组成一个组。 我感谢任何帮助。 谢谢!
答案 0 :(得分:0)
您使用密钥并不遥远,但据我所知,主要问题是您有一些嵌套的xsl:for-each
语句,这些语句并未考虑上下文。例如
<xsl:for-each select="$ROOT_A/ES_PRODUCT/trailerProject/wontrailerproject/producer/ES_PERSON[generate-id() = generate-id(key('producers',@pe_fullname)[1])]">
<xsl:variable name="thisProducer" select="@pe_fullname"/>
<xsl:for-each select="p_product_restrictions/ES_PRODUCTRESTRICTION/pr_channel/ESP_CHANNEL[generate-id() = generate-id(key('channels',@name)[1])]">
对于第一个xsl:for-each
,您将被定位在ES_PERSON
元素上,但嵌套的xsl:for-each
通过寻找p_product_restrictions
作为当前的孩子而开始ES_PERSON
。因此它什么都不选。
我不确定在这种情况下实际上是否需要嵌套的那个。
请尝试使用此XSLT。请注意,为了提高可读性,我已将键的使用转移到变量中:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
<xsl:output encoding="utf-8" indent="yes"/>
<xsl:key name="producers" match="trailers/ES_PRODUCT/trailerProject/wontrailerproject/producer/ES_PERSON" use="@pe_fullname"/>
<xsl:key name="channels" match="trailers/ES_PRODUCT/p_product_restrictions/ES_PRODUCTRESTRICTION/pr_channel/ESP_CHANNEL" use="@name"/>
<xsl:key name="year" match="trailers/ES_PRODUCT" use="@year"/>
<xsl:key name="full" match="trailers/ES_PRODUCT" use="concat(p_product_restrictions/ES_PRODUCTRESTRICTION/pr_channel/ESP_CHANNEL/@name, '|',
trailerProject/wontrailerproject/producer/ES_PERSON/@pe_fullname, '|',
@year)"/>
<xsl:template match="/">
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:html="http://www.w3.org/TR/REC-html40">
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
</DocumentProperties>
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
<AllowPNG/>
</OfficeDocumentSettings>
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
<WindowHeight>11595</WindowHeight>
<WindowWidth>19200</WindowWidth>
<WindowTopX>0</WindowTopX>
<WindowTopY>0</WindowTopY>
<ProtectStructure>False</ProtectStructure>
<ProtectWindows>False</ProtectWindows>
</ExcelWorkbook>
<Styles>
<Style ss:ID="Default" ss:Name="Normal">
<Alignment ss:Vertical="Bottom"/>
<Borders/>
<Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#000000"/>
<Interior/>
<NumberFormat/>
<Protection/>
</Style>
<Style ss:ID="s70">
<Alignment ss:Horizontal="Center" ss:Vertical="Bottom"/>
<Interior ss:Color="#FFC000" ss:Pattern="Solid"/>
</Style>
<Style ss:ID="s74">
<Borders>
<Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
</Style>
<Style ss:ID="s75">
<Borders>
<Border ss:Position="Bottom" ss:LineStyle="Double" ss:Weight="3"/>
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Interior ss:Color="#92D050" ss:Pattern="Solid"/>
</Style>
</Styles>
<Worksheet ss:Name="Hoja1">
<Table x:FullColumns="1" x:FullRows="1" ss:DefaultColumnWidth="60" ss:DefaultRowHeight="15">
<Column ss:Width="66"/>
<Column ss:AutoFitWidth="0" ss:Width="69"/>
<xsl:variable name="ROOT_A" select="trailers"/>
<xsl:variable name="distinct_channels" select="trailers/ES_PRODUCT/p_product_restrictions/ES_PRODUCTRESTRICTION/pr_channel/ESP_CHANNEL[generate-id() = generate-id(key('channels',@name)[1])]" />
<xsl:variable name="distinct_producers" select="$ROOT_A/ES_PRODUCT/trailerProject/wontrailerproject/producer/ES_PERSON[generate-id() = generate-id(key('producers',@pe_fullname)[1])]" />
<xsl:variable name="distinct_years" select="$ROOT_A/ES_PRODUCT[generate-id() = generate-id(key('year',@year)[1])]" />
<xsl:for-each select="$distinct_channels">
<xsl:variable name="thisChannel" select="@name"/>
<Row ss:Height="15.75">
<Cell ss:StyleID="s75">
<Data ss:Type="String">
<xsl:value-of select="$thisChannel"/>
</Data>
</Cell>
<xsl:for-each select="$distinct_producers">
<xsl:variable name="thisProducer" select="@pe_fullname"/>
<Cell ss:StyleID="s75">
<Data ss:Type="String">
<xsl:value-of select="$thisProducer"/>
</Data>
</Cell>
</xsl:for-each>
</Row>
<xsl:for-each select="$distinct_years">
<xsl:variable name="thisYear" select="@year"/>
<Row ss:Height="15.75">
<Cell ss:StyleID="s74">
<Data ss:Type="String">
<xsl:value-of select="$thisYear"/>
</Data>
</Cell>
<xsl:for-each select="$distinct_producers">
<xsl:variable name="thisProducer" select="@pe_fullname"/>
<Cell ss:StyleID="s74">
<Data ss:Type="Number">
<xsl:value-of select="count(key('full', concat($thisChannel, '|', $thisProducer, '|', $thisYear)))"/>
</Data>
</Cell>
</xsl:for-each>
</Row>
</xsl:for-each>
</xsl:for-each>
</Table>
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
<PageSetup>
<Header x:Margin="0.3"/>
<Footer x:Margin="0.3"/>
<PageMargins x:Bottom="0.75" x:Left="0.7" x:Right="0.7" x:Top="0.75"/>
</PageSetup>
<Print>
<ValidPrinterInfo/>
<HorizontalResolution>300</HorizontalResolution>
<VerticalResolution>300</VerticalResolution>
</Print>
<Selected/>
<Panes>
<Pane>
<Number>3</Number>
<ActiveRow>6</ActiveRow>
<ActiveCol>2</ActiveCol>
</Pane>
</Panes>
<ProtectObjects>False</ProtectObjects>
<ProtectScenarios>False</ProtectScenarios>
</WorksheetOptions>
</Worksheet>
</Workbook>
</xsl:template>
</xsl:stylesheet>
编辑:如果您只想显示链接到所有频道的制作人,而不是所有频道的所有制作人,则需要一个引用频道和制作人的连锁密钥
<xsl:key name="producers_by_channel" match="trailers/ES_PRODUCT"
use="concat(p_product_restrictions/ES_PRODUCTRESTRICTION/pr_channel/ESP_CHANNEL/@name, '|',
trailerProject/wontrailerproject/producer/ES_PERSON/@pe_fullname)"/>
试试这个XSLT。注意我已经删除了静态Styles
和WorksheetOptions
元素以减小大小。此外,我也重新调整了键上的match
属性。
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
<xsl:output encoding="utf-8" indent="yes"/>
<xsl:key name="channels" match="trailers/ES_PRODUCT" use="p_product_restrictions/ES_PRODUCTRESTRICTION/pr_channel/ESP_CHANNEL/@name"/>
<xsl:key name="year" match="trailers/ES_PRODUCT" use="@year"/>
<xsl:key name="producers_by_channel" match="trailers/ES_PRODUCT"
use="concat(p_product_restrictions/ES_PRODUCTRESTRICTION/pr_channel/ESP_CHANNEL/@name, '|',
trailerProject/wontrailerproject/producer/ES_PERSON/@pe_fullname)"/>
<xsl:key name="full" match="trailers/ES_PRODUCT" use="concat(p_product_restrictions/ES_PRODUCTRESTRICTION/pr_channel/ESP_CHANNEL/@name, '|',
trailerProject/wontrailerproject/producer/ES_PERSON/@pe_fullname, '|',
@year)"/>
<xsl:template match="/">
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:html="http://www.w3.org/TR/REC-html40">
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
</DocumentProperties>
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
<AllowPNG/>
</OfficeDocumentSettings>
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
<WindowHeight>11595</WindowHeight>
<WindowWidth>19200</WindowWidth>
<WindowTopX>0</WindowTopX>
<WindowTopY>0</WindowTopY>
<ProtectStructure>False</ProtectStructure>
<ProtectWindows>False</ProtectWindows>
</ExcelWorkbook>
<!-- Styles go here -->
<Worksheet ss:Name="Hoja1">
<Table x:FullColumns="1" x:FullRows="1" ss:DefaultColumnWidth="60" ss:DefaultRowHeight="15">
<Column ss:Width="66"/>
<Column ss:AutoFitWidth="0" ss:Width="69"/>
<xsl:variable name="ROOT_A" select="trailers"/>
<xsl:variable name="distinct_channels" select="$ROOT_A/ES_PRODUCT[generate-id() = generate-id(key('channels',p_product_restrictions/ES_PRODUCTRESTRICTION/pr_channel/ESP_CHANNEL/@name)[1])]" />
<xsl:variable name="distinct_years" select="$ROOT_A/ES_PRODUCT[generate-id() = generate-id(key('year',@year)[1])]" />
<xsl:for-each select="$distinct_channels">
<xsl:variable name="thisChannel" select="p_product_restrictions/ES_PRODUCTRESTRICTION/pr_channel/ESP_CHANNEL/@name"/>
<xsl:variable name="distinct_producers" select="key('channels', $thisChannel)[generate-id() = generate-id(key('producers_by_channel',concat($thisChannel, '|', trailerProject/wontrailerproject/producer/ES_PERSON/@pe_fullname))[1])]" />
<Row ss:Height="15.75">
<Cell ss:StyleID="s75">
<Data ss:Type="String">
<xsl:value-of select="$thisChannel"/>
</Data>
</Cell>
<xsl:for-each select="$distinct_producers">
<xsl:variable name="thisProducer" select="trailerProject/wontrailerproject/producer/ES_PERSON/@pe_fullname"/>
<Cell ss:StyleID="s75">
<Data ss:Type="String">
<xsl:value-of select="$thisProducer"/>
</Data>
</Cell>
</xsl:for-each>
</Row>
<xsl:for-each select="$distinct_years">
<xsl:variable name="thisYear" select="@year"/>
<Row ss:Height="15.75">
<Cell ss:StyleID="s74">
<Data ss:Type="String">
<xsl:value-of select="$thisYear"/>
</Data>
</Cell>
<xsl:for-each select="$distinct_producers">
<xsl:variable name="thisProducer" select="trailerProject/wontrailerproject/producer/ES_PERSON/@pe_fullname"/>
<Cell ss:StyleID="s74">
<Data ss:Type="Number">
<xsl:value-of select="count(key('full', concat($thisChannel, '|', $thisProducer, '|', $thisYear)))"/>
</Data>
</Cell>
</xsl:for-each>
</Row>
</xsl:for-each>
</xsl:for-each>
</Table>
<!-- WorksheetOptions go here -->
</Worksheet>
</Workbook>
</xsl:template>
</xsl:stylesheet>