| XML schema |
http://dd.eionet.europa.eu/GetSchema?id=TBL8286
|
|---|---|
| Output type | RDF |
| Description | RDF |
| XSL file | rdf8286.xsl (Last modified: 27 Jun 2013 12:12 ) |
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:dd599="http://dd.eionet.europa.eu/namespace.jsp?ns_id=599"
xmlns:dd605="http://dd.eionet.europa.eu/namespace.jsp?ns_id=605"
xmlns:elem="http://dd.eionet.europa.eu/tables/8286/rdf#"
exclude-result-prefixes="dd599 dd605"
xmlns:cr="http://cr.eionet.europa.eu/ontologies/contreg.rdf#">
<xsl:output method="xml" indent="no"/>
<xsl:param name="instance" select="''"/>
<xsl:template match="/">
<rdf:RDF>
<xsl:apply-templates/>
</rdf:RDF>
</xsl:template>
<xsl:template match="dd599:BWQD_2006_IdentifiedBW">
<xsl:for-each select="dd599:Row">
<rdf:Description>
<xsl:attribute name="rdf:about">#<xsl:value-of select="dd605:BWID"/></xsl:attribute>
<rdf:type rdf:resource="http://dd.eionet.europa.eu/tables/8286/rdf/BWQD_2006_IdentifiedBW"/><!-- known by DD -->
<xsl:apply-templates/>
</rdf:Description>
</xsl:for-each>
</xsl:template>
<xsl:template match="*">
<xsl:if test="text() != ''">
<xsl:element name="{concat('elem:',local-name())}">
<xsl:value-of select="."/>
</xsl:element>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
European Environment Agency
Kgs. Nytorv 6, DK-1050 Copenhagen K, Denmark