RE: Relative URLs & XSLT

Subject: RE: Relative URLs & XSLT
From: Thorbjørn Ravn Andersen <TRA@xxxxxxxx>
Date: Tue, 1 Aug 2000 18:54:54 +0200
> I have a directory structure with xml content source files.  These are
> transformed in HTML via XSLT.  The resulting HTML files 
> contain relative
> URLs (to for example images).  Now depending on where the 
> source file is
> located in the directory structure, the relative URLs need to 
> be different.
> 
> What's the easiest way to solve this problem?

Depends.  Have a parameter passed with the directory prefix to the top?  Just use a reference starting at the root (url="/gr/mygif.gif")?  

Please be more specific about what you need.
-- 
  Thorbjørn Ravn Andersen   "...and...Tubular Bells!"


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread