xsl-list
[Top] [All Lists]

Re: [xsl] XSLT 2 Function To Calculate Relative Paths?

2008-03-10 09:00:38
On Mon, Mar 10 2008 15:32:53 +0000, ekimber(_at_)reallysi(_dot_)com wrote:
Does anyone have code lying about or can anyone point me to a
description of the algorithm for calculating the relative path from
one fully-qualified file to another? I know I've figured this out in
the past but I remember it being hard for my addled brain to work out
the details. A search of this list via MarkMail didn't reveal any past
discussion in an XSLT 2 context (where the task should be much easier
given functions and string tokenization).

An XSLT 1.0 version is available at:

   http://xmlroff.org/browser/trunk/testing/common.xsl

Regards,


Tony Graham.
======================================================================
Tony(_dot_)Graham(_at_)MenteithConsulting(_dot_)com   
http://www.menteithconsulting.com

Menteith Consulting Ltd             Registered in Ireland - No. 428599
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
----------------------------------------------------------------------
Menteith Consulting -- Understanding how markup works
======================================================================

--~------------------------------------------------------------------
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>
--~--