Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logical operation in xsl:template[@match] ?

Status
Not open for further replies.

Mike42

Programmer
Feb 22, 2001
10
0
0
DE
I try to write a xsl template with a match expression like
Code:
<xsl:template
 match=&quot;node[@att1='v1'] and node[@att2='v2']&quot;
/>
But this won't work. Is there an equivalent notation ? I am using MSXML 3.0 SP1.
 
You could do something like this;

<xsl:if test=&quot;node[@att1='v1']&quot;>
<xsl:if test=&quot;node[@att2='v2']&quot;>
</xsl:if>
</xsl:if>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top