Domanda

sto cercando di generare un XSD basata su un database creato in vs.net 2008. Come è possibile specificare la lunghezza minima per una colonna nella mia XSD? Voglio essere in grado di fare questo in vs.net

È stato utile?

Soluzione

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

Altri suggerimenti

Restrizioni d'uso:

<xs:restriction base="xs:integer">
      <xs:minInclusive value="0"/>
      <xs:maxInclusive value="100"/>
</xs:restriction>
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top