XSLT - How to select top a to top b
- by user812241
how can I extract the first 2 C-Values ('Baby' and 'Cola') where B is 'RED'. Input instance is:
<Root>
<A>
<B>BLACK</B>
<C>Apple</C>
</A>
<A>
<B>RED</B>
<C>Baby</C>
</A>
<A>
<B>GREEN</B>
<C>Sun</C>
…