XML Schema schema root element XML Schema attribute
XML Schema <schema> ���� root element ������ XML Schema ���� attribute ������ ª <? xml version="1. 0"? > ª <xs: schema xmlns: xs="http: //www. w 3. org/2001/XMLSchema" target. Namespace="http: //www. w 3 schools. com" xmlns="http: //www. w 3 schools. com" element. Form. Default="qualified">. . . </xs: schema> ª
XML Schema ���� attribute ª xmlns: xs="http: //www. w 3. org/2001/XMLSchema" ���������� element ��� data type ������� schema ����� "http: //www. w 3. org/2001/XMLSchema" ������������ xs: ª target. Namespace="http: //www. w 3 schools. com" ����� namespace ��� schema �������� xml ������� namspace ������ ª xmlns="http: //www. w 3 schools. com" ������� default ��� namespace ������ schema ª element. Form. Default="qualified" ������� xml ����� element ��� schema ��������
���� p ���������������� 0 -100 �� p <xs: element name="age"> <xs: simple. Type> <xs: restriction base="xs: integer"> <xs: min. Inclusive value="0"/> <xs: max. Inclusive value="100"/> </xs: restriction> </xs: simple. Type> p </xs: element> p p p
- Slides: 10