I'm not sure what exactly you are trying to acheive here.
You can use <xsl:apply-templates/> in place of <xsl:for-each/> and then define a template to process the element:
Code:
<xsl:template match="ShowWithNoUser">
<td>
<input type="radio" name="deviceId" value="{IdUser}" id="{IdUser}" onclick="rememberId({IdUser},{id});" />
...
</xsl:template>
If you always want to use ShowWithNoUserMonitor[1], then drop the variable and just use a 1. To use a variable, you'll need to change it to [$i]. If there is a 1-to-1 correlation, then you should use <xsl:variable name="i" select="position()"/>
"Man will occasionally stumble over the truth, but most of the time he will pick himself up and continue on." - Winston Churchill
Bookmarks