|
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- DTD for the XML sample -->
- <!ELEMENT slideshow (slide+)>
- <!ATTLIST slideshow
- title CDATA #REQUIRED
- date CDATA #IMPLIED
- author CDATA "unknown"
- >
- <!ELEMENT slide (title, item*)>
- <!ATTLIST slide
- type (exec | tech | all) "all"
- >
- <!ELEMENT title (#PCDATA)>
- <!ELEMENT item (#PCDATA | item)*>
- <!ELEMENT flag EMPTY>
复制代码 我用XML copy editor,总是提示第3行第1列有语法错误 |
|