[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Relative URLs & XSLT

Subject: RE: Relative URLs & XSLT
From: "Spychalski, Frank" <frank.spychalski@xxxxxxx>
Date: Tue, 1 Aug 2000 17:49:33 +0200
xslt relative url
->-----Original Message-----
->From: Meukens, Kris [mailto:kris.meukens@xxxxxxx]
->Subject: Relative URLs & XSLT
->Importance: High
              ^^^^ :-(
Hi,

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

use absolute URLs :-)

I don't think that it's possible (out of a stylesheet) to find out in which
directory you are, if you have some kind of information in your xml files
about where they are located then it should be no problem to build the
relative url... 

bye
Frank
-
Frank Spychalski
Research Engineer
SAP Labs, Palo Alto           frank.spychalski@xxxxxxx 


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.