根据XML写DTD的问题Down The Stream The Swans All Glide\x05Down the stream the swans all glide;\x05It's quite the cheapest way to ride.\x05Their legs get wet,\x05Their tummies wetter.\x05I think after all\x05The bus is better.Go North,South,East,

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/07 20:36:35
根据XML写DTD的问题Down The Stream The Swans All Glide\x05Down the stream the swans all glide;\x05It's quite the cheapest way to ride.\x05Their legs get wet,\x05Their tummies wetter.\x05I think after all\x05The bus is better.Go North,South,East,

根据XML写DTD的问题Down The Stream The Swans All Glide\x05Down the stream the swans all glide;\x05It's quite the cheapest way to ride.\x05Their legs get wet,\x05Their tummies wetter.\x05I think after all\x05The bus is better.Go North,South,East,
根据XML写DTD的问题
Down The Stream The Swans All Glide
\x05Down the stream the swans all glide;
\x05It's quite the cheapest way to ride.
\x05Their legs get wet,
\x05Their tummies wetter.
\x05I think after all
\x05The bus is better.
Go North,South,East,and West,Young Man
\x05Drake is going west,lads
\x05So Tom is going East
\x05But tiny Fred
\x05just lies in bed.
\x05The lazy little beast.
I Must Go Down To The Sea Again
I must go down to the sea again,
to the lonely sea and the sky;
I left my shoes and socks there -
I wonder if they're dry?
以上有两个层次的元素,我就是搞不清楚在DTD中是否要写两面对的声明
然后这是我写的DTD部分:
]>

根据XML写DTD的问题Down The Stream The Swans All Glide\x05Down the stream the swans all glide;\x05It's quite the cheapest way to ride.\x05Their legs get wet,\x05Their tummies wetter.\x05I think after all\x05The bus is better.Go North,South,East,
如果你定义两次,是无法通过的,因为你重复定义了,所以只需要定义一次即可.
另外,根据你写的xml文件,在左右都有,需要修改为如下: