当前位置: 代码迷 >> Web Service >> xml schema 中ID部类
  详细解决方案

xml schema 中ID部类

热度:679   发布时间:2012-12-15 15:16:03.0
xml schema 中ID类型
xml schema 中ID类型 4 分钟前 提问者: ifanlong | 悬赏分:10 | 浏览次数:3次
schema中定义如下: 
<element name ="deviceID">
 <simpleType>
 <restriction base = "xs:ID">
<pattern value = "\d{20}"/>
</restriction>
</simpleType>
</element>
 
我发现xs:ID是非数字的字符类型,而\d{20}是连续的20个数字,这不矛盾吗 
哪位大神解释一下
谢谢
------解决方案--------------------
唉丿木有人叼啊
  相关解决方案