XML Schema for Books

The XML Schema Used by Books.org

At Books.org we conform to the collaborative effort at Schema.org to standarize structured data on the internet.

<?xml version="1.0" encoding="UTF-8"?>
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.books.org" xmlns="http://www.books.org" elementFormDefault="qualified">
    <xs:element name="Book">
    <xs:complexType>
      <xs:openContent mode="interleave">
        <xs:any namespace="http://www.r.org" processContents="strict"/>
      </xs:openContent>
      <xs:sequence>
        <xs:element name="Title" type="xs:string"/>
        <xs:element name="Author" type="xs:string"/>
        <xs:element name="Date" type="xs:string"/>
        <xs:element name="ISBN" type="xs:string"/>
        <xs:element name="Publisher" type="xs:string"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>

A list of books about XML schemas and structured data that we recommend can be found here.