I am trying to perform loop A or Loop B based on the count of the nodes
empjobcount -> "count(employmentNav/EmpEmployment/compInfoNav/EmpCompensation/startDate)"
compcount -> "count(employmentNav/EmpEmployment/jobInfoNav/EmpJob/startDate)"
how to pass count to the parameter in order to perform if condition. Below is causing syntax error.
<xsl:if test= {"count(employmentNav/EmpEmployment/compInfoNav/EmpCompensation/startDate)" ge "count(employmentNav/EmpEmployment/jobInfoNav/EmpJob/startDate)"} >
</xsl:if>
Pseudocode: if empjobcount > compcount. loopA. else. loopB. endif.