Forum Moderators: open
+++++++++++++++++++++++++++++++++
<xsl:param name="msgid" />
<xsl:for-each select="//message">
<xsl:if test="@id=$msgid">
......... processing.......
++++++++++++++++++++++++++++++++
where id is an attribute of all message element in the xml. basically i would like the code to perform certain processing when the message id = the given msgid. hav tried test="@id=[$msgid]", test="[id=$msgid]" all do not work. what should i write here?
thanks alot!