2011-03-17 68 views

回答

0
<xsd:restriction base='xsd:string'> 
    <xsd:minLength value='0'/> 
    <xsd:maxLength value='50'/> 
    </xsd:restriction> 
+0

我可以指定这个地方在2008年vs.net在 – user603007 2011-03-17 01:32:00

+0

VS 2008,点击在XSD列Designer,然后按F4,将属性中的MaxLength设置为任何你想要的。 – Kumar 2011-03-17 01:39:30

+0

和什么ABT最小长度? – user603007 2011-03-17 02:22:23

0

使用限制:

<xs:restriction base="xs:integer"> 
     <xs:minInclusive value="0"/> 
     <xs:maxInclusive value="100"/> 
</xs:restriction>