You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.5 KiB
42 lines
1.5 KiB
2 years ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<xsl:stylesheet version="1.0"
|
||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||
|
<xsl:import href="pageComponents_html.xsl" />
|
||
|
<!--In diesem Stylesheet können Sie individuelle templates unterbringen,
|
||
|
die in ihrer Präzedenz das normale Stylesheet
|
||
|
pageComponents_html.xsl überragt. -->
|
||
|
<xsl:import href="pageComponents_html_final.xsl" />
|
||
|
<xsl:import href="resultset_html.xsl" />
|
||
|
<xsl:import href="interLinks_html.xsl" />
|
||
|
<xsl:import href="tabelle_xls.xsl" />
|
||
|
<xsl:decimal-format name="German" grouping-separator="." NaN="" zero-digit ="0" decimal-separator="," />
|
||
|
|
||
|
<xml:output method="application/vnd.ms-excel" />
|
||
|
|
||
|
<xsl:template match="/">
|
||
|
<xsl:call-template name="xlsworkbook"/>
|
||
|
</xsl:template>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<xsl:template name="xslrows">
|
||
|
<xsl:for-each-group select="sqlerg/row" group-by="col[f_name='hiddengrouping']/wert">
|
||
|
<xsl:if test="current-grouping-key()!=''">
|
||
|
<!-- Ausser beim ersten Groupingnamen eine Leerzeile einfuegen -->
|
||
|
<xsl:variable name="pos"><xsl:number/></xsl:variable>
|
||
|
<xsl:if test="$pos!=1">
|
||
|
<xls_row ><xls_cell style="body"/><xls_cell style="body"/></xls_row>
|
||
|
</xsl:if>
|
||
|
<xls_row ><xls_cell style="body_bold_left"><xsl:value-of select="current-grouping-key()"/></xls_cell><xls_cell style="body"/></xls_row>
|
||
|
|
||
|
<xsl:for-each select="../row[col[f_name='hiddengrouping']/wert=current-grouping-key() and col[f_name='hiddenlinkmenusub']/wert='']">
|
||
|
<xsl:call-template name="xslsinglerow"/>
|
||
|
</xsl:for-each>
|
||
|
</xsl:if>
|
||
|
</xsl:for-each-group>
|
||
|
</xsl:template>
|
||
|
|
||
|
|
||
|
</xsl:stylesheet>
|