source: branches/branch-1.4/zoo-project/zoo-services/utils/status/cgi-env/updateStatus.xsl

Last change on this file was 440, checked in by djay, 11 years ago

Add message in complement to percentCompleted value.

  • Property svn:executable set to *
File size: 828 bytes
Line 
1<xsl:stylesheet version="1.0"
2                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3                xmlns:ows="http://www.opengis.net/ows/1.1"
4                xmlns:wps="http://www.opengis.net/wps/1.0.0"
5                xmlns:xlink="http://www.w3.org/1999/xlink">
6
7  <xsl:output method="xml"/>
8  <xsl:param name="value" select="string('-1')"/>
9  <xsl:param name="message" select="string('-1')"/>
10
11  <xsl:template match="@*|node()">
12    <xsl:copy>
13      <xsl:apply-templates select="@*|node()"/>
14    </xsl:copy>
15  </xsl:template>
16
17  <xsl:template match="/wps:ExecuteResponse/wps:Status/wps:ProcessStarted">
18    <xsl:copy>
19      <xsl:attribute name="percentCompleted">
20        <xsl:value-of select="$value"/>
21      </xsl:attribute>
22      <xsl:value-of select="$message" />
23    </xsl:copy>
24  </xsl:template>
25
26</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png