description

Element Information

Model

Source

<xs:element name="description">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="title-info" type="title-infoType">
        <xs:annotation>
          <xs:documentation>Generic information about the book</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="src-title-info" type="title-infoType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Generic information about the original book (for translations)</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="document-info">
        <xs:annotation>
          <xs:documentation>Information about this particular (xml) document</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="author" type="authorType" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Author(s) of this particular document</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="program-used" type="textFieldType" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Any software used in preparation of this document, in free format</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="date" type="dateType">
              <xs:annotation>
                <xs:documentation>Date this document was created, same guidelines as in the
                  <title-info/>section apply</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="src-url" type="xs:string" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Source URL if this document is a conversion of some other (online) document</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="src-ocr" type="textFieldType" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Author of the original (online) document, if this is a conversion</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="id" type="xs:token">
              <xs:annotation>
                <xs:documentation>this is a unique identifier for a document. this must not change</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="version" type="xs:float">
              <xs:annotation>
                <xs:documentation>Document version, in free format, should be incremented if the document is changed and re-released to the public</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="history" type="annotationType" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Short description for all changes made to this document, like "Added missing chapter 6", in free form.</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="publish-info" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Information about some paper/outher published document, that was used as a source of this xml document</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="book-name" type="textFieldType" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Original (paper) book name</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="publisher" type="textFieldType" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Original (paper) book publisher</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="city" type="textFieldType" minOccurs="0">
              <xs:annotation>
                <xs:documentation>City where the original (paper) book was published</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="year" type="xs:gYear" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Year of the original (paper) publication</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="isbn" type="textFieldType" minOccurs="0"/>
            <xs:element name="sequence" type="sequenceType" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="custom-info" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Any other information about the book/document that didnt fit in the above groups</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="textFieldType">
              <xs:attribute name="info-type" type="xs:string" use="required"/>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="output" type="shareInstructionType" minOccurs="0" maxOccurs="2"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

Sample

< description xmlns = "http://www.gribuser.ru/xml/fictionbook/2.0" >

< title-info>

< book-title>

example

</ book-title>

< author>

< nickname>

Online-Convert.com

</ nickname>

</ author>

< genre>

antique

</ genre>

< coverpage>

< image xlink:href = "#_0.jpg" />

</ coverpage>

< lang>

en

</ lang>

</ title-info>