[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:
why? UROs never use \ to separate components they always use / and \ isn't an escape character in xpath strings so you never need to double \/ The command line param is: ...path="C:\Documents and Settings\Adminis trator\My Documents\Projects\Transform\OutputFiles" <xsl:variable name="Command" select="concat($path, '\\OutputFiles\\Command-output.xml')" /> <xsl:result-document method="xml" href="{$Command}"> ..... href to equal "C:\\Documents and Settings\\Administrator\\My Documents\\Projects\\Transform\OutputFiles" you want a URI not a windows file path with doubled \ file:///c:/Documents%20and%20Settings\\Administrator\\My%20Documents\\Projects\\Transform\OutputFiles David
|
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
|