I don't know of any way of doing a destructuring bind with XSL; I'd
be interested to know if there is a native idiom for that.
Anyway:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/row">
<row>
<xsl:for-each select="table[@name='Person']/tuple/val">
<xsl:variab

To grab siblings with JQuery, you have some nifty selectors such as
.next() and .prev() that should be useful to you. There's also
.first() if you want to start at the first tab if the last tab is
closed.
So $(this).next() should give you the item that directly follows the
object that's currently selected.
If you want to expand it even further, there are also functions like
.nextAll() which will