<?xml version="1.0" encoding="gb2312" ?>
<!DOCTYPE volume SYSTEM "D:\xml\Museum.dtd"[
<!ENTITY Oldcoinses SYSTEM "D:\xml\Oldcoins.xml">
<!ENTITY Oilpaintings SYSTEM "D:\xml\Oilpainting.xml">
<!ENTITY Sculptures SYSTEM "D:\xml\Sculpture.xml">
]>
<volume>
&Oilpaintings;
&Oldcoinses;
&Sculptures;
</volume>
上面代码运行后出现错误:
This page contains the following errors:
error on line 3 at column 49: Invalid URI: D:\xml\Oldcoins.xml
error on line 4 at column 54: Invalid URI: D:\xml\Oilpainting.xml
error on line 5 at column 50: Invalid URI: D:\xml\Sculpture.xml
error on line 8 at column 15: Entity 'Oilpaintings' failed to parse
Below is a rendering of the page up to the first error.
刚接触这xml不懂,点拨一下,谢谢