下面的中文 两个字那里怎么说出错了?`~~ 我错在哪里了?`~
下面的中文 两个字那里怎么说出错了?`~~ 我错在哪里了?`~
<?xml version= "1.0 " ?>
<!DOCTYPE school[
<!ELEMENT school (student+)>
<!ELEMENT student (class,stuNo,outNo,groNo)>
<!ELEMENT class (#PCDATA)>
<!ELEMENT stuNo (#PCDATA)>
<!ELEMENT outNo (#PCDATA)>
<!ELEMENT groNo (#PCDATA)>
]>
<school>
<student>
<class> 1 </class>
<stuNo> 120 </stuNo>
<outNo> 117 </outNo>
<groNo> 4 </groNo>
</student>
<student>
<class> 2 </class>
<stuNo> 110 </stuNo>
<outNo> 103 </outNo>
<groNo> 3 </groNo>
</student>
<student>
<class> 3 </class>
<stuNo> 90 </stuNo>
<outNo> 89 </outNo>
<groNo>
<![CDATA[
<hi> can not complie Chinese </hi>
中文也可以的是吧
]]>
</groNo>
</student>
</school>
[解决办法]
<?xml version= "1.0 " encoding= "GB2312 " ?>
加上 encoding= "GB2312 "