R
Ralph Snart
I have a bunch of nodes called <product>. Some of them will have <gumball_id>
child elements. How can I get the first 4 products that have gumball_ids ?
The previous programmer wrote:
select="product[gumball_id!=''][position() < 4]"
But that only looks at the first 4 <product>s. It doesn't find the first 4
with a specific child.
-rs-
child elements. How can I get the first 4 products that have gumball_ids ?
The previous programmer wrote:
select="product[gumball_id!=''][position() < 4]"
But that only looks at the first 4 <product>s. It doesn't find the first 4
with a specific child.
-rs-