Use doc(resolve-uri($relative-filename, base-uri($node))
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Agnisys [mailto:agnisys(_at_)yahoo(_dot_)com]
Sent: 16 November 2005 20:09
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] doc-avaialble() and doc()
Hi,
If a relative file name is given as an argument to
doc-available() or doc(), they try to load
the file relative to the path of the XSLT file. Is there a
way to have it load relative to the
source document that is being processed?
I'm using XSLT 2.0, Saxon8B, OxygenXML.
Thanks,
Anupam.
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.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>
--~--
--~------------------------------------------------------------------
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>
--~--