Topic: 这样的schema文件怎么写?

  Print this page

1.这样的schema文件怎么写? Copy to clipboard
Posted by: nedvedno1
Posted on: 2008-07-27 15:09

有如下xml文件:
<cd>
<title id="1">Hide your heart</title>
<artist>Bonnie Tyler</artist>
<country>UK</country>
</cd>
title元素的属性id属于ID类型,如何编写相应的schema文件,并且引用schema文件对xml文件进行验证?


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923