Re: Windows file path to uri (iri?) using xpath functi
On 11/21/05, Michael Kay <mike@xxxxxxxxxxxx> wrote: > > 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...
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