| การกำหนด จำนวน ของตัวอักษร | ใช้กำหนด จำนวน ของตัวอักษร |
|---|---|
| การกำหนด จำนวน ต่ำสุดของตัวอักษร | ใช้กำหนด จำนวน ต่ำสุดของตัวอักษร |
| การกำหนด จำนวนสูงสุด ของตัวอักษร | ใช้กำหนด จำนวน สูงสุดของตัวอักษร |
| การกำหนด รูปแบบของตัวอักษร | ใช้กำหนด รูปแบบของตัวอักษร |
| การกำหนด ค่าที่เป็นไปได้ | ใช้กำหนด ค่าที่เป็นไปได้ |
| การกำหนด ตัวเลข น้อยสุดที่เป็นไปได้ | ใช้กำหนด ตัวเลข น้อยสุดที่เป็นไปได้ ( ไม่รวมค่าที่ระบุ ) |
| การกำหนด ตัวเลข มากสุดที่เป็นไปได้ | ใช้กำหนด ตัวเลข มากสุดที่เป็นไปได้ ( ไม่รวมค่าที่ระบุ ) |
| การกำหนด ตัวเลข น้อยสุดที่เป็นไปได้ | ใช้กำหนด ตัวเลข น้อยสุดที่เป็นไปได้ ( รวมค่าที่ระบุ ) |
| การกำหนด ตัวเลข มากสุดที่เป็นไปได้ | ใช้กำหนด ตัวเลข มากสุดที่เป็นไปได้ ( รวมค่าที่ระบุ ) |
subject:การกำหนด จำนวน ของตัวอักษร
syntax:<xsd:length value="value" />
content:ใช้กำหนด จำนวน ของตัวอักษร
example:<xsd:simpleType name="myNamePattern"> <xsd:restriction base="xsd:string"> <xsd:length value="10" /> </xsd:restriction> </xsd:simpleType>
subject:การกำหนด จำนวน ต่ำสุดของตัวอักษร
syntax:<xsd:minLength value="value" />
content:ใช้กำหนด จำนวน ต่ำสุดของตัวอักษร
example:<xsd:simpleType name="myNamePattern"> <xsd:restriction base="xsd:string"> <xsd:minLength value="10" /> </xsd:restriction> </xsd:simpleType>
subject:การกำหนด จำนวนสูงสุด ของตัวอักษร
syntax:<xsd:maxLength value="value" />
content:ใช้กำหนด จำนวน สูงสุดของตัวอักษร
example:<xsd:simpleType name="myNamePattern"> <xsd:restriction base="xsd:string"> <xsd:maxLength value="20" /> </xsd:restriction> </xsd:simpleType>
subject:การกำหนด รูปแบบของตัวอักษร
syntax:<xsd:pattern value="value" />
content:ใช้กำหนด รูปแบบของตัวอักษร เช่น "\d{1}-\d{2}" ผลที่ต้องทำคือ "x-xx"
example:<xsd:simpleType name="myNamePattern"> <xsd:restriction base="xsd:string"> <xsd:pattern value="\d{1}-\d{2}" /> </xsd:restriction> </xsd:simpleType>
subject:การกำหนด ค่าที่เป็นไปได้
syntax:<xsd:enumeration value="value_1" /> <xsd:enumeration value="value_2" /> ... <xsd:enumeration value="value_n" />
content:ใช้กำหนด ค่าที่เป็นไปได้
example:<xsd:simpleType name="myNamePattern"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="owen" /> <xsd:enumeration value="rooney" /> <xsd:enumeration value="beckham" /> </xsd:restriction> </xsd:simpleType>
subject:การกำหนด ตัวเลข น้อยสุดที่เป็นไปได้
syntax:<xsd:minExclusive value="value" />
content:ใช้กำหนด ตัวเลข น้อยสุดที่เป็นไปได้ ( ไม่รวมค่าที่ระบุ )
example:<xsd:simpleType name="myNumberPattern"> <xsd:restriction base="xsd:integer"> <xsd:minExclusive value="12" /> </xsd:restriction> </xsd:simpleType>
subject:การกำหนด ตัวเลข มากสุดที่เป็นไปได้
syntax:<xsd:maxExclusive value="value" />
content:ใช้กำหนด ตัวเลข มากสุดที่เป็นไปได้ ( ไม่รวมค่าที่ระบุ )
example:<xsd:simpleType name="myNumberPattern"> <xsd:restriction base="xsd:integer"> <xsd:maxExclusive value="18" /> </xsd:restriction> </xsd:simpleType>
subject:การกำหนด ตัวเลข น้อยสุดที่เป็นไปได้
syntax:<xsd:minInclusive value="value" />
content:ใช้กำหนด ตัวเลข น้อยสุดที่เป็นไปได้ ( รวมค่าที่ระบุ )
example:<xsd:simpleType name="myNumberPattern"> <xsd:restriction base="xsd:integer"> <xsd:minInclusive value="12" /> </xsd:restriction> </xsd:simpleType>
subject:การกำหนด ตัวเลข มากสุดที่เป็นไปได้
syntax:<xsd:maxInclusive value="value" />
content:ใช้กำหนด ตัวเลข มากสุดที่เป็นไปได้ ( รวมค่าที่ระบุ )
example:<xsd:simpleType name="myNumberPattern"> <xsd:restriction base="xsd:integer"> <xsd:maxInclusive value="18" /> </xsd:restriction> </xsd:simpleType>