User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the RSS, Web Services and SOAP section within the Web Development category of DaniWeb, a massive community of 329,741 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,530 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our RSS, Web Services and SOAP advertiser:
Views: 1817 | Replies: 6
Reply
Join Date: Apr 2007
Posts: 4
Reputation: lionburn50 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
lionburn50 lionburn50 is offline Offline
Newbie Poster

Help Error loading stylesheet: Parsing an XSLT stylesheet failed

  #1  
Dec 7th, 2007
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2007
Posts: 75
Reputation: hielo is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 10
hielo hielo is offline Offline
Junior Poster in Training

Re: Error loading stylesheet: Parsing an XSLT stylesheet failed

  #2  
Dec 8th, 2007
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.
Reply With Quote  
Join Date: Apr 2007
Posts: 4
Reputation: lionburn50 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
lionburn50 lionburn50 is offline Offline
Newbie Poster

Re: Error loading stylesheet: Parsing an XSLT stylesheet failed

  #3  
Dec 8th, 2007
That's the problem I'm having, Nothing will show up, except the "Error loading stylesheet: Parsing an XSLT stylesheet failed" message.. it won't show me what line or anything, it is so annoying because I don't know what is wrong with it.

Thank you anyways!!
Reply With Quote  
Join Date: Dec 2007
Posts: 75
Reputation: hielo is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 10
hielo hielo is offline Offline
Junior Poster in Training

Re: Error loading stylesheet: Parsing an XSLT stylesheet failed

  #4  
Dec 8th, 2007
"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.
Reply With Quote  
Join Date: Feb 2007
Location: Finger Lakes NY area
Posts: 14
Reputation: ritgrad83 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
ritgrad83 ritgrad83 is offline Offline
Newbie Poster

Question Re: Error loading stylesheet: Parsing an XSLT stylesheet failed

  #5  
Jan 2nd, 2008
Originally Posted by lionburn50 View Post
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


What MIME/Type encoding are you using and is the stylesheet loaded from a server or your local machine?

In Mozilla - go to Tools > Page Info and see what the Type attribute displays
Reply With Quote  
Join Date: Apr 2008
Posts: 1
Reputation: antakos is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
antakos antakos is offline Offline
Newbie Poster

Re: Error loading stylesheet: Parsing an XSLT stylesheet failed

  #6  
12 Days Ago
Originally Posted by lionburn50 View Post
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

please help!
Reply With Quote  
Join Date: Dec 2004
Location: London or Slovakia
Posts: 1,549
Reputation: peter_budo will become famous soon enough peter_budo will become famous soon enough 
Rep Power: 8
Solved Threads: 149
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Posting Virtuoso

Re: Error loading stylesheet: Parsing an XSLT stylesheet failed

  #7  
12 Days Ago
Originally Posted by antakos View Post
please help!

Post your code, we are not mind readers to find out where is problem in code you writing
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Marketplace (Sponsored Links)
Thread Tools Display Modes

Other Threads in the RSS, Web Services and SOAP Forum

All times are GMT -4. The time now is 4:02 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC