XML schema |
http://dd.eionet.europa.eu/schemas/fgases-2015/FGasesReporting.xsd
|
---|---|
Output type | HTML |
Description | testfgases |
XSL file | fgases-authorisations.xsl (Last modified: 14 Nov 2018 10:49 ) |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" indent="yes" encoding="UTF-8"/> <xsl:param name="companyId"/> <xsl:template match="/"> <xsl:choose> <xsl:when test="count(/child::*/child::*[@companyId=$companyId]) = 0"> <authorisation companyId="{$companyId}"> <AuthBalance /> <ExtractDate /> </authorisation> </xsl:when> <xsl:otherwise> <xsl:copy-of select="/child::*/child::*[@companyId=$companyId][1]" /> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>
European Environment Agency
Kgs. Nytorv 6, DK-1050 Copenhagen K, Denmark