语法: 1 XML使用dtd 1.1 引入外部dtd文件 <!DOCTYPE 根元素名称 SYSTEM "dtd文件路名"> dtd内容: <!ELEMENT person (name,age)> <!ELEMENT name (#PCDATA)> <!