xml/komentář.xsd
author František Kučera <franta-hg@frantovo.cz>
Wed, 09 Jun 2010 15:51:41 +0200
changeset 136 230bd05dcfec
parent 134 4bd1e353c527
child 145 0efefbf5f8b6
permissions -rw-r--r--
PHP služba – Texy, HTTP API
     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:element name="br"/>
    14 			</xs:choice>
    15 		    </xs:complexType>
    16 		</xs:element>
    17 	    </xs:choice>
    18 	</xs:complexType>
    19     </xs:element>
    20 
    21 </xs:schema>