Mercurial > dive4elements > gnv-client
comparison gnv/src/main/webapp/WEB-INF/config/templates/describe-ui.xsl @ 392:1b8fd2635ce4
Added wkt polygon to test the "Horizontalschnitt"
gnv/trunk@535 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 13 Jan 2010 06:51:52 +0000 |
parents | b48172dc24ed |
children | d812c5b62eb4 |
comparison
equal
deleted
inserted
replaced
391:ee8003fffc71 | 392:1b8fd2635ce4 |
---|---|
38 | 38 |
39 <xsl:template match="*[local-name() = 'input']"> | 39 <xsl:template match="*[local-name() = 'input']"> |
40 <xsl:variable name="inputValue" select="*[local-name() = 'value']"/> | 40 <xsl:variable name="inputValue" select="*[local-name() = 'value']"/> |
41 <xsl:variable name="inputName" select="@ref"/> | 41 <xsl:variable name="inputName" select="@ref"/> |
42 | 42 |
43 <xsl:if test="$inputName = 'mesh_linestring'"> | 43 <!-- TODO: Remove this when we have the GIS interface. (slt) --> |
44 <a href="javascript:copy_demo_wkt_line();"><xsl:text>Beispiel WKT-Linestring einfügen:</xsl:text></a><br/> | 44 <xsl:choose> |
45 </xsl:if> | 45 <xsl:when test="$inputName = 'mesh_linestring'"> |
46 <a href="javascript:copy_demo_wkt_line();"><xsl:text>Beispiel WKT-Linestring einfügen:</xsl:text></a><br/> | |
47 </xsl:when> | |
48 <xsl:when test="$inputName = 'mesh_polygon'"> | |
49 <a href="javascript:copy_demo_wkt_polygon();"><xsl:text>Beispiel WKT-Linestring einfügen:</xsl:text></a><br/> | |
50 </xsl:when> | |
51 </xsl:choose> | |
46 | 52 |
47 <xsl:choose> | 53 <xsl:choose> |
48 <xsl:when test="*[local-name() = 'label']!= ''"> | 54 <xsl:when test="*[local-name() = 'label']!= ''"> |
49 <xsl:value-of select="*[local-name() = 'label']"/>: | 55 <xsl:value-of select="*[local-name() = 'label']"/>: |
50 </xsl:when> | 56 </xsl:when> |