Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - transform fails when file location contains space [Thread Next] Re: transform fails when file location contains spaceTo: NULL Date: 2/4/2006 9:49:00 AM "Simon" <groups.sitary@x...> wrote in message news:1139011846.077522.16960@f...... > Somehow I lost the ability to do a transform when the folder that > contains the xml and xsl file contains a space in it. For example, if > bar.xml and bar.xsl are in "c:\foo", and bar.xml contains > <?xml-stylesheet type='text/xsl' href='bar.xsl'?>, the transformation > occurs without a hitch. But if the two files are located in > "c:\foo\space here", I get the dreaded error message from IE: > > The XML page cannot be displayed > Cannot view XML input using XSL style sheet. Please correct the error > and then click the Refresh button, or try again later. > -------------------------------------------------------------------------------- > The system cannot locate the resource specified. Error processing > resource 'file:///C:/foo/space here/bar.xsl'. > > Any thoughts on what's going on here would be appreciated. Perhaps a > setting in IE? Or is there an encoding I could add? > > Thank you, > > Simon > It's a URL, they cannot contain spaces. Try %20 where the spaces are. -- Joe Fawcett - XML MVP https://mvp.support.microsoft.com/profile=8AA9D5F5-E1C2-44C7-BCE8-8741D22D17A5 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
