N
Niall Smart
Hi
I'm trying to emulate a "following-sibling-or-self" XPath axis without
using the union operator. The XML looks like this:
<deeply-nested>
<select>
<option value="1">One</option>
<option value="2" selected="selected">Two</option>
<option value="3">Three</option>
<option value="4">Four</option>
</select>
</deeply-nested>
I want the option that is selected and subsequent options (i.e., 2, 3
and 4). Is there a convenient way to do this without unioning two
node sets?
Thanks
Niall
I'm trying to emulate a "following-sibling-or-self" XPath axis without
using the union operator. The XML looks like this:
<deeply-nested>
<select>
<option value="1">One</option>
<option value="2" selected="selected">Two</option>
<option value="3">Three</option>
<option value="4">Four</option>
</select>
</deeply-nested>
I want the option that is selected and subsequent options (i.e., 2, 3
and 4). Is there a convenient way to do this without unioning two
node sets?
Thanks
Niall