Bookmarks.xsd

From Aventine Solutions

Jump to: navigation, search
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: bookmarks.xsd,v 1.2 2004/04/14 10:38:12 matthew Exp $ -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
  <xs:element name="list">
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="list"/>
        <xs:element ref="link"/>
      </xs:choice>
      <xs:attributeGroup ref="attlist.list"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="attlist.bookmarks">
    <xs:attribute use="required" name="repository"/>
    <xs:attribute use="optional" name="operaPersonalBar" type="xs:boolean"/>
    <xs:attribute use="optional" name="operaPanel" type="xs:boolean"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attlist.list">
    <xs:attribute use="required" name="heading"/>
    <xs:attribute use="optional" name="operaPersonalBar" type="xs:boolean"/>
  </xs:attributeGroup>
  <xs:element name="bookmarks">
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="list"/>
        <xs:element ref="link"/>
      </xs:choice>
      <xs:attributeGroup ref="attlist.bookmarks"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="link">
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="attlist.link"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="attlist.link">
    <xs:attribute use="required" name="href"/>
  </xs:attributeGroup>
</xs:schema>
<!-- EOF: $RCSfile: bookmarks.xsd,v $ -->
Personal tools