HTML XSD ການສອນຄຳສັ່ງການສະແດງ
- HTML XSD ການສອນຄຳສັ່ງການສະແດງ HTML XSD ການສອນຄຳສັ່ງການສະແດງ
- HTML XSD ການສອນຄຳສັ່ງການສະແດງ HTML XSD ການສອນຄຳສັ່ງການສະແດງ
ຊັບສິນຂໍ້ມູນອັນຕະລາຍອື່ນໆລວມມີ boolean, base64Binary, ສາມຫນັງ, floating point, double precision, anyURI, anyURI ແລະ NOTATION.
ຊັບສິນຂໍ້ມູນ boolean (Boolean Data Type)
ຄູ່ມູນທີ່ຖືກກວດສອບຂໍ້ມູນ boolean ສະແດງ true ຫລື false.
ມີຫນັງກ່ຽວກັບການອະທິບາຍ boolean ໃນ scheme ດັ່ງກ່າວ:
<xs:attribute name="disabled" type="xs:boolean"/>
ປະກອບດັ່ງກ່າວໃນເອກະສານຄືກັບນີ້:
<prize disabled="true">999</prize>
ຄຳເຫັນ:ຄູ່ມູນທີ່ຖືກກວດສອບແມ່ນ true, false, 1 (ສະແດງ true) ແລະ 0 (ສະແດງ false).
ຊັບສິນຂໍ້ມູນບຳບັດບິນ (Binary Data Types)
ຊັບສິນຂໍ້ມູນບຳບັດບິນຂອງພິມາດຕະຖານຂໍ້ມູນ.
ພວກເຮົາສາມາດນຳໃຊ້ຊັບສິນຂໍ້ມູນບຳບັດບິນສອງຊັບສິນ:
- base64Binary (Base64 编码的二进制数据)
- hexBinary (ຂໍ້ມູນບຳບັດບິນແບບສາມຫນັງ)
ມີຫນັງກ່ຽວກັບການອະທິບາຍ hexBinary ໃນ scheme ດັ່ງກ່າວ:
<xs:element name="blobsrc" type="xs:hexBinary"/>
ຊັບສິນຂໍ້ມູນ AnyURI (AnyURI Data Type)
ຊັບສິນຂໍ້ມູນ anyURI ຂອງພິມາດຕະຖານ URI.
ມີຫນັງກ່ຽວກັບການອະທິບາຍ anyURI ໃນ scheme ດັ່ງກ່າວ:
<xs:attribute name="src" type="xs:anyURI"/>
ປະກອບດັ່ງກ່າວໃນເອກະສານຄືກັບນີ້:
<pic src="http://www.codew3c.com/images/smiley.gif" />
ຄຳເຫັນ:ຖ້າ URI ມີອາກາດຫນັງນັ້ນຈະປ່ຽນໂດຍ %20
ຊັບສິນຂໍ້ມູນອັນຕະລາຍ (Miscellaneous Data Types)
Name | Description |
---|---|
anyURI | |
base64Binary | |
boolean | |
double | |
float | |
hexBinary | |
NOTATION | |
QName |
Limitation (Restriction) for the miscellaneous data type
Limitations that can be used with the miscellaneous data type:
- enumeration (boolean data type cannot use this constraint*)
- length (boolean data type cannot use this constraint)
- maxLength (boolean data type cannot use this constraint)
- minLength (boolean data type cannot use this constraint)
- pattern
- whiteSpace
*HTML XSD ຄຳນະນັກພາສາHTML XSD constraint
- HTML XSD ການສອນຄຳສັ່ງການສະແດງ HTML XSD ການສອນຄຳສັ່ງການສະແດງ
- HTML XSD ການສອນຄຳສັ່ງການສະແດງ HTML XSD ການສອນຄຳສັ່ງການສະແດງ