Schema media.xsd


schema location:  H:\KRANG\SCHEMA\media.xsd
 
Elements 
media 


element media
diagram
children media_id media_type title filename path category_id url caption copyright alt_tag notes version published_version creation_date publish_date contrib
annotation
documentation 
Comment describing your root element
source
<xs:element name="media">
  <xs:annotation>
    <xs:documentation>Comment describing your root element</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="media_id" type="xs:int"/>
      <xs:element name="media_type" type="xs:string"/>
      <xs:element name="title" type="xs:string"/>
      <xs:element name="filename" type="xs:string"/>
      <xs:element name="path" type="xs:string">
        <xs:annotation>
          <xs:documentation>must name a file inside the kds archive</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="category_id" type="xs:int"/>
      <xs:element name="url" type="xs:string"/>
      <xs:element name="caption" type="xs:string"/>
      <xs:element name="copyright" type="xs:string"/>
      <xs:element name="alt_tag" type="xs:string"/>
      <xs:element name="notes" type="xs:string"/>
      <xs:element name="version" type="xs:int"/>
      <xs:element name="published_version" type="xs:int" minOccurs="0"/>
      <xs:element name="creation_date" type="xs:dateTime"/>
      <xs:element name="publish_date" type="xs:dateTime" minOccurs="0"/>
      <xs:element name="contrib" minOccurs="0" maxOccurs="unbounded">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="contrib_id" type="xs:int"/>
            <xs:element name="contrib_type" type="xs:string"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element media/media_id
diagram
type xs:int
source
<xs:element name="media_id" type="xs:int"/>

element media/media_type
diagram
type xs:string
source
<xs:element name="media_type" type="xs:string"/>

element media/title
diagram
type xs:string
source
<xs:element name="title" type="xs:string"/>

element media/filename
diagram
type xs:string
source
<xs:element name="filename" type="xs:string"/>

element media/path
diagram
type xs:string
annotation
documentation 
must name a file inside the kds archive
source
<xs:element name="path" type="xs:string">
  <xs:annotation>
    <xs:documentation>must name a file inside the kds archive</xs:documentation>
  </xs:annotation>
</xs:element>

element media/category_id
diagram
type xs:int
source
<xs:element name="category_id" type="xs:int"/>

element media/url
diagram
type xs:string
source
<xs:element name="url" type="xs:string"/>

element media/caption
diagram
type xs:string
source
<xs:element name="caption" type="xs:string"/>

element media/copyright
diagram
type xs:string
source
<xs:element name="copyright" type="xs:string"/>

element media/alt_tag
diagram
type xs:string
source
<xs:element name="alt_tag" type="xs:string"/>

element media/notes
diagram
type xs:string
source
<xs:element name="notes" type="xs:string"/>

element media/version
diagram
type xs:int
source
<xs:element name="version" type="xs:int"/>

element media/published_version
diagram
type xs:int
source
<xs:element name="published_version" type="xs:int" minOccurs="0"/>

element media/creation_date
diagram
type xs:dateTime
source
<xs:element name="creation_date" type="xs:dateTime"/>

element media/publish_date
diagram
type xs:dateTime
source
<xs:element name="publish_date" type="xs:dateTime" minOccurs="0"/>

element media/contrib
diagram
children contrib_id contrib_type
source
<xs:element name="contrib" minOccurs="0" maxOccurs="unbounded">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="contrib_id" type="xs:int"/>
      <xs:element name="contrib_type" type="xs:string"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element media/contrib/contrib_id
diagram
type xs:int
source
<xs:element name="contrib_id" type="xs:int"/>

element media/contrib/contrib_type
diagram
type xs:string
source
<xs:element name="contrib_type" type="xs:string"/>


XML Schema documentation generated with
XMLSPY Schema Editor http://www.altova.com/xmlspy