resolve-uri() turns a relative URI into an absolute URI. There's no function
to do the reverse. In fact, I'm not aware of any algorithm to do the
reverse.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: jason heddings [mailto:rocket(_at_)heddway(_dot_)com]
Sent: 06 June 2007 23:04
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Relative URI Question
Hello-
I'm having a bit of trouble with the resolve-uri() function.
I would like to generate a relative path from one file to another, but
resolve-uri() is leaving my full file path. I'm calling it as:
resolve-uri($path) where $path is the full path to the file,
including file://. What I'm hoping for is a path relative to
the current output document (to make it easier to move the
transformed docs).
Thanks,
--jah
--~------------------------------------------------------------------
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>
--~--