Subject: [xsl] Complex Condition problem with Attributes From: "Khorasani, Houman" <houman_khorasani@xxxxxxxxxxxxxx> Date: Thu, 15 Sep 2005 13:23:25 +0100 |
Hello I have here a nasty condition. It shall look, if there is any element that contains 'DebtManagement' (e.g. XXXXDebtManagement) and check if these elements have an attribute called 'action' with the value of 'add' or 'delete', then the condition would be true. <xsl:when test="//*[contains(name(),'DebtManagement') and (//*[contains(name(),'DebtManagement')]@action='add' or //*[contains(name(),'DebtManagement')]@action='delete')"> It failes at the position @. But why? Many Thanks, Houman
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] losing significant whitespace, triangle | Thread | Re: [xsl] Complex Condition problem, David Carlisle |
RE: [xsl] Break the For-each loop, Khorasani, Houman | Date | Re: [xsl] Complex Condition problem, David Carlisle |
Month |