1
내가는 XML과 같은 문서가 있습니다옵션 요소 유형 DTD
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE school SYSTEM "">
<school>
<data>
<id>
<uid>1</uid>
</id>
<information>
<name>Michael</name>
<surename>Julius</surename>
</information>
<note>
<test>hans</test>
</note>
</data>
</school>
과 DTD 파일을
<!ELEMENT school (data)>
<!ELEMENT data (id,information,note)>
<!ELEMENT id (uid)>
<!ELEMENT uid (#PCDATA)>
<!ELEMENT information (name,surename?)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT surename (#PCDATA)>
<!ELEMENT note (#PCDATA)> <--- unknown element type
내가 좋아하는 선택적 요소 유형으로 <note>
요소를 정의 할
<note>
<test2>test2</test2>
</note>
또는
<note>
<unknown name></unknown name>
</note>
어떤 도움이 필요합니까? thankz