hi friends ,
can anyone tell me ? . why it says Missing "charset" attribute for "text/xml" document ?
as well as No DOCTYPE found! Checking XML syntax only . following is my xml file contain .
Code:
<PARTS>
<?xml version="1.0" encoding="UTF-8" Content-Type="text/xml" standalone="no" ?>
<?xml-stylesheet type "text/css" href="parts.css"?>
<TITLE> Computer Parts </TITLE>
<PART>
<PARTNAME> Microprocessor </PARTNAME>
<MANUFACTERER> HP </MANUFACTERER>
<MODEL> HP pavilion g6 Notebook PC </MODEL>
<COST> 2500 SR </COST>
</PART>
</PARTS>
and following is the parts.css file contain .
Code:
PARTS {display:block}
TITLE {display:block; font-family:arial; color:#008000; font-weight:600; font-size:large; margin-top:12pt; text-align: center}
PART { display:block }
PARTNAME {display:block; font-family:arial; color:#008000; font-weight:600; font-size: medium ; margin-top:12pt; text-align: center}
MANUFACTERER {display:block; font-family:arial; color:#008000; font-weight:600; font-size: small ; margin-top:12pt; text-align: center}
MODEL {display:block; font-family:arial; color:#008000; font-weight; font-size: small; margin-top:12pt; text-align: center}
COST {display:block; font-family:arial; color:#008000; font-weight:600; font-size: small; margin-top:12pt; text-align: center}