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

RE: xlink:href

Subject: RE: xlink:href
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 14 Dec 2009 14:22:53 -0000
RE:  xlink:href
Off-list reply, because you're off-topic, and Tommie doesn't like that...

Two slashes is always wrong, but some software tolerates it. You want either
one slash or three. There's technically a difference but in practice they
are equivalent.

With the file:/ or file:/// prefix you have a rooted (absolute) path.
Without any prefix you have a relative path, for example scan0001.tif
selects a file in the same directory as the current document (the one
containing the link).


Michael Kay

> -----Original Message-----
> From: ivanmacculi@xxxxxxxxx [mailto:ivanmacculi@xxxxxxxxx] 
> Sent: 14 December 2009 13:03
> To: XSL user
> Subject:  xlink:href
> Hi all, i've problems to determine the right path for a 
> internal resource with xlink's attribute, href.
> i found this different ways suggested:
> <mets:FLocat xmlns:xlink="http://www.w3.org/1999/xlink" 
> LOCTYPE="URL" xlink:href="file://Scan00001.tif"/>
> this second one:
> <mets:FLocat xmlns:xlink="http://www.w3.org/1999/xlink" 
> LOCTYPE="URL" xlink:href="file:///Scan00001.tif"/>
> (with 3 slash... i don't understand the difference)
> and the last:
> <mets:FLocat xmlns:xlink="http://www.w3.org/1999/xlink" 
> LOCTYPE="URL" xlink:href="Scan00001.tif"/>
> when can i use these ways? are there differences?
> thanks to all.

Current Thread


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.
First Name
Last Name
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.