comparison gnv/src/main/webapp/WEB-INF/config/templates/describe-ui.xsl @ 18:87002cbd194c

Static UI -integration an some refactoringwork done gnv/trunk@103 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Thu, 17 Sep 2009 14:30:16 +0000
parents d7e5a929fc34
children 17c92f1f014b
comparison
equal deleted inserted replaced
17:d7e5a929fc34 18:87002cbd194c
4 xmlns="http://www.w3.org/2002/xforms" 4 xmlns="http://www.w3.org/2002/xforms"
5 xmlns:xform="http://www.w3.org/2002/xforms" 5 xmlns:xform="http://www.w3.org/2002/xforms"
6 xmlns:art="http://www.intevation.de/2009/artifacts"> 6 xmlns:art="http://www.intevation.de/2009/artifacts">
7 <xsl:output method="html" version="1.0" encoding="UTF-8" omit-xml-declaration="no"/> 7 <xsl:output method="html" version="1.0" encoding="UTF-8" omit-xml-declaration="no"/>
8 8
9 <xsl:template match="*[local-name() = 'ui']">
10 <xsl:apply-templates/>
11 </xsl:template>
12 <xsl:template match="*[local-name() = 'select']"> 9 <xsl:template match="*[local-name() = 'select']">
13 <xsl:variable name="selectName" select="@ref"/> 10 <xsl:variable name="selectName" select="@ref"/>
14 <legend><xsl:value-of select="@ref"/></legend> 11 <legend><xsl:value-of select="@ref"/></legend>
15 <select name="{$selectName}" multiple="multiple" size="6"> <xsl:apply-templates/></select> 12 <select name="{$selectName}" multiple="multiple" size="6"> <xsl:apply-templates/></select>
16    </xsl:template> 13    </xsl:template>

http://dive4elements.wald.intevation.org