doesn't
concat('file:///',translate($filepath,'\','/'))
fit the bill
Yes, 99% of the time. It depends whether that's good enough. For example,
this doesn't give you a valid IRI if the filename contains a "#" character.
This is exactly what I'm doing now, I was hoping for a function that
accepts anything windows accepts and returns a valid IRI.
Doing a concat and a translate seems a bit clunky...
Maybe this is a good idea for a 2.0 function - is there a 2.0 function
library out there where people can share their useful functions?
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--