Dealing with <xrl:for-each> variable scopes.