1.author.dtd
2.book.dtd
3.publisher.dtd
4.all.dtd
%author;
%book;
%publisher;
5.bookxml.xml
dingyuechao
man
ding@jum.edu.cn
gongtao
man
6.boolxml1.xml
jisuanji
19.7
powerbuilder
48.0
7.book2.xml
gaojiao
beijing55hao
tiedaochubanshe
chinaxuanwu8hao
8.main.xml
]>
&authors;
&books;
&publishers;
结果:
xml version="1.0" encoding="UTF-8"
standalone="no" ?>
(View Source for full doctype...)>
- <author id="a0001"
ISBN="ISBN7-04-014768-8">
<a_name>dingyuechaoa_name>
<email>ding@jum.edu.cnemail>
author>
- <author id="a0002"
ISBN="ISBN7-04-014768-2">
authors>
- <book ISBN="ISBN7-04-014768-8">
- <book ISBN="ISBN7-04-014768-2">
<b_name>powerbuilderb_name>
book>
books>
- <publisher ISBN="ISBN7-04-014768-8">
<address>beijing55haoaddress>
publisher>
- <publisher ISBN="ISBN7-04-014768-2">
<p_name>tiedaochubanshep_name>
<address>chinaxuanwu8haoaddress>
publisher>
publishers>
volume>
注:在xmlspy2006汉化版中,会出现问题" 该文件不具有良好格式 DOCTYPE-ExteRnalID名称必须既是SYSTEM又是PUBLIC"版本的问题,其实并没有错误,换成英文版就ok了。
只是一个演示例子。
阅读(1361) | 评论(0) | 转发(0) |