<parent>
...
<child>foo</child>
<child current="true">current</child>
<child>bar</child>
...
</parent>
How would I get the values of the children before and after the @current child (i.e. output foo and bar)? I’ll be outputting Prev/Next links using those values. Thanks!
1 Answer