Newbie: XSLT transformation question
I'm a newbie to XSLT.
I'm trying to comeup with xsl that will validate number of children in the element based on the value of the attribute.
Sample XML:
...
<Manager mincount="4" grade="10"...>
<Employee id="1" grade="9" .... />
<Employee id="2" grade="8" .... />
.....
</Manager>
1. The number of children under Manager (Employee in this case) must be equal to or greater than the value of mincount attribute.
2. All the employee's grade must be less than the Manager grade.
Appreciate your help!
TIA!
foobar.
|