comparison gnv/src/main/webapp/WEB-INF/config/templates/describe-ui.xsl @ 11:3cb753564552

Integration of the required XSL-Transformation of the Describe-Response of the Artifactdatabase gnv/trunk@90 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 15 Sep 2009 14:19:55 +0000
parents
children 4ebe57b170d3
comparison
equal deleted inserted replaced
10:e6c47838eee6 11:3cb753564552
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 xmlns="http://www.w3.org/2002/xforms"
5 xmlns:xform="http://www.w3.org/2002/xforms"
6 xmlns:art="http://www.intevation.de/2009/artifacts">
7 <xsl:output method="html" version="1.0" encoding="UTF-8" omit-xml-declaration="no"/>
8 <xsl:template match="*[local-name() = 'select']">
9 <xsl:variable name="selectName" select="@ref"/>
10 <select name="{$selectName}"> <xsl:apply-templates/></select>
11    </xsl:template>
12 <xsl:template match="*[local-name() = 'item']">
13 <xsl:variable name="optionValue" select="*[local-name() = 'value']"/>
14 <option value="{$optionValue}"><xsl:value-of select="*[local-name() = 'label']"></xsl:value-of></option>
15 </xsl:template>
16 <xsl:template match="*[local-name() = 'label']">
17 </xsl:template>
18 </xsl:stylesheet>

http://dive4elements.wald.intevation.org