Last change
on this file since 885 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
|
Rev | Line | |
---|
[32] | 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')"/> |
---|
[440] | 9 | <xsl:param name="message" select="string('-1')"/> |
---|
[32] | 10 | |
---|
| 11 | <xsl:template match="@*|node()"> |
---|
| 12 | <xsl:copy> |
---|
| 13 | <xsl:apply-templates select="@*|node()"/> |
---|
| 14 | </xsl:copy> |
---|
| 15 | </xsl:template> |
---|
| 16 | |
---|
[440] | 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> |
---|
[32] | 24 | </xsl:template> |
---|
| 25 | |
---|
| 26 | </xsl:stylesheet> |
---|
Note: See
TracBrowser
for help on using the repository browser.