There could be various reasons. To name a few:
1. Invalid/Wrong path to the stylesheet
2. Invalid characters in the stylesheet
3. Improper syntax
4. Insufficient Permissions on the file
Open the XSL file directly through FF. If the problem is any of 1-3, then it will tell you on which line the error occured.
hielo
Veteran Poster
1,124 posts since Dec 2007
Reputation Points: 116
Solved Threads: 244
"Error loading stylesheet..." is typically reported by the XSL parser, not the browser. What I am suggesting is to open up Firefox and type(as an example):
http://www.yoursite.com/Project/myFile.xsl
Firefox will not try to parse/interpret your XSL file. But it will try to create a "tree-node" representative of the document. Things that the browser will spot easily for you are for example:
& instead of &
or unclosed elements (
instead of
) or mismatching elements ()
etc.
IF the problem on the file are permissions, the browser will also report it because it will not be able to retrieve it from the server.
hielo
Veteran Poster
1,124 posts since Dec 2007
Reputation Points: 116
Solved Threads: 244
please help!
Post your code, we are not mind readers to find out where is problem in code you writing
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902