|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: URI's, double backslashes and regular expressions
On 28/10/2010 19:51, Neil Owens wrote:
The href attribute of xsl:result-document expects a URI, not a Windows filename, and URIs always use forward slashes to separate components of the path. Even if it were a backslash, the backslash is not a special character in XPath and does not need escaping. Moreover: string concatenation is an unreliable way of constructing a URI from a base URI plus a relative reference. Much better to use the resolve-uri() function. (I'm afraid this is advice I don't always follow myself, but I often end up regretting it.) Michael Kay Saxonica The command line param is: ...path="C:\Documents and Settings\Adminis trator\My Documents\Projects\Transform\OutputFiles"
|
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
|

Cart








