Project

General

Profile

root / branches / 1.4-sc50 / model / sources / prism / web / transf / eval / transf / webEvalRoot@countDown.xsl @ 376

1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsl:stylesheet version="1.0" xmlns:sp="http://www.utc.fr/ics/scenari/v3/primitive" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:rbs="scpf.org:opale/rubis" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="sc sp rbs">
3
	<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/>
4
	<xsl:param name="vDialog"/>
5
	<xsl:param name="vAgent"/>
6
	<xsl:template match="*">
7
		<xsl:if test="*/sp:settings/sp:chrono/sp:chronoTime">
8
countDownMgr.fTime = parseFloat("<xsl:value-of select="chaineProtegeJs(*/sp:settings/sp:chrono/sp:chronoTime)"/>")*60;
9
		</xsl:if>
10
		<xsl:if test="*/sp:settings/sp:chrono/sp:showChrono">
11
countDownMgr.fIsChrono = "<xsl:value-of select="chaineProtegeJs(*/sp:settings/sp:chrono/sp:showChrono)"/>";
12
		</xsl:if>
13
		<xsl:value-of select="getContent(gotoSubModel(sp:activity), 'resultUrl')"/>
14
	</xsl:template>
15
</xsl:stylesheet>
(4-4/14)