•
•
•
•
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 423,666 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,257 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: Programming Forums
Views: 2090 | Replies: 4 | Solved
![]() |
•
•
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,124
Reputation:
Rep Power: 3
Solved Threads: 47
How can I view a single xml file I wrote using IE. Have browsed to directory where I saved the file but I gat an error 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.
--------------------------------------------------------------------------------
A name was started with an invalid character. Error processing resource 'file:///C:/Documents and Settings/Phil/Desktop/1.x...
why is this ? do i need to configure ie 7 for xml compatibility or something?
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.
--------------------------------------------------------------------------------
A name was started with an invalid character. Error processing resource 'file:///C:/Documents and Settings/Phil/Desktop/1.x...
why is this ? do i need to configure ie 7 for xml compatibility or something?
•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,434
Reputation:
Rep Power: 11
Solved Threads: 295
XML elements must follow these naming rules:
Source www.w3schools.com, Element Naming
- Names can contain letters, numbers, and other characters
- Names must not start with a number or punctuation character
- Names must not start with the letters xml (or XML, or Xml, etc)
- Names cannot contain spaces
Source www.w3schools.com, Element Naming
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.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
•
•
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,124
Reputation:
Rep Power: 3
Solved Threads: 47
•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,434
Reputation:
Rep Power: 11
Solved Threads: 295
•
•
•
•
XML elements must follow these naming rules:
- Names must not start with a number or punctuation character
•
•
•
•
A name was started with an invalid character. Error processing resource 'file:///C:/Documents and Settings/Phil/Desktop/1.x...
That what is your problem
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.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
•
•
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,124
Reputation:
Rep Power: 3
Solved Threads: 47
HI there, have discovered what the problem was.It's a little odd but maybe you might shed some light on this lol.I wrote the file in textpad and saved with .xml extension. Now I try to view in ie and ge the above mentioned error. However, I opened this file wth topstyle lite and there was one character in the file!!! a '<'. hmmm intersting so I retyped the file (using topstyle) and tried to browse in ie, and lo and behold it works fine! I thought textpad was a legitimate tool for xml writing, maybe I am wrong? thanks for your help Peter_budo.
![]() |
•
•
•
•
•
•
•
•
DaniWeb RSS, Web Services and SOAP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Read XML File in C/C++ (C++)
- read xml using vb.net (VB.NET)
- PHP and XML/XSL (PHP)
- jsp not running & can't view the jsp source code on tomcat (JSP)
- XML Bug Error. (XML, XSLT and XPATH)
- Xml Database Connectivity in Java (Java)
- xml appending (C#)
- How can show/view Infopath dynamic files(xml) without infopath in a computer (XML, XSLT and XPATH)
- C# XML Comment Problems (C#)
Other Threads in the RSS, Web Services and SOAP Forum
- Previous Thread: Accessing a Web Service
- Next Thread: Script for accessing child nodes does not work for Firefox...



Linear Mode