| XML schema | |
|---|---|
| Output type | HTML |
| Description | FGases company NER status selector |
| XSL file | fgases-ner-list.xsl (Last modified: 02 Feb 2016 14:01 ) |
<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="/">
<nerStatus>
<xsl:element name="exists">
<xsl:choose>
<xsl:when test="count(/child::*/child::*[CompanyID=$companyId]) > 0">
<xsl:text>true</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>false</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:element>
</nerStatus>
</xsl:template>
</xsl:stylesheet>
European Environment Agency
Kgs. Nytorv 6, DK-1050 Copenhagen K, Denmark