metacat/lib/spatial/mapbuilder/lib/widget/SelectTimeFrame.xsl @ 5657
1 |
<?xml version="1.0"?>
|
---|---|
2 |
<xsl:stylesheet xmlns:wmc="http://www.opengis.net/context" xmlns:mb="http://mapbuilder.sourceforge.net/mapbuilder" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"><xsl:output method="xml" encoding="utf-8" omit-xml-declaration="yes"/><xsl:param name="modelId"/><xsl:param name="widgetId"/><xsl:param name="lang">en</xsl:param><xsl:param name="layerId">TEMPERATURE</xsl:param><xsl:template match="/wmc:ViewContext/wmc:General/wmc:Extension "><div><form> |
3 |
start:<select name="firstFrame" onchange="config.objects.{$modelId}.setParam('firstFrame',this.value)"><xsl:apply-templates select="mb:TimestampList[@layerId=$layerId]/mb:Timestamp"/></select></form></div></xsl:template><xsl:template match="mb:Timestamp"><xsl:param name="index" select="position()-1"/><option value="{$index}"><xsl:value-of select="."/></option></xsl:template><xsl:template match="text()|@*"/></xsl:stylesheet> |