| 1234567891011121314151617181920212223242526272829 |
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:get_wfs="http://biuro.biall-net.pl/WPS_Functions/get_wfs/get_wfs.xsd"
- exclude-result-prefixes="xs"
- version="2.0">
-
- <xsl:output omit-xml-declaration="yes"/>
-
- <xsl:param name="propertyName" required="yes"/>
- <xsl:param name="set.propertyName" required="yes"/>
-
-
- <xsl:template match="*|text()|comment()">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="*[local-name()=$propertyName]">
- <xsl:text>#Ant properties
- </xsl:text>
- <xsl:value-of select="$set.propertyName"/><xsl:text>=</xsl:text><xsl:value-of select="text()"/>
- <xsl:choose>
- <xsl:when test=" count(following-sibling::*) > 1">
- <xsl:message terminate="yes">#25 ERROR too many rows - set propertyname could have only one feature - modify to restrict filter</xsl:message>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
-
- </xsl:stylesheet>
|