Thanks andrew and florent this helped a lot. What i used was:
document('source2.xml')/entry[(_at_)id=current()/@id and
@type=current()/@type and (@n=current()/@n or @n[matches(.,'-') and
number(substring-before(.,'-')) <= current()/@n and
number(substring-after(.,'-')) >= cunrrent()/@n])]
-- Jeff
--~------------------------------------------------------------------
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>
--~--