| XML schema |
http://dd.eionet.europa.eu/schemas/ippc-wi_2014/dir200076ec_schema.xsd
|
|---|---|
| Output type | EXCEL |
| Description | MS Excel spreadsheet |
| XSL file | dir200076ec_excel_2014.xsl (Last modified: 18 Sep 2014 09:40 ) |
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0" xmlns:office="http://openoffice.org/2000/office"
xmlns:table="http://openoffice.org/2000/table" xmlns:text="http://openoffice.org/2000/text" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xsl:output method="xml"/>
<!--
$Id$
-->
<xsl:variable name="labels" select="document('https://svn.eionet.europa.eu/repositories/Reportnet/Dataflows/IPPC-WI-Directive/xml/dir200076ec_wi/dir200076ec_wi_labels-en.xml')/labels/labelSet"/>
<!--<xsl:variable name="labels" select="document('../xml/article17-labels.xml')/labels"/>-->
<!--<xsl:variable name="codelists" select="document('http://converters.eionet.europa.eu/xmlfile/art17-codelists-en.xml')/Article17Codelists"/>-->
<xsl:variable name="schema" select="document('https://svn.eionet.europa.eu/repositories/Reportnet/Dataflows/IPPC-WI-Directive/schemas/dir200076ec_schema.xsd')/xs:schema"/>
<xsl:variable name="heading" select="'Factsheet of WI delivery'" />
<xsl:template match="/response">
<office:document-content xmlns:office="http://openoffice.org/2000/office"
xmlns:table="http://openoffice.org/2000/table" office:version="1.0"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:number="http://openoffice.org/2000/datastyle"
xmlns:text="http://openoffice.org/2000/text" xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:style="http://openoffice.org/2000/style">
<office:automatic-styles>
<style:style style:name="row-height" style:family="table-cell">
<style:properties style:row-height="2cm" />
</style:style>
<style:style style:name="string-cell" style:family="table-cell">
<style:properties fo:text-align="left"
fo:font-size="10pt" style:column-width="5cm" />
</style:style>
<style:style style:name="long-string-cell" style:family="table-cell">
<style:properties fo:text-align="left"
fo:font-size="10pt" style:column-width="15cm" />
</style:style>
<style:style style:name="number-cell" style:family="table-cell">
<style:properties fo:text-align="right"
fo:font-size="10pt" style:column-width="5cm" />
</style:style>
<style:style style:name="long-number-cell" style:family="table-cell">
<style:properties fo:text-align="right"
fo:font-size="10pt" style:column-width="10cm" />
</style:style>
<style:style style:name="total-number-cell" style:family="table-cell">
<style:properties fo:text-align="right" fo:font-weight="bold"
fo:font-size="10pt" style:column-width="5cm" />
</style:style>
<style:style style:name="string-heading" style:family="table-cell">
<style:properties fo:text-align="left"
fo:font-size="10pt" style:column-width="5cm" fo:font-weight="bold" style:row-height="2cm" />
</style:style>
<style:style style:name="long-string-heading" style:family="table-cell">
<style:properties fo:text-align="left"
fo:font-size="10pt" style:column-width="10cm" fo:font-weight="bold" />
</style:style>
<style:style style:name="cell1" style:family="table-cell">
<style:properties fo:text-align="right"
fo:font-size="10pt" style:column-width="5cm" />
</style:style>
<style:style style:name="cell2" style:family="table-cell">
<style:properties fo:text-align="center"
fo:font-size="12pt" fo:font-style="italic" style:column-width="5cm" />
</style:style>
<style:style style:name="Heading" style:family="table-cell">
<style:properties fo:text-align="center"
fo:font-size="10pt" fo:font-weight="bold" style:column-width="3cm" style:row-height="2cm"/>
</style:style>
<style:style style:name="Heading2" style:family="table-cell">
<style:properties fo:text-align="center"
fo:font-size="10pt" fo:font-weight="bold" style:column-width="5cm" style:row-height="2cm"/>
</style:style>
<style:style style:name="long-Heading2" style:family="table-cell">
<style:properties fo:text-align="left"
fo:font-size="10pt" fo:font-weight="bold" style:column-width="10cm" style:row-height="2cm"/>
</style:style>
<style:style style:name="Heading3" style:family="table-cell">
<style:properties fo:text-align="Right"
fo:font-size="10pt" fo:font-weight="bold" style:column-width="5cm" />
</style:style>
<style:style style:name="Heading4" style:family="table-cell">
<style:properties fo:text-align="right"
fo:font-size="10pt" fo:font-weight="bold" style:column-width="10cm" />
</style:style>
</office:automatic-styles>
<office:body>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-1-1'" /></xsl:attribute>
<xsl:for-each select="./q-1/q-1-1">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<table:table-row table:default-cell-value-type="string" >
<table:table-cell table:style-name="Heading2">
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-1-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
</table:table-row>
<xsl:call-template name="Q-1-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-1-2'" /></xsl:attribute>
<xsl:for-each select="./q-1/q-1-2">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<table:table-row table:default-cell-value-type="string" >
<table:table-cell table:style-name="Heading2">
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-1-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading">
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
</table:table-row>
<xsl:call-template name="Q-1-2-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-2'" /></xsl:attribute>
<xsl:for-each select="./q-2">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<table:table-row table:default-cell-value-type="string" >
<table:table-cell table:style-name="Heading2">
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading">
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
</table:table-row>
<xsl:call-template name="Q-2-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-3'" /></xsl:attribute>
<xsl:for-each select="./q-3">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-3-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<xsl:if test="contains(./q-1/q-1-2/q-1-2-table/*/q-1-2-c,'Co-incineration in cement kiln')
or contains(./q-1/q-1-2/q-1-2-table/*/q-1-2-c,'Co-incineration in combustion plant')
or contains(./q-1/q-1-2/q-1-2-table/*/q-1-2-c,'Co-incineration in other industrial facilities')">
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-4'" /></xsl:attribute>
<xsl:for-each select="./q-1/q-1-2/q-1-2-table">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<table:table-row table:default-cell-value-type="string" >
<table:table-cell table:style-name="Heading2">
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-4'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading">
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
</table:table-row>
<xsl:for-each select="./*/q-4">
<xsl:call-template name="Q-4-table"/>
</xsl:for-each>
</table:table-rows>
</xsl:for-each>
</table:table>
</xsl:if>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-5'" /></xsl:attribute>
<xsl:for-each select="./q-5">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-5-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-6'" /></xsl:attribute>
<xsl:for-each select="./q-6">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-6-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-7'" /></xsl:attribute>
<xsl:for-each select="./q-7">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-7-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-8 & q-8-1'" /></xsl:attribute>
<xsl:for-each select="./q-8">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-8-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-8-2'" /></xsl:attribute>
<xsl:for-each select="./q-8">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-8-2-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-9 & q-9-1'" /></xsl:attribute>
<xsl:for-each select="./q-11">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-11-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-9-2'" /></xsl:attribute>
<xsl:for-each select="./q-11">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-11-2-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-10'" /></xsl:attribute>
<xsl:for-each select="./q-12">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-12-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-11'" /></xsl:attribute>
<xsl:for-each select="./q-13">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-13-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-12'" /></xsl:attribute>
<xsl:for-each select="./q-14">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-14-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-13'" /></xsl:attribute>
<xsl:for-each select="./q-15">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-15-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-14 - q-16'" /></xsl:attribute>
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-16-Q-18-table"/>
</table:table-rows>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-17'" /></xsl:attribute>
<xsl:for-each select="./q-19">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-19-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-18'" /></xsl:attribute>
<xsl:for-each select="./q-20">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-20-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-19'" /></xsl:attribute>
<xsl:for-each select="./q-21">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-21-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-20'" /></xsl:attribute>
<xsl:for-each select="./q-22">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-22-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-21 - q-22'" /></xsl:attribute>
<xsl:for-each select="./q-23">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-23-Q-24-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-23'" /></xsl:attribute>
<xsl:for-each select="./q-25">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-25-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-24 - q-25'" /></xsl:attribute>
<xsl:for-each select="./q-26">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-26-Q-27-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-26'" /></xsl:attribute>
<xsl:for-each select="./q-28">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-28-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-27 - q-28'" /></xsl:attribute>
<xsl:for-each select="./q-29">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-29-Q-30-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-29'" /></xsl:attribute>
<xsl:for-each select="./q-31">
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-31-table"/>
</table:table-rows>
</xsl:for-each>
</table:table>
<table:table>
<xsl:attribute name="table:name"><xsl:value-of select="'q-30'" /></xsl:attribute>
<table:table-columns>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
<table:table-column
table:default-cell-value-type="string"
table:default-cell-style-name="long-string-heading">
</table:table-column>
</table:table-columns>
<table:table-rows>
<xsl:call-template name="Q-32-table"/>
</table:table-rows>
</table:table>
</office:body>
</office:document-content>
</xsl:template>
<!-- <xsl:template match="response/q-1">
<xsl:if test="position()=1">
<xsl:call-template name="header" />
</xsl:if>
<xsl:choose>
-->
<!--
<xsl:when test="local-name(.)='q-8'">
<table:table-rows>
<xsl:for-each select="./*[local-name(.) = 'q-8-1' or local-name(.) = 'q-8-1-r']">
<table:table-row>
<table:table-cell table:style-name="long-string-cell">
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="local-name(.)"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" table:number-columns-spanned="2">
<text:p>
<xsl:value-of select="." />
</text:p>
</table:table-cell>
</table:table-row>
</xsl:for-each>
</table:table-rows>
</xsl:when>
-->
<!-- <xsl:when test="false()"></xsl:when>
<xsl:otherwise>
<table:table-rows>
<xsl:for-each select="./*">
<xsl:choose>
-->
<!-- <xsl:when test="./*[local-name(.) = 'q-4-3-1' or local-name(.) = 'q-4-3-1-1' or local-name(.) = 'q-4-3-1-2']">
<xsl:for-each select="./*">
<table:table-row>
<table:table-cell table:style-name="long-string-cell">
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="local-name(.)"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" table:number-columns-spanned="2">
<text:p>
<xsl:call-template name="getValue">
<xsl:with-param name="value" select="."/>
</xsl:call-template>
</text:p>
</table:table-cell>
</table:table-row>
</xsl:for-each>
</xsl:when>
<xsl:when test="./*[local-name(.) = 'q-5-1' or local-name(.) = 'q-5-1-1' or local-name(.) = 'q-5-1-2' or local-name(.) = 'q-5-1-3']">
<xsl:for-each select="./*">
<table:table-row>
<table:table-cell table:style-name="long-string-cell">
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="local-name(.)"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" table:number-columns-spanned="2">
<text:p>
<xsl:value-of select="." />
</text:p>
</table:table-cell>
</table:table-row>
</xsl:for-each>
</xsl:when>
-->
<!-- <xsl:when test="false()"></xsl:when>
<xsl:otherwise>
<table:table-row>
<table:table-cell table:style-name="long-string-cell">
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="local-name(.)"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" table:number-columns-spanned="2">
<text:p>
<xsl:value-of select="."/>
</text:p>
</table:table-cell>
</table:table-row>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</table:table-rows>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
-->
<xsl:template name="Q-1-table">
<table:table-rows>
<xsl:if test="position()=1">
<xsl:call-template name="header" />
</xsl:if>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-1-1-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-1-1-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-1-1-b" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-1-1-c" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-1-1-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-1-2-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-1-2-b" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-1-2-c" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-1-1-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-1-3-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-1-3-b" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-1-3-c" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-1-1-4'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-1-4-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-1-4-b" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-1-4-c" />
</text:p>
</table:table-cell>
</table:table-row>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-1-2-table">
<table:table-rows>
<xsl:if test="position()=1">
<xsl:call-template name="header" />
</xsl:if>
<xsl:for-each select="./q-1-2-table/q-1-2-row">
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-2-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-2-c" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-2-street" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-2-town" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-2-postalcode" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-2-country" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-2-latitude" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-2-longitude" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-1-2-d" />
</text:p>
</table:table-cell>
</table:table-row>
</xsl:for-each>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-2-table">
<table:table-rows>
<xsl:if test="position()=1">
<xsl:call-template name="header" />
</xsl:if>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-2-2-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-2-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-2-b" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-2-2-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-3-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-3-b" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-2-2-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-4-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-4-b" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-2-3-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-5-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-5-b" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-2-4-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-6-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-6-b" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-2-5-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-7-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-7-b" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-2-6-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-8-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-8-b" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-2-7-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-9-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-9-b" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-2-8-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-10-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-10-b" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-2-9-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-11-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-11-b" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-2-10-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-12-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-12-b" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-2-11-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-13-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-13-b" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-2-12-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-14-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-2-14-b" />
</text:p>
</table:table-cell>
</table:table-row>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-3-table">
<table:table-rows>
<xsl:if test="position()=1">
<xsl:call-template name="header" />
</xsl:if>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-3-1" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-3-1-yes'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-3-1-a'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-3-1-a" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-3-1-no'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-3-1-b'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-3-1-b" />
</text:p>
</table:table-cell>
</table:table-row>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-4-table">
<table:table-rows>
<xsl:if test="position()=1 and (../q-1-2-c ='Co-incineration in cement kiln' or ../q-1-2-c ='Co-incineration in combustion plant' or ../q-1-2-c ='Co-incineration in other industrial facilities')">
<xsl:call-template name="header" />
</xsl:if>
<xsl:if test="../q-1-2-c ='Co-incineration in cement kiln'">
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-1-2-1'"/>
</xsl:call-template>: <xsl:value-of select="../q-1-2-a"/> (Co-incineration in cement kiln)
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-4-2-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-2-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-2-c" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-2-r" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-4-3-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-3-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-3-c" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-3-r" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-4-4-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-4-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-4-c" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-4-r" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-4-5-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-5-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-5-c" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-5-r" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-4-6-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-6-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-6-c" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-6-r" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-4-7-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-7-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-7-c" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-7-r" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-4-8-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-8-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-8-c" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-8-r" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-4-9-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-9-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-9-c" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-9-r" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-4-10-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-10-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-10-c" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-10-r" />
</text:p>
</table:table-cell>
</table:table-row>
</xsl:if>
<xsl:if test="../q-1-2-c ='Co-incineration in combustion plant'">
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-1-2-1'"/>
</xsl:call-template>: <xsl:value-of select="../q-1-2-a"/> (Co-incineration in combustion plant)
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-4-12-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-12-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-12-c" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-12-r" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-4-13-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-13-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-13-c" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-13-r" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-4-14-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-14-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-14-c" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-14-r" />
</text:p>
</table:table-cell>
</table:table-row>
</xsl:if>
<xsl:if test="../q-1-2-c ='Co-incineration in other industrial facilities'">
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-1-2-1'"/>
</xsl:call-template>: <xsl:value-of select="../q-1-2-a"/> (Co-incineration in other industrial facilities)
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-4-14-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-16-a" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-16-c" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-4-16-r" />
</text:p>
</table:table-cell>
</table:table-row>
</xsl:if>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-5-table">
<table:table-rows>
<xsl:if test="position()=1">
<xsl:call-template name="header" />
</xsl:if>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-5-a'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-5-1" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-5-b'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-5-2" />
</text:p>
</table:table-cell>
</table:table-row>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-6-table">
<table:table-rows>
<xsl:if test="position()=1">
<xsl:call-template name="header" />
</xsl:if>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-6-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-6-1" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-6-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-6-2" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-6-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-6-3" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-6-4'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-6-4" />
</text:p>
</table:table-cell>
</table:table-row>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-7-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-7'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-7-1" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-7-1-none'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-7-1-th-wastetype'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-7-1-th-reasoning'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
</table:table-row>
<xsl:for-each select="./q-7-1-table/q-7-1-row">
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-7-1-wastetype" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-7-1-reasoning" />
</text:p>
</table:table-cell>
</table:table-row>
</xsl:for-each>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-8-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-8-1" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-1-a'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-8-1-a" />
</text:p>
</table:table-cell>
</table:table-row>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-8-2-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thId'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thNewExisting'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thType'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thType'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thType'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thType'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thResidues'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thCoCons'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thLimit'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thLimit'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thLimit'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thLimit'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thCoCons'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thRequirement'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-remarks'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-Type-Incin-h2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-Type-Cement-H2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-Type-CombPlant'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-Type-Other-h2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thParameter'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thLimitVal'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thUnit'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thAveraging'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thO2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
</table:table-row>
<xsl:for-each select="./q-8-2-table/q-8-2-row">
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-8-2-Id" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-8-2-NewExisting" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Incin-MunicipalWaste = 'true'"><xsl:value-of select="$labels/q-8-2-Type-Incin-MunicipalWaste"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Incin-NonHazardous = 'true'"><xsl:value-of select="$labels/q-8-2-Type-Incin-NonHazardous"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Incin-Hazardous = 'true'"><xsl:value-of select="$labels/q-8-2-Type-Incin-Hazardous"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Incin-Tallow = 'true'"><xsl:value-of select="$labels/q-8-2-Type-Incin-Tallow"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Incin-Wood = 'true'"><xsl:value-of select="$labels/q-8-2-Cem-Wood-Category"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Incin-Sewage = 'true'"><xsl:value-of select="$labels/q-8-2-Type-Incin-Sewage"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Incin-Other = 'true'"><xsl:value-of select="$labels/q-8-2-Type-Incin-Other"/>; </xsl:when>
</xsl:choose>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Cement-Oils = 'true'"><xsl:value-of select="$labels/q-4-2-1"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Cement-Solvents = 'true'"><xsl:value-of select="$labels/q-4-3-1"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Cement-Filtercakes = 'true'"><xsl:value-of select="$labels/q-4-4-1"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Cement-Wood = 'true'"><xsl:value-of select="$labels/q-4-5-1"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Cement-Plastics = 'true'"><xsl:value-of select="$labels/q-4-6-1"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Cement-Textiles = 'true'"><xsl:value-of select="$labels/q-4-7-1"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Cement-RDF = 'true'"><xsl:value-of select="$labels/q-4-8-1"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Cement-Fluff = 'true'"><xsl:value-of select="$labels/q-4-9-1"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Cement-Other = 'true'"><xsl:value-of select="$labels/q-4-10-1"/>; </xsl:when>
</xsl:choose>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Combus-Wood = 'true'"><xsl:value-of select="$labels/q-4-12-1"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Combus-Sludge = 'true'"><xsl:value-of select="$labels/q-4-13-1"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Combus-Other = 'true'"><xsl:value-of select="$labels/q-4-14-1"/>; </xsl:when>
</xsl:choose>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:choose>
<xsl:when test="./q-8-2-Type-Other-Other = 'true'"><xsl:value-of select="$labels/q-4-14-1"/>; </xsl:when>
</xsl:choose>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-8-2-thResidues" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-8-2-CoCons" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-8-2-Parameter" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-8-2-LimitVal" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-8-2-Unit" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-8-2-Averaging" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-8-2-O2" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-8-2-Requirement" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-8-2-Remarks" />
</text:p>
</table:table-cell>
</table:table-row>
</xsl:for-each>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-11-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-11'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-11-1" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-11-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-11-2" />
</text:p>
</table:table-cell>
</table:table-row>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-11-2-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-11-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-11-3-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-11-3-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-11-3-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-11-3-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-11-3-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-11-3-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-11-3-WasteType'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-11-3-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-11-3-4'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-11-3-OtherConditions'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-8-2-thParameter'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-12-1-3-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-12-1-3-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-11-3-thRelatedTimePeriod'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
</table:table-row>
<xsl:for-each select="./q-11-3-table/q-11-3-row">
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-11-3-Capacity" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-11-3-NewExisting" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-11-3-WasteType" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-11-3-Reasoning" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-11-3-Remarks" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-11-3-OtherConditions" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-11-3-Parameter" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-11-3-LimitVal" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-11-3-Unit" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-11-3-RelatedTimePeriod" />
</text:p>
</table:table-cell>
</table:table-row>
</xsl:for-each>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-12-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-12'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-12-1" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-12-1-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-12-1-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-12-1-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-12-1-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-12-1-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-12-1-thPlantType'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-12-1-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-12-2-thParameter'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-12-1-3-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-12-1-3-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-12-1-3-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-12-1-3-4'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-12-3-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-12-3-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-12-3-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-12-3-4'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
</table:table-row>
<xsl:for-each select="./q-12-2-table/q-12-2-row">
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-12-2-1-Type" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-12-2-1-Type2" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-12-2-1-NewExisting" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-12-2-1-Parameter" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-12-2-1-LimitVal" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-12-2-1-Unit" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-12-2-1-Averaging" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-12-2-1-O2" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-12-2-1-ReasonLimit" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-12-2-1-MonitorMethod" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-12-2-1-IfDiscoFrequency" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-12-2-1-Remarks" />
</text:p>
</table:table-cell>
</table:table-row>
</xsl:for-each>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-13-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-Remarks" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-4-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-4-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-4-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-4-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-4-2-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-4-2-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-4-2-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-4-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-5'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-1-LimitValue" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-1-Unit" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-1-Averaging" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-1-Reasoning" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-6'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-2-LimitValue" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-2-Unit" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-2-Averaging" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-2-Reasoning" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-7'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-3-LimitValue" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-1-Unit" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-3-Averaging" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-3-Reasoning" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-8'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-4-LimitValue" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-4-Unit" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-4-Averaging" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-4-Reasoning" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-9'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-5-LimitValue" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-5-Unit" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-5-Averaging" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-5-Reasoning" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-10'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-6-LimitValue" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-6-Unit" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-6-Averaging" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-6-Reasoning" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-11'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-7-LimitValue" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-7-Unit" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-7-Averaging" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-7-Reasoning" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-12'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-8-LimitValue" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-8-Unit" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-8-Averaging" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-8-Reasoning" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-13'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-9-LimitValue" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-9-Unit" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-9-Averaging" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-9-Reasoning" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-14'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-10-LimitValue" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-10-Unit" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-10-Averaging" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-10-Reasoning" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-13-15'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-11-LimitValue" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-11-Unit" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-11-Averaging" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-13-1-11-Reasoning" />
</text:p>
</table:table-cell>
</table:table-row>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-14-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-14'"/>
</xsl:call-template>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-14-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-14-yesno" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-14-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-14-r" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-14-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-14-4-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-14-4-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-14-4-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-14-4-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-14-4-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-14-4-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-14-4-2-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-14-4-2-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-14-4-3-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-14-4-3-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-14-4-3-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-14-6-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-14-6-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
</table:table-row>
<xsl:for-each select="./q-14-IfYes-table/q-14-IfYes-row">
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-14-1-IfYes-Pollutant" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-14-1-IfYes-Type" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-14-1-IfYes-NewExisting" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-14-1-IfYes-LimitValue" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-14-1-IfYes-Unit" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-14-1-IfYes-Averaging" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-14-1-IfYes-Reasoning" />
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-14-1-IfYes-Remarks" />
</text:p>
</table:table-cell>
</table:table-row>
</xsl:for-each>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-15-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-15'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:choose>
<xsl:when test="string-length(./q-15-pH) > 0">
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-15-1-1'"/>
</xsl:call-template>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-15-Temperature) > 0">
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-15-1-2'"/>
</xsl:call-template>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-15-Flow) > 0">
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-15-1-3'"/>
</xsl:call-template>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-15-Other ) > 0">
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-15-1-4'"/>
</xsl:call-template>; </xsl:when>
</xsl:choose>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-15-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-15-Remarks" />
</text:p>
</table:table-cell>
</table:table-row>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-16-Q-18-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-16'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-16" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-17'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-17" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-18'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-18" />
</text:p>
</table:table-cell>
</table:table-row>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-19-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-19'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-19-yesno" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-19-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-19-Remarks" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-19-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-19-4-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-19-4-2'"/>
</xsl:call-template>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-19-4-1'"/>
</xsl:call-template>: <xsl:call-template name="getValue">
<xsl:with-param name="value" select="./q-19-IfNo-1-Reason"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-19-IfNo-1-SpecifyPollutant"/>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-19-4-4'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-19-5'"/>
</xsl:call-template>: <xsl:call-template name="getValue">
<xsl:with-param name="value" select="./q-19-IfNo-3-Reason"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-19-IfNo-3-SpecifyPollutant"/>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-19-6'"/>
</xsl:call-template>: <xsl:call-template name="getValue">
<xsl:with-param name="value" select="./q-19-IfNo-4-Reason"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-19-IfNo-4-SpecifyPollutant"/>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-19-7'"/>
</xsl:call-template>: <xsl:call-template name="getValue">
<xsl:with-param name="value" select="./q-19-IfNo-5-Reason"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-19-IfNo-5-SpecifyPollutant"/>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-19-8'"/>
</xsl:call-template>: <xsl:call-template name="getValue">
<xsl:with-param name="value" select="./q-19-IfNo-6-Reason"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-19-IfNo-6-SpecifyPollutant"/>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-19-9'"/>
</xsl:call-template>: <xsl:call-template name="getValue">
<xsl:with-param name="value" select="./q-19-IfNo-7-Reason"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-19-IfNo-7-SpecifyPollutant"/>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-19-10'"/>
</xsl:call-template>: <xsl:call-template name="getValue">
<xsl:with-param name="value" select="./q-19-IfNo-8-Reason"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-19-IfNo-8-SpecifyPollutant"/>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-19-11'"/>
</xsl:call-template>: <xsl:call-template name="getValue">
<xsl:with-param name="value" select="./q-19-IfNo-9-Reason"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-19-IfNo-9-SpecifyPollutant"/>
</text:p>
</table:table-cell>
</table:table-row>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-20-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-20'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-20-yesno" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-20-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-20-Remarks" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-20-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-20-4-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-20-4-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
</table:table-row>
<xsl:for-each select="./q-20-IfNo-table/q-20-IfNo-row">
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-19-10'"/>
</xsl:call-template>: <xsl:call-template name="getValue">
<xsl:with-param name="value" select="./q-20-IfNo-1"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-20-IfNo-1-SpecifyPollutant"/>
</text:p>
</table:table-cell>
</table:table-row>
</xsl:for-each>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-21-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-21'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-21-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-21-1" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-21-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-21-2" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-21-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-21-3" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-21-4'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-21-4" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-21-5'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-21-5" />
</text:p>
</table:table-cell>
</table:table-row>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-22-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-22'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-22-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-22-1" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-22-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-22-2" />
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:choose>
<xsl:when test="./q-22-2-air-Regime = 'true'">
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-22-2-1'"/>
</xsl:call-template>;
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="./q-22-2-water-Regime = 'true'">
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-22-2-2'"/>
</xsl:call-template>;
</xsl:when>
</xsl:choose>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
Please fill in a value
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-22-2-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:choose>
<xsl:when test="string-length(./q-22-2-air-Regime-Specify) > 0">
<xsl:value-of select="./q-22-2-air-Regime-Specify"/>;
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-22-2-water-Regime-Specify) > 0">
<xsl:value-of select="./q-22-2-water-Regime-Specify"/>;
</xsl:when>
</xsl:choose>
</text:p>
</table:table-cell>
</table:table-row>
</table:table-rows></xsl:template>
<xsl:template name="Q-23-Q-24-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-23'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-23-1"/>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-23-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-23-1-Ref"/>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-24'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="../q-24"/>
</text:p>
</table:table-cell>
</table:table-row>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-25-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-25'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-25-2-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-25-2-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-25-2-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-25-2-4'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-25-2-5'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
</table:table-row>
<xsl:for-each select="./q-25-table/q-25-row">
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-25-PermitType"/>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:choose>
<xsl:when test="string-length(./q-25-PublicAvailability-atLocalAuthorityOffice) > 0"><xsl:value-of select="$labels/q-25-PublicAvailability-atLocalAuthorityOffice"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-25-PublicAvailability-atRegionalAuthorityOffice) > 0"><xsl:value-of select="$labels/q-25-PublicAvailability-atRegionalAuthorityOffice"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-25-PublicAvailability-atNationalAuthorityOffice) > 0"><xsl:value-of select="$labels/q-25-PublicAvailability-atNationalAuthorityOffice"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-25-PublicAvailability-atSeveralPublicLocations) > 0"><xsl:value-of select="$labels/q-25-PublicAvailability-atSeveralPublicLocations"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-25-PublicAvailability-internet) > 0"><xsl:value-of select="$labels/q-25-PublicAvailability-internet"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-25-PublicAvailability-notPubliclyAvailableYet) > 0"><xsl:value-of select="$labels/q-25-PublicAvailability-notPubliclyAvailableYet"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-25-PublicAvailability-other) > 0"><xsl:value-of select="$labels/q-28-2-7"/>; </xsl:when>
</xsl:choose>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-25-PublicCommentPeriod"/>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:choose>
<xsl:when test="string-length(./q-25-PublicAvailabilityFinal-atLocalAuthorityOffice) > 0"><xsl:value-of select="$labels/q-25-PublicAvailability-atLocalAuthorityOffice"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-25-PublicAvailabilityFinal-atRegionalAuthorityOffice) > 0"><xsl:value-of select="$labels/q-25-PublicAvailability-atRegionalAuthorityOffice"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-25-PublicAvailabilityFinal-atNationalAuthorityOffice) > 0"><xsl:value-of select="$labels/q-25-PublicAvailability-atNationalAuthorityOffice"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-25-PublicAvailabilityFinal-atSeveralPublicLocations) > 0"><xsl:value-of select="$labels/q-25-PublicAvailability-atSeveralPublicLocations"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-25-PublicAvailabilityFinal-internet) > 0"><xsl:value-of select="$labels/q-25-PublicAvailability-internet"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-25-PublicAvailabilityFinal-notPubliclyAvailableYet) > 0"><xsl:value-of select="$labels/q-25-PublicAvailability-notPubliclyAvailableYet"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-25-PublicAvailabilityFinal-other) > 0"><xsl:value-of select="$labels/q-28-2-7"/>; </xsl:when>
</xsl:choose>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-25-PermitRemarks"/>
</text:p>
</table:table-cell>
</table:table-row>
</xsl:for-each>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-26-Q-27-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-26'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-26-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-26-1"/>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-26-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-26-1-Remarks"/>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-26-4'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-26-5'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-26-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-26-1-IfYes-Reason"/>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-26-6'"/>
</xsl:call-template><xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-26-7'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-26-2-IfNo"/>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-26-9'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-26-2-IfNo-Remarks"/>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-26-10'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-26-11'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-26-3-IfNo"/>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-27'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="../q-27"/>
</text:p>
</table:table-cell>
</table:table-row>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-28-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-28'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-28-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:choose>
<xsl:when test="string-length(./q-28-1-AccountProcess) > 0"><xsl:value-of select="$labels/q-28-2-1"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-28-1-EmissionsAir) > 0"><xsl:value-of select="$labels/q-28-2-2"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-28-1-EmissionsWater) > 0"><xsl:value-of select="$labels/q-28-2-3"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-28-1-Capacity) > 0"><xsl:value-of select="$labels/q-28-2-4"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-28-1-TypeInstallation) > 0"><xsl:value-of select="$labels/q-28-2-5"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-28-1-TypeWaste) > 0"><xsl:value-of select="$labels/q-28-2-6"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-28-1-Other ) > 0"><xsl:value-of select="$labels/q-28-2-7"/>; </xsl:when>
</xsl:choose>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-28-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-28-1-Remarks"/>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-28-4'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:choose>
<xsl:when test="string-length(./q-28-2-AllReportsInternet) > 0"><xsl:value-of select="$labels/q-28-5-1"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-28-2-AllReportsAuthorityRequest) > 0"><xsl:value-of select="$labels/q-28-5-2"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-28-2-AllReportsInstallationRequest) > 0"><xsl:value-of select="$labels/q-28-5-3"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-28-2-Other) > 0"><xsl:value-of select="$labels/q-28-5-4"/>; </xsl:when>
</xsl:choose>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-28-6'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-28-2-Remarks"/>
</text:p>
</table:table-cell>
</table:table-row>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-29-Q-30-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-29'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:choose>
<xsl:when test="string-length(./q-29-PublishedCA) > 0"><xsl:value-of select="$labels/q-29-1-1"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-29-Internet) > 0"><xsl:value-of select="$labels/q-29-1-2"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-29-NoList) > 0"><xsl:value-of select="$labels/q-29-1-3"/>; </xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length(./q-29-Other) > 0"><xsl:value-of select="$labels/q-29-1-4"/>; </xsl:when>
</xsl:choose>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-29-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-29-Remarks"/>
</text:p>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-30'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="../q-30"/>
</text:p>
</table:table-cell>
</table:table-row>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-31-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-31'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-31-1-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-31-1-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-31-1-3'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
</table:table-row>
<xsl:for-each select="./q-31-table/q-31-row">
<table:table-row>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-31-MaxExceedenceEmissionLimitValues"/>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-31-MaxDuration"/>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-31-ItemRemarks"/>
</text:p>
</table:table-cell>
</table:table-row>
</xsl:for-each>
</table:table-rows>
</xsl:template>
<xsl:template name="Q-32-table">
<table:table-rows>
<table:table-row>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-32'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="cell1" >
<text:p>
<xsl:value-of select="./q-32"/>
</text:p>
</table:table-cell>
</table:table-row>
</table:table-rows>
</xsl:template>
<!-- a named template, which creates the table header row -->
<xsl:template name="header">
<table:table-header-rows>
<xsl:choose>
<xsl:when test="local-name(.) = 'q-1' or local-name(.) = 'q-1-1' or local-name(.) = 'q-1-1-1-a'">
<table:table-row table:default-cell-value-type="string" >
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p>
Incineration
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p>
Co-incineration
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p>
Remarks
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
</table:table-row>
</xsl:when>
<xsl:when test="(local-name(.) = 'q-1-2' or local-name(.) = 'q-1-2-table' or local-name(.) = 'q-1-2-row' or local-name(.) = 'q-1-2-a') and local-name(.) != 'q-4'">
<table:table-row table:default-cell-value-type="string" >
<table:table-cell table:style-name="Heading2">
<text:p>
Plant Name
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p>
Type of plant
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p>
Street address
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p>
Town/village
</text:p>
</table:table-cell><table:table-cell table:style-name="Heading2">
<text:p>
Postal code
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p>
Country
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p>
Latitude
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p>
Longitude
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p>
For municipal solid waste incineration plants that carry out recovery operations falling in Annex II, R1 to Directive 2008/98/EC of the European Parliament and of the Council of 19 November 2008 on waste and repealing certain Directives: indicate the energy efficiency of the plant, as calculated using the formula provided in the footnote to Annex II, R1 to Directive 2008/98/EC.
</text:p>
</table:table-cell>
</table:table-row>
</xsl:when>
<xsl:when test="local-name(.) = 'q-2' or local-name(.) = 'q-2-2-a'">
<table:table-row table:default-cell-value-type="string" >
<table:table-cell table:style-name="Heading2">
<text:p>
Definition
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p>
Problems identified?
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p>
Please describe
</text:p>
</table:table-cell>
</table:table-row>
</xsl:when>
<xsl:when test="local-name(.) = 'q-3' or local-name(.) = 'q-3-1'">
<table:table-row table:default-cell-value-type="string" >
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
</table:table-row>
</xsl:when>
<xsl:when test="local-name(.) = 'q-4' or local-name(.) = 'q-4-2-a'">
<table:table-row table:default-cell-value-type="string" >
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-4-1-1'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-4-1-2'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-4-1-4'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2" >
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-4-1-6'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
</table:table-row>
</xsl:when>
<xsl:when test="local-name(.) = 'q-5' or local-name(.) = 'q-5-1'">
<table:table-row table:default-cell-value-type="string" >
<table:table-cell table:style-name="Heading2">
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-5'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
</table:table-row>
</xsl:when>
<xsl:when test="local-name(.) = 'q-6' or local-name(.) = 'q-6-1'">
<table:table-row table:default-cell-value-type="string" >
<table:table-cell table:style-name="Heading2">
<text:p>
<xsl:call-template name="getLabel">
<xsl:with-param name="labelName" select="'q-6'"/>
</xsl:call-template>
</text:p>
</table:table-cell>
<table:table-cell table:style-name="Heading2">
<text:p/>
</table:table-cell>
</table:table-row>
</xsl:when>
<xsl:otherwise>
<table:table-row table:default-cell-value-type="string" >
<table:table-cell table:style-name="Heading2">
<text:p>
Question
</text:p>
</table:table-cell>
<table:table-cell table:number-columns-spanned="2" table:style-name="Heading2">
<text:p>
Answer
</text:p>
</table:table-cell>
</table:table-row>
</xsl:otherwise>
</xsl:choose>
</table:table-header-rows>
</xsl:template>
<xsl:template name="getLabel" >
<xsl:param name="labelName"/>
<!--<xsl:param name="lang" select="'en'"/>-->
<xsl:variable name="labelValue" select="$labels/*[local-name() = $labelName]"/>
<xsl:choose>
<xsl:when test="string-length($labelValue) > 0">
<xsl:value-of select="$labelValue"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$labelName"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="getValue" >
<xsl:param name="value"/>
<!--<xsl:param name="lang" select="'en'"/>-->
<xsl:choose>
<xsl:when test="$value = 'true'">
<xsl:value-of select="'yes'"/>
</xsl:when>
<xsl:when test="$value = 'false'">
<xsl:value-of select="'no'"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$value"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
European Environment Agency
Kgs. Nytorv 6, DK-1050 Copenhagen K, Denmark