用word验证正则表达式

来源:互联网 发布:医院门诊收费软件 编辑:程序博客网 时间:2024/06/11 13:44

文件名:zhengze.xsd

 

  1. <?xml version="1.0" encoding="gb2312"?>
  2. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  3. <xsd:element name="zip">
  4.      <xsd:simpleType>
  5.        <xsd:restriction base="xsd:string">
  6.            <xsd:pattern value="/d{5}(-/d{4})?"/>
  7.        </xsd:restriction>
  8.     </xsd:simpleType>
  9. </xsd:element>
  10. </xsd:schema>

 

 

<iframe src='http://docs.google.com/EmbedSlideshow?docid=dc9s6wg8_475tnw3gc' frameborder='0' width='410' height='342'></iframe>
原创粉丝点击