[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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). Regards, Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkay > -----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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|