[Home] [By Thread] [By Date] [Recent Entries]
Tracey Zellmann wrote:
I have a stylesheet where I need to handle several different situations. I want to make these selections, for instance how about <xsl:template name="parameterizedTemplate"> <xsl:param name="trackID"/> <xsl:param name="mcpID"/> <xsl:param name="position"/> <xsl:value-of select="$questions//Track[@id=$trackID]/MCP[@id=$mcpID]/ReportInstructions"/> <xsl:value-of select="Report/TrackT1/Position[@position=$position]/MCHistogram[@id='1']/Average"/> </xsl:template> ? you can invoke this template with <xsl:call-template name="parameterizedTemplate"> <xsl:with-param name="trackID" select="'T1'"/> <xsl:with-param name="mcpID" select="'MC2'"/> <xsl:with-param name="position" select="'Left Rear'"/> </xsl:call-template> hope that helps, jvrn -- jvrn nettingsmeier home://germany/45128 essen/lortzingstr. 11/ http://spunk.dnsalias.org phone://+49/201/491621 if you are a free (as in "free speech") software developer and you happen to be travelling near my home, drop me a line and come round for a free (as in "free beer") beer. :-D
|

Cart



