문제

i am trying to generate an xsd based on a database created in vs.net 2008. How can i specify the minimum length for a column in my xsd? i want to be able to do this in vs.net

도움이 되었습니까?

해결책

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

다른 팁

Use restrictions:

<xs:restriction base="xs:integer">
      <xs:minInclusive value="0"/>
      <xs:maxInclusive value="100"/>
</xs:restriction>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top