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

RE: Relative URI Question

Subject: RE: Relative URI Question
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 6 Jun 2007 23:10:04 +0100
RE:  Relative URI Question
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@xxxxxxxxxxx] 
> Sent: 06 June 2007 23:04
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  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

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.