John Reid wrote:
I understood that I could not use variables in a template match
statement such as
<xsl:template match="absent[ancestor::player/@pword=$varpword
and from=$vardate]"/>
Or am I missing something?
Ouch, this is correct. Some processors will accept this anyway.
Well, this should be portable:
<xsl:template match="absent">
<xsl:if test=ancestor::player/@pword!=$varpword
or from!=$vardate)">
<xsl:copy-of select="."/>
</xsl:if>
</xsl:template>
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list