xml/komentář.xsd
author František Kučera <franta-hg@frantovo.cz>
Tue, 08 Jun 2010 12:56:46 +0200
changeset 132 1ca0d7fdbe51
parent 131 0d1cba59734b
child 134 4bd1e353c527
permissions -rw-r--r--
Testy komentářů, XML.
     1 <?xml version="1.0" encoding="UTF-8" ?>
     2 
     3 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
     4 
     5     <xs:element name="div">
     6 	<xs:complexType>
     7 	    <xs:choice minOccurs="1" maxOccurs="unbounded">
     8 		<xs:element name="p">
     9 		    <xs:complexType mixed="true">
    10 			<xs:choice minOccurs="0" maxOccurs="unbounded">
    11 			    <xs:element name="em" type="xs:string"/>
    12 			    <xs:element name="strong" type="xs:string"/>
    13 			</xs:choice>
    14 		    </xs:complexType>
    15 		</xs:element>
    16 	    </xs:choice>
    17 	</xs:complexType>
    18     </xs:element>
    19 
    20 </xs:schema>