|
Subject: RE: [xsl] Windows file path to uri (iri?) using xpath functions From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Mon, 21 Nov 2005 11:29:52 -0000 |
> 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.
Michael Kay
http://www.saxonica.com/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Windows file path to uri , David Carlisle | Thread | Re: [xsl] Windows file path to uri , andrew welch |
| RE: [xsl] Windows file path to uri , Michael Kay | Date | Re: [xsl] Windows file path to uri , andrew welch |
| Month |