xsl-list
[Top] [All Lists]

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

2008-03-10 08:46:06
This is an old FXSL (XSLT 1.0) - based solution:

http://groups.google.co.uk/group/comp.text.xml/browse_frm/thread/6be70a1352644ff1/def66c8ed30c8c46?hl=en&lr=&ie=UTF-8&oe=UTF-8&rnum=1&prev=/groups%3Fq%3Dnovatchev%2Brelative%2Bpath%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3Db8ujil%2524dpl9r%25241%2540ID-152440.news.dfncis.de%26rnum%3D1#def66c8ed30c8c46




-- 
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play




On Mon, Mar 10, 2008 at 8:32 AM, Eliot Kimber <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).

Thanks,

Eliot

--
Eliot Kimber
Senior Solutions Architect
"Bringing Strategy, Content, and Technology Together"
Main: 610.631.6770
www.reallysi.com
www.rsuitecms.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>
--~--