Parameters don't work with xsl:template tag
|Reported by:||jcarter@…||Owned by:||roadrunner|
With a parameter of xp_machineid in the macro command the following works almost. I am getting a dump of everything in the XML file before record $machineid and after $machineid. The transform is being applied ok to $machineid.
If I take the attribute selector out of the template tag and move it down to a value-of tag, all works well.
<xsl:template match="/systems"> <td><xsl:value-of select="computer[@id=$machineid]/information/name"/></td>
I am very new to all of this, but according to all I have read this should work. Is this a bug somewhere?
Change History (8)
comment:1 Changed 10 years ago by roadrunner
- Owner changed from roadrunner to anonymous
- Status changed from new to assigned
comment:2 Changed 10 years ago by roadrunner
- Owner changed from anonymous to roadrunner
- Status changed from assigned to new