OK so I'm a blockhead. Param help:

admin

Administrator
Staff member
Here's my xsl:<?xml version="1.0"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"><xsl:param name="co"/><xsl:param name="mach"/><xsl:param name="trace"/><xsl:template match="/"><HTML><HEAD><TITLE/></HEAD><BODY><xsl:for-each select="*/rs:data/z:row[@CompanyID=$co][@CaptureMachine=$mach][@Trace=$trace]"><h3>Company: <xsl:value-of select="@CompanyID"/>Batch: <xsl:value-of select="@Batch"/>Sequence: <xsl:value-of select="@Sequence"/>Amount: <xsl:value-of select="@Amount"/></h3></xsl:for-each></BODY></HTML></xsl:template></xsl:stylesheet>I set the values of my three params from JavaScript withselectSingleNode and the text method of the node.Then when I do the transofrm I get:"Keyword xsl:param may not be used here."I've searched all over and can't find what I'm doing wrong.
 
Back
Top