Can someone give me an idea what I am doing wrong
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}
Replace the first line with this one. You will see the difference. A space and = is missing.