xsd schema - pomoc

0
<collection>

      <movie>
        <opis title="aaa" genre="Drama" persnal_rating="7">
            <year>2013</year>
            <country>USA</country>
            <director>Ric Roman Waugh</director>
            <writers>Justin Haythe</writers>
            <actors>Dwayne Johnson</actors>
        </opis>
    </movie>

</collection>

<?xml version="1.0" encoding="utf-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

	<xsd:element name="collection">
                <xsd:complexType>
                        <xsd:sequence>
                                <xsd:element name="movie" type="TypMovie" maxOccurs="unbounded"/>
							
                        </xsd:sequence>
                </xsd:complexType>
				</xsd:element>
							
		<xsd:complexType name="TypMovie">		
								
                <xsd:sequence>
                        <xsd:element name="year" type="xsd:string"/>
                        <xsd:element name="country" type="xsd:string"/>
                        <xsd:element name="director" type="xsd:string"/>
                        <xsd:element name="writers" type="xsd:string"/>
						<xsd:element name="actors" type="xsd:string"/>
                </xsd:sequence>
						<xsd:attribute name="title" />
						<xsd:attribute name="genre"   />
						<xsd:attribute name="persnal_rating"  />
        </xsd:complexType>

		
</xsd:schema>

Jak teraz dodać element "opis"?

0

ma ktoś jakiś pomysł?

1 użytkowników online, w tym zalogowanych: 0, gości: 1