test="local-name(following-sibling::*[1]) = 'table'"
or as mentioned in a different thread earlier today, it's usually safer
(and possibly a fraction more efficient) to use
test="following-sibling::*[1]/self::table"
David
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--