| | |
Error loading stylesheet: Parsing an XSLT stylesheet failed
Please support our RSS, Web Services and SOAP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Apr 2007
Posts: 4
Reputation:
Solved Threads: 0
I'm having a problem with my XML and XSL pages. My XSL sheet is not complete yet, but when I go to view my XML to see how it looks so far, I get an error saying, "Error loading stylesheet: Parsing an XSLT stylesheet failed." Does anyone know why this could be happening. I am using Mozilla, I know that the browser matters, but I've done other web pages that have turned out fine. Thank you
•
•
Join Date: Dec 2007
Posts: 113
Reputation:
Solved Threads: 17
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.
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.
•
•
Join Date: Dec 2007
Posts: 113
Reputation:
Solved Threads: 17
"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 (<br> instead of <br />) or mismatching elements (<span><div></div></span>)
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.
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 (<br> instead of <br />) or mismatching elements (<span><div></div></span>)
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.
•
•
Join Date: Feb 2007
Posts: 14
Reputation:
Solved Threads: 0
•
•
•
•
I'm having a problem with my XML and XSL pages. My XSL sheet is not complete yet, but when I go to view my XML to see how it looks so far, I get an error saying, "Error loading stylesheet: Parsing an XSLT stylesheet failed." Does anyone know why this could be happening. I am using Mozilla, I know that the browser matters, but I've done other web pages that have turned out fine. Thank you
In Mozilla - go to Tools > Page Info and see what the Type attribute displays
•
•
Join Date: Apr 2008
Posts: 1
Reputation:
Solved Threads: 0
•
•
•
•
I'm having a problem with my XML and XSL pages. My XSL sheet is not complete yet, but when I go to view my XML to see how it looks so far, I get an error saying, "Error loading stylesheet: Parsing an XSLT stylesheet failed." Does anyone know why this could be happening. I am using Mozilla, I know that the browser matters, but I've done other web pages that have turned out fine. Thank you
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
![]() |
Other Threads in the RSS, Web Services and SOAP Forum
- Previous Thread: Yahoo! Improvements to the Developer Network
- Next Thread: GSoap
| Thread Tools | Search this Thread |
.htaccess 301 accept access alltop api authentication binarysecuritytoken blog card collaboration credit data development ebay email evernote flash google government highrise htaccess intel internet legal live netbeans patent paypal php podcast proxy redirect rss rssfeeds searchmonkey server service soap software swappingxmlfromflash swappingxmlnodes url web webservices webservicesecurity wiki wikipedia xerces xml xslt y!os yahoo ydn






