--On Wednesday, February 11, 2009 09:40:48 -0500 Robert Koberg wrote:
<xsl:apply-templates select="doc(concat($parent-dir, '/', @ref))/*"/>
There are XPath 2.0 functions specifically provided to do the job.
select="doc(resolve-uri(@ref,base-uri(.)))"
If you want relative references resolved as described in the W3C
specifications, use these functions.
Relative reference resolution is not as simple as just replacing whatever
follows the last '/'.
--
Owen Rees; speaking personally, and not on behalf of HP.
========================================================
Hewlett-Packard Limited. Registered No: 690597 England
Registered Office: Cain Road, Bracknell, Berks RG12 1HN
--~------------------------------------------------------------------
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>
--~--