There are XPath 2.0 functions specifically provided to do the job.
select="doc(resolve-uri(@ref,base-uri(.)))"
And in fact the document() function does this by default if the first
argument is a node:
select="document(@ref)"
should work fine.
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
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>
--~--