4
128
129
130
131
132 <?xml version="1.0" encoding="euc-kr"?> <Memo no="1"> <PInfo> <from> </from> <to> </to> </PInfo> <MInfo> <date>2003 8 15 </date> <main>!!. </main> </MInfo> </Memo> <!DOCTYPE Memo [ <!ELEMENT Memo (PInfo, MInfo)> <!ELEMENT PInfo (from, to)> <!ELEMENT MInfo (date, main)> <!ELEMENT form (#PCDATA)> <!ELEMENT to (#PCDATA)> <!ELEMENT date (#PCDATA)> <!ELEMENT main (#PCDATA)> ]>
133 <?xml version="1.0" encoding="euc-kr"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/xmlschema" targetnamespace="http://www.lisia.net" xmlns="http://www.lisia.net" elementformdefault="qualified"> <xsd:element name="memo"> <xsd:complextype> <xsd:sequence> <xsd:element name="pinfo"> <xsd:complextype> <xsd:sequence> <xsd:element name="from type="xsd:string"/> <xsd:element name="to" type="xsd:string"/> </xsd:sequence> </xsd:complextype> </xsd:element> <xsd:element name="minfo"> <xsd:complextype> <xsd:sequence> <xsd:element name="date" type="xsd:string"/> <xsd:element name="main" type="xsd:string"/> </xsd:sequence> </xsd:complextype> </xsd:element> </xsd:sequence> <xsd:attribute name="no" type="xsd:positiveinteger"/> </xsd:complextype> </xsd:element> </xsd:schema>
134 <schema xmlns:xsd="www.w3.org/2001/xmlschema" targetnamespace="uri" xmlns="uri" attributeformdefault="qualified or unqualified" elementformdefault="qualified or unqualified" version="version ">
135
136 <?xml version="1.0" encoding="euc-kr"?> <Memo xmlns="http://www.lisia.net" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://www.lisia.net ex4_3.xsd"> <PInfo> <from> </from> <to> </to> </PInfo> <MInfo> <date>2003 8 15 </date> <main>!!. </main> </MInfo> </Memo>
137
138 <element name=" " type=" " ref=" " minoccurs=" " maxoccurs=" "unbounded".../>
139 <xsd:element name="memo"> <xsd:complextype> <xsd:sequence> <xsd:element name="pinfo">
140 <Memo> <Date/> <Message/> </Memo> <element name="memo"> <complextype> <sequence>
141 <element name="date"/> <element name="message"/> </sequence> </complextype> </element> <Beverage> <Coke/> <Juice/> <Coffee/> </Beverage> <element name="beverage"> <complextype> <choice> <element name="coke"/> <element name="juice"/>
142 <element name="coffee"/> </choice> </complextype> </element> <element name="beverage"> <complextype> <all> <element name="coke"/> <element name="juice"/> <element name="coffee"/> </all> </complextype> </element>
143 " " " " " " " " " "
144 <xsd:attributegroup name=" "> <xsd:attribute name=" " type="xsd:char" use="optional"/> <xsd:attribyte name=" " type="xsd:decimal" use="optional"/> </xsd:attributegroup> <xsd:element name=" "> <xsd:complextype> <xsd:sequence> <!--. --> </xsd:sequence> <xsd:attributegroup ref=" "/> </xsd:complextype> </xsd:element> <xsd:element name="time"> <xsd:complextype> <xsd:sequence>
145 <element name="clock" type="positiveinteger" minoccurs="1" maxoccurs= 12 /> <element name="minutes" type="positiveinteger" minoccurs="1" maxoccurs="59"/> <element name="second" type="positiveinteger" minoccurs="1" maxoccurs="59"/> </xsd:sequence> </xsd:complextype> </xsd:element>
146
147
148
149