Buenas, tengo poquitas nociones de XML y me acaba de llegar esta base de datos generada por XML, lo que quiero es intentar adaptarla a una web que estoy desarrollando pero no tengo mucha idea de como funciona este tipo de programacion, nose si tengo que utilizar XSL para transformala en HTML para visualizar los contenidos, en fin que estoy muy liado, si alguien pudiera ayudarme le estaria muy agradecido.
Saludos!!
<?xml version="1.0"?>
<xs:schema xmlns:xs="://.w3.org/2001/XMLSchema">
<element name="contents">
<complexType>
<sequence>
<element ref="mc:logocollection" minOccurs="0" maxOccurs="1"/>
<element ref="mc:ringtonecollection" minOccurs="0" maxOccurs="1"/>
<element ref="mc:imagecollection" minOccurs="0" maxOccurs="1"/>
<element ref="mc:polyphoniccollection" minOccurs="0" maxOccurs="1"/>
<element ref="mc:gamescollection" minOccurs="0" maxOccurs="1"/>
<element ref="mc:tonocollection" minOccurs="0" maxOccurs="1"/>
<element ref="mc:audiocollection" minOccurs="0" maxOccurs="1"/>
<element ref="mc:realtonecollection" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>
</element>
<element name="logocollection">
<complexType>
<sequence>
<element ref="mc:logo" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
<element name="logo">
<complexType>
<sequence>
<element name="id" type="string"/>
<element name="category" type="string"/>
<element name="resource">
<complexType>
<attribute name="url" type="anyURI"/>
</complexType>
</element>
<element name="copyright" type="string" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>
</element>
<element name="ringtonecollection">
<complexType>
<sequence>
<element ref="mc:ringtone" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
<element name="ringtone">
<complexType>
<sequence>
<element name="id" type="string"/>
<element name="category" type="string"/>
<element name="title" type="string"/>
<element name="performer" type="string"/>
<element name="resource">
<complexType>
<attribute name="url" type="anyURI"/>
</complexType>
</element>
<element name="copyright" type="string" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>
</element>
<element name="imagecollection">
<complexType>
<sequence>
<element ref="mc:image" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
<element name="image">
<complexType>
<sequence>
<element name="id" type="string"/>
<element name="category" type="string"/>
<element name="resource">
<complexType>
<attribute name="url" type="anyURI"/>
</complexType>
</element>
<element name="copyright" type="string" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>
</element>
<element name="polyphoniccollection">
<complexType>
<sequence>
<element ref="mc:polyphonic" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
<element name="polyphonic">
<complexType>
<sequence>
<element name="id" type="string"/>
<element name="category" type="string"/>
<element name="title" type="string"/>
<element name="performer" type="string"/>
<element name="resource">
<complexType>
<attribute name="url" type="anyURI"/>
</complexType>
</element>
<element name="copyright" type="string" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>
</element>
<element name="gamecollection">
<complexType>
<sequence>
<element ref="mc:game" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
<element name="game">
<complexType>
<sequence>
<element name="id" type="string"/>
<element name="category" type="string"/>
<element name="description" type="string"/>
<element name="category" type="string"/>
<element name="rights" minOccurs="0" maxOccurs="1" type="string"/>
<element name="resource" minOccurs="1" maxOccurs="unbounded">
<complexType>
<attribute name="url" type="anyURI"/>
<attribute name="type" type="string"/>
</complexType>
</element>
<element name="copyright" type="string" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>
<element name="audiocollection">
<complexType>
<sequence>
<element ref="mc:audio" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
<element name="audio">
<complexType>
<sequence>
<element name="id" type="string"/>
<element name="category" type="string"/>
<element name="title" type="string"/>
<element name="resource">
<complexType>
<attribute name="url" type="anyURI"/>
</complexType>
</element>
<element name="copyright" type="string" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>
</element>
<element name="realtonecollection">
<complexType>
<sequence>
<element ref="mc:realtone" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
<element name="realtone">
<complexType>
<sequence>
<element name="id" type="string"/>
<element name="category" type="string"/>
<element name="title" type="string"/>
<element name="resource">
<complexType>
<attribute name="url" type="anyURI"/>
</complexType>
</element>
<element name="copyright" type="string" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>
</element>
<element name="themecollection">
<complexType>
<sequence>
<element ref="mc:theme" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
<element name="theme">
<complexType>
<sequence>
<element name="id" type="string"/>
<element name="category" type="string"/>
<element name="title" type="string"/>
<element name="resource">
<complexType>
<attribute name="url" type="anyURI"/>
</complexType>
</element>
<element name="copyright" type="string" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>
</element>
<element name="applicationcollection">
<complexType>
<sequence>
<element ref="mc:application" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
<element name="application">
<complexType>
<sequence>
<element name="id" type="string"/>
<element name="category" type="string"/>
<element name="description" type="string"/>
<element name="category" type="string"/>
<element name="rights" minOccurs="0" maxOccurs="1" type="string"/>
<element name="resource" minOccurs="1" maxOccurs="unbounded">
<complexType>
<attribute name="url" type="anyURI"/>
</complexType>
</element>
<element name="copyright" type="string" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>
<element name="videocollection">
<complexType>
<sequence>
<element ref="mc:video" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
<element name="video">
<complexType>
<sequence>
<element name="id" type="string"/>
<element name="category" type="string"/>
<element name="title" type="string"/>
<element name="resource">
<complexType>
<attribute name="url" type="anyURI"/>
</complexType>
</element>
<element name="copyright" type="string" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>
</element>
<element name="videoclipcollection">
<complexType>
<sequence>
<element ref="mc:videoclip" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
<element name="videoclip">
<complexType>
<sequence>
<element name="id" type="string"/>
<element name="category" type="string"/>
<element name="title" type="string"/>
<element name="resource">
<complexType>
<attribute name="url" type="anyURI"/>
</complexType>
</element>
<element name="copyright" type="string" minOccurs="0" maxOccurs="1"/>
</sequence>
</complexType>
</element>
</xs:schema>