반응형
DTD - Attributes
사용법: <!ATTLIST element-name attribute-name attribute-type default-value>
값 : CDATA - Character data, ID - Unique id, IDREF-Id of another Element 등등
디폴트값 : #DEFAULT value - defualt value,
#REQUIRED - the attribute value must be included in the element.
#IMPLIED - the attribute does not have to be included.
#FIXED value - the value is fixed.
예)
<!ELEMENT ACRCRS_Individual (Discipline_List*, Optional_Function*)>
<!ATTLIST ACRCRS_Individual
Registration_Number CDATA #REQUIRED
Gender_ID %GENDER; #IMPLIED
>
참조: http://www.xmlfiles.com/dtd/dtd_attributes.asp
반응형