I have a when statement that I would like to add one more condition.
I would like to add CaseParty with an Op='A' to my existing count.
How do I do that?
Here is my xslt when test count statement
Here is my xml document
I would like to add CaseParty with an Op='A' to my existing count.
How do I do that?
Here is my xslt when test count statement
Code:
<xsl:when test="(count(CaseParty[((ObservedRace/@Op='E') or (ObservedEthnicity/@Op='E')) and (Connection/@Word='RSP')] )>0)">
Here is my xml document
XML:
<Integration>
<Case>
<CaseParty ID="7470">
<ObservedRace Word="W" Op="E">White</ObservedRace>
<ObservedEthnicity Word="NH">Non Hispanic</ObservedEthnicity>
<Connection Word="RSP"/>
</CaseParty>
<CaseParty ID="111" Op="A">
<Connection Op="A" Word="CHD">
<Description>Child</Description>
</Connection>
</CaseParty>
</Case>
</Integration>