有人可以給我一個想法是什麼,我做錯了XML錯誤,當我運行XML
The XML page cannot be displayed
Cannot view XML input using style sheet.
Please correct the error and then click the efresh
Button, or try again later.
A name contained an invalid character.
Error processing resource
'file:///C:/Users/Randy/Desktop/faq.xml'. Line 1, Positio...
<?xmlversion"1.0"?encoding="UTF-8" standalone="yes"?>
------------^
<?xml version="1.0"? encoding="UTF-8" standalone="yes"?>
"ScanMaster and DigiCam FAQ"
"Randy White 6/11/2011"
<FAQ>
/*
New Perspectives on XML
Tutorial 1
Case Problem 1
Filename: faq.css
This file contains styles used in the faq.xml file.
*/
</FAQ>
FAQ {margin-top: 10px}
title {display: block; width: 500px; font-family: Arial, Helvetica, Sans-serif;
font-size: 18pt;
margin-left: 20px}
subtitle {display: block; width: 500px; font-family: Arial, Helvetica, Sans-serf;
font-size:14pt; font-style:italic;
margin-left: 20px}
product {display: block; width: 500px; background-color: ivory;
border: solid 2px black; margin-bottom: 20px; padding: 10px;
margin-left: 10px}
model {display: block; width: 500px; font-family: Arial, Helvertica, Sans-serif;
font-size: 14pt; color:blue;
margin-left: 10px; margin-top: 5px}
question {display: list-item; list-style-type: disc; width: 500px;
margin-left: 30px; margin-top: 10px}
answer {display:block; width: 450px; font-family: Times New Roman, Times, Serif;
color: green;
margin-left: 35px}
如果您要告訴哪個程序顯示錯誤消息「XML頁面無法顯示......」,這將有所幫助。 IE瀏覽器?沒有進一步的解釋,「運行一個XML文檔」是非常沒有意義的。 – LarsH 2011-06-11 16:56:07
IE8是我正在運行的Web瀏覽器 – user770022 2011-06-11 17:00:42