| Subject: Re: [xsl] Deleting a node depending on contents of a grandfather attribute and a child node From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Thu, 31 Jul 2003 19:01:27 +0200 | 
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>
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] Deleting a node depending, John Reid | Thread | RE: [xsl] Xml to xml conversion of , Andrew Welch | 
| Re: [xsl] Xml to xml conversion of , J.Pietschmann | Date | Re: [xsl] namespaces problem, G. Ken Holman | 
| Month |