XML schema |
http://dd.eionet.europa.eu/schemas/ied/IEDQuestionnaire.xsd
|
---|---|
Output type | EXCEL |
Description | MS Excel |
XSL file | ied-excel.xsl (Last modified: 27 Oct 2014 10:11 ) |
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.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:param name="xml_folder_uri"/> <xsl:variable name="language">en</xsl:variable> <xsl:variable name="labels" select="document('http://converterstest.eionet.europa.eu/xmlfile/ied-labels.xml')/labels"/> <xsl:variable name="codelists" select="document('http://converterstest.eionet.europa.eu/xmlfile/ied-codelists-en.xml')/IEDCodelists"/> <!--<xsl:variable name="schema" select="document('https://svn.eionet.europa.eu/repositories/Reportnet/Dataflows/IPPC-WI-Directive/schemas/dir20081ec_schema.xsd')/xs:schema"/> --><xsl:variable name="heading" select="'Industrial Emissions Directive Questionnaire'" /> <xsl:template match="/IEDQuestionnaire"> <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="left" 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="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'" /></xsl:attribute> <xsl:for-each select="."> <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-header-rows> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading2"> <text:p> <xsl:value-of select="$labels/question1-heading"/> </text:p> </table:table-cell> <table:table-cell table:style-name="Heading2"> <text:p> </text:p> </table:table-cell> </table:table-row> </table:table-header-rows> <table:table-rows> <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-2'" /></xsl:attribute> <xsl:for-each select="."> <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-header-rows> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading2"> <text:p> <xsl:value-of select="$labels/question2-heading"/> </text:p> </table:table-cell> <table:table-cell table:style-name="Heading2"> <text:p> </text:p> </table:table-cell> </table:table-row> </table:table-header-rows> <table:table-rows> <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="."> <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-header-rows> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading2"> <text:p> <xsl:value-of select="$labels/question3-heading"/> </text:p> </table:table-cell> <table:table-cell table:style-name="Heading2"> <text:p> </text:p> </table:table-cell> </table:table-row> </table:table-header-rows> <table:table-rows> <xsl:call-template name="Q-3-table"/> </table:table-rows> </xsl:for-each> </table:table> <table:table> <xsl:attribute name="table:name"><xsl:value-of select="'q-4'" /></xsl:attribute> <xsl:for-each select="."> <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-header-rows> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading2"> <text:p> <xsl:value-of select="$labels/question4-heading"/> </text:p> </table:table-cell> <table:table-cell table:style-name="Heading2"> <text:p> </text:p> </table:table-cell> </table:table-row> </table:table-header-rows> <table:table-rows> <xsl:call-template name="Q-4-table"/> </table:table-rows> </xsl:for-each> </table:table> <table:table> <xsl:attribute name="table:name"><xsl:value-of select="'q-5'" /></xsl:attribute> <xsl:for-each select="."> <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-header-rows> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading2"> <text:p> <xsl:value-of select="$labels/question5-heading"/> </text:p> </table:table-cell> <table:table-cell table:style-name="Heading2"> <text:p> </text:p> </table:table-cell> </table:table-row> </table:table-header-rows> <table:table-rows> <xsl:call-template name="Q-5-table"/> </table:table-rows> </xsl:for-each> </table:table> <xsl:choose> <xsl:when test="./GeneralBindingRules/q_5_yesNo = 'yes'"> <table:table> <xsl:attribute name="table:name"><xsl:value-of select="'q-5-1'" /></xsl:attribute> <xsl:for-each select="./GeneralBindingRules"> <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-5-1-table"/> </table:table-rows> </xsl:for-each> </table:table> </xsl:when> </xsl:choose> <xsl:choose> <xsl:when test="./GeneralBindingRules/q_5_yesNo = 'yes'"> <table:table> <xsl:attribute name="table:name"><xsl:value-of select="'q-5-2 - q-5-3'" /></xsl:attribute> <xsl:for-each select="./GeneralBindingRules"> <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-2-table"/> </table:table-rows> </xsl:for-each> </table:table> </xsl:when> </xsl:choose> <table:table> <xsl:attribute name="table:name"><xsl:value-of select="'q-6'" /></xsl:attribute> <xsl:for-each select="./DevelopmentsInBAT"> <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-header-rows> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading2"> <text:p> <xsl:value-of select="$labels/question6-heading"/> </text:p> </table:table-cell> <table:table-cell table:style-name="Heading2"> <text:p> </text:p> </table:table-cell> </table:table-row> </table:table-header-rows> <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="./ReconsiderationAndUpdatingPermits"> <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-header-rows> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading2"> <text:p> <xsl:value-of select="$labels/question7-heading"/> </text:p> </table:table-cell> <table:table-cell table:style-name="Heading2"> <text:p> </text:p> </table:table-cell> </table:table-row> </table:table-header-rows> <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'" /></xsl:attribute> <xsl:for-each select="."> <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-header-rows> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading2"> <text:p> <xsl:value-of select="$labels/question8-heading"/> </text:p> </table:table-cell> <table:table-cell table:style-name="Heading2"> <text:p> </text:p> </table:table-cell> </table:table-row> </table:table-header-rows> <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-9'" /></xsl:attribute> <xsl:for-each select="./EnvironmentalInspections"> <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-header-rows> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading2"> <text:p> <xsl:value-of select="$labels/question9-heading"/> </text:p> </table:table-cell> <table:table-cell table:style-name="Heading2"> <text:p> </text:p> </table:table-cell> </table:table-row> </table:table-header-rows> <table:table-rows> <xsl:call-template name="Q-9-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="./AccessToInformationAndPublicParticipation"> <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-header-rows> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading2"> <text:p> <xsl:value-of select="$labels/question10-heading"/> </text:p> </table:table-cell> <table:table-cell table:style-name="Heading2"> <text:p> </text:p> </table:table-cell> </table:table-row> </table:table-header-rows> <table:table-rows> <xsl:call-template name="Q-10-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="./EmergingTechniques"> <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-header-rows> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading2"> <text:p> <xsl:value-of select="$labels/question11-heading"/> </text:p> </table:table-cell> <table:table-cell table:style-name="Heading2"> <text:p> </text:p> </table:table-cell> </table:table-row> </table:table-header-rows> <table:table-rows> <xsl:call-template name="Q-11-table"/> </table:table-rows> </xsl:for-each> </table:table> </office:body> </office:document-content> </xsl:template> <xsl:template name="Q-1-table"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question1-1a"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./NonCompliance/q_1" /> </text:p> </table:table-cell> </table:table-row> </xsl:template> <xsl:template name="Q-2-table"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question2-2a"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question2-2b"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question2-2.1"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./PermitConditions/q_2_1" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question-links"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <xsl:for-each select="./PermitConditions/q_2_1_links"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./url" /> </text:p> </table:table-cell> </table:table-row> </xsl:for-each> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question2-2.2"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./PermitConditions/q_2_2" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question-links"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <xsl:for-each select="./PermitConditions/q_2_2_links"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./url" /> </text:p> </table:table-cell> </table:table-row> </xsl:for-each> </xsl:template> <xsl:template name="Q-3-table"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question3-3a"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question3-3b"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question3-3.1"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./EmissionLimitValues/q_3_1" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question-links"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <xsl:for-each select="./EmissionLimitValues/q_3_1_links"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./url" /> </text:p> </table:table-cell> </table:table-row> </xsl:for-each> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question3-3.2"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./EmissionLimitValues/q_3_2" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question-links"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <xsl:for-each select="./EmissionLimitValues/q_3_2_links"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./url" /> </text:p> </table:table-cell> </table:table-row> </xsl:for-each> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question3-3.3"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./EmissionLimitValues/q_3_3" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question-links"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <xsl:for-each select="./EmissionLimitValues/q_3_3_links"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./url" /> </text:p> </table:table-cell> </table:table-row> </xsl:for-each> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question3-3.4"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./EmissionLimitValues/q_3_4" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question-links"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <xsl:for-each select="./EmissionLimitValues/q_3_4_links"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./url" /> </text:p> </table:table-cell> </table:table-row> </xsl:for-each> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question3-3.5"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./EmissionLimitValues/q_3_5" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question-links"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <xsl:for-each select="./EmissionLimitValues/q_3_5_links"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./url" /> </text:p> </table:table-cell> </table:table-row> </xsl:for-each> </xsl:template> <xsl:template name="Q-4-table"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question4-4a"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question4-4b"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question4-4.1"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./MonitoringRequirements/q_4_1" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question-links"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <xsl:for-each select="./MonitoringRequirements/q_4_1_links"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./url" /> </text:p> </table:table-cell> </table:table-row> </xsl:for-each> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question4-4.2"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./MonitoringRequirements/q_4_2" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question-links"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <xsl:for-each select="./MonitoringRequirements/q_4_2_links"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./url" /> </text:p> </table:table-cell> </table:table-row> </xsl:for-each> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question4-4.3"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./MonitoringRequirements/q_4_3" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question-links"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <xsl:for-each select="./MonitoringRequirements/q_4_3_links"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./url" /> </text:p> </table:table-cell> </table:table-row> </xsl:for-each> </xsl:template> <xsl:template name="Q-5-table"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question5-5.1"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./GeneralBindingRules/q_5_yesNo" /> </text:p> </table:table-cell> </table:table-row> </xsl:template> <xsl:template name="Q-5-1-table"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question5-5.1"/> </text:p> </table:table-cell> <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question5-5.1a"/> </text:p> </table:table-cell> <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question5-5.1b"/> </text:p> </table:table-cell> </table:table-row> <xsl:for-each select="./QuestionRow"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="cell1"> <text:p> <xsl:for-each select="./q_5_1/annex1Activity"> <xsl:value-of select="concat($codelists/Annex1Activities/group/item[./code = current()]/label,'; ')"/><xsl:text> </xsl:text> <!-- <xsl:call-template name="getCodelist"> <xsl:with-param name="value" select="."/> <xsl:with-param name="codelistGroup" select="Annex1Activities"/> </xsl:call-template>; --> </xsl:for-each> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_5_1a" /> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:for-each select="./q_5_1b/pollutant"> <xsl:value-of select="concat($codelists/Pollutant/group[./name = 'Air']/item[./code = current()]/label,'; ')"/><xsl:text> </xsl:text> <!--<xsl:call-template name="getCodelist"> <xsl:with-param name="value" select="."/> <xsl:with-param name="codelistGroup" select="Pollutant"/> </xsl:call-template>; --></xsl:for-each> </text:p> </table:table-cell> </table:table-row> </xsl:for-each> </xsl:template> <xsl:template name="Q-5-2-table"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question5-5.2"/> </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-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question5-5.3"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_5_3" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question5-5.4"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_5_4" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question5-5.5"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_5_5" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question5-5.6"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_5_6" /> </text:p> </table:table-cell> </table:table-row> </xsl:template> <xsl:template name="Q-6-table"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question6-6.1"/> </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:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question6-6.2"/> </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:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question6-6.2a"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_6_2a" /> </text:p> </table:table-cell> </table:table-row> </xsl:template> <xsl:template name="Q-7-table"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question7-7a"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question7-7b"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question7-7.1"/> </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:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question-links"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <xsl:for-each select="./q_7_1_links"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./url" /> </text:p> </table:table-cell> </table:table-row> </xsl:for-each> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question7-7.2"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_7_2" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question-links"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <xsl:for-each select="./q_7_2_links"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./url" /> </text:p> </table:table-cell> </table:table-row> </xsl:for-each> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question7-7.3"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_7_3" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question-links"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <xsl:for-each select="./q_7_3_links"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./url" /> </text:p> </table:table-cell> </table:table-row> </xsl:for-each> </xsl:template> <xsl:template name="Q-8-table"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question8-8.1"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./SiteClosure/q_8_1" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question8-8.1a"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:for-each select="./SiteClosure/q_8_1a/*"> <xsl:value-of select="concat($codelists/Annex1Activities/group/item[./code = current()]/label,'; ')"/><xsl:text> </xsl:text> </xsl:for-each> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question8-8.1b"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./SiteClosure/q_8_1b" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question8-8.1c"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./SiteClosure/q_8_1c" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question8-8.1d"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./SiteClosure/q_8_1d" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question8-8.2"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question8-8.2a"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./SiteClosure/q_8_2a" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question8-8.2b"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./SiteClosure/q_8_2b" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question8-8.2c"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./SiteClosure/q_8_2c" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question8-8.2d"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./SiteClosure/q_8_2d" /> </text:p> </table:table-cell> </table:table-row> </xsl:template> <xsl:template name="Q-9-table"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question9-9.1"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_9_1" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question9-9.1a"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_9_1a" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question9-9.1b"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_9_1b" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question9-9.1c"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_9_1c" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question9-9.2"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_9_2" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question9-9.2a"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_9_2a" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question9-9.2b"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_9_2b" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question9-9.2c"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_9_2c" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question9-9.3"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_9_3" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question9-9.3a"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_9_3a" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question9-9.3b"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_9_3b" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question9-9.4"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:for-each select="./q_9_4/*"> <xsl:value-of select="concat($codelists/InspectionCircumstances/item[./code = current()]/label,'; ')"/><xsl:text> </xsl:text> </xsl:for-each> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question9-9.5"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_9_5" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question9-9.5a"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_9_5a" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question9-9.5b"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_9_5b" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question9-9.5c"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_9_5c" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question9-9.6"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_9_6" /> </text:p> </table:table-cell> </table:table-row> </xsl:template> <xsl:template name="Q-10-table"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question10-10.1"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_10_1" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question10-10.2"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_10_2" /> </text:p> </table:table-cell> </table:table-row> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question10-10.3"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_10_3_yesNo" /> </text:p> </table:table-cell> </table:table-row> <xsl:if test="./q_10_3_yesNo = 'yes'"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question10-10.3a"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_10_3a" /> </text:p> </table:table-cell> </table:table-row> </xsl:if> </xsl:template> <xsl:template name="Q-11-table"> <table:table-row table:default-cell-value-type="string" > <table:table-cell table:style-name="Heading1"> <text:p> <xsl:value-of select="$labels/question11-11a"/> </text:p> </table:table-cell> <table:table-cell table:style-name="cell1"> <text:p> <xsl:value-of select="./q_11" /> </text:p> </table:table-cell> </table:table-row> </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:template name="getCodelist" > <xsl:param name="value"/> <xsl:param name="codelistGroup"/> <xsl:value-of select="$codelists/$codelistGroup/group/item[./code = $value]"/></xsl:template> </xsl:stylesheet>
European Environment Agency
Kgs. Nytorv 6, DK-1050 Copenhagen K, Denmark