Элемент title-info

Материал из FictionBook
Перейти к: навигация, поиск
Ошибка создания миниатюры: Не удаётся сохранить эскиз по месту назначения
Внимание!
Содержимое этой страницы требуется написать или доделать начатое.

Элемент <title-info>

Описание

Описание информации о произведении (с учетом перевода, но без учета издания).

Версия FB

2.0 и выше

Поддерживается

  • Всеми (обеими) библиотеками, ориентироваными на FB2.
  • Библиотечным софтом.
  • "Читалками" обеспечивающими поддержку стандарта на уровне выше, чем "выкусывание тэгов".

Атрибуты

Нет атрибутов.

Подчиненные элементы

Должен содержать в перечисленном порядке:

  1. <genre> - 1..n (любое число, один обязaтелен);
  2. <author> - 1..n (любое число, один обязaтелен);
  3. <book-title> - 1 (один, обязателен);
  4. <annotation> - 0..1 (один, опционально);
  5. <keywords> - 0..1 (один, опционально);
  6. <date> - 0..1 (один, опционально);
  7. <coverpage> - 0..1 (один, опционально);
  8. <lang> - 1 (один, обязателен);
  9. <src-lang> - 0..1 (один, опционально);
  10. <translator> - 0..n (любое число, опционально);
  11. <sequence> - 0..n (любое число, опционально).

Подчинен

Может содержаться в следующих элементах:

Пример использования

Смотри также

Комментарии

Фрагмент схемы

<xs:complexType name="title-infoType">
 <xs:annotation>
  <xs:documentation>Book (as a book opposite a document) description</xs:documentation>
 </xs:annotation>
 <xs:sequence>
  <xs:element name="genre" maxOccurs="unbounded">
   <xs:annotation>
    <xs:documentation>Genre of this book, with the optional match percentage</xs:documentation>
   </xs:annotation>
   <xs:complexType>
    <xs:simpleContent>
     <xs:extension base="genre:genreType">
      <xs:attribute name="match" type="xs:integer" ''(опционально)'' default="100"/>
     </xs:extension>
    </xs:simpleContent>
   </xs:complexType>
  </xs:element>
  <xs:element name="author" maxOccurs="unbounded">
   <xs:annotation>
    <xs:documentation>Author(s) of this book</xs:documentation>
   </xs:annotation>
   <xs:complexType>
    <xs:complexContent>
     <xs:extension base="authorType"/>
    </xs:complexContent>
   </xs:complexType>
  </xs:element>
  <xs:element name="book-title" type="textFieldType">
   <xs:annotation>
    <xs:documentation>Book title</xs:documentation>
   </xs:annotation>
  </xs:element>
  <xs:element name="annotation" type="annotationType" minOccurs="0">
   <xs:annotation>
    <xs:documentation>Annotation for this book</xs:documentation>
   </xs:annotation>
  </xs:element>
  <xs:element name="keywords" type="textFieldType" minOccurs="0">
   <xs:annotation>
    <xs:documentation>Any keywords for this book, intended for use in search engines</xs:documentation>
   </xs:annotation>
  </xs:element>
  <xs:element name="date" type="dateType" minOccurs="0">
   <xs:annotation>
    <xs:documentation>Date this book was written, can be not exact, e.g. 1863-1867. If an optional
      attribute is present, then it should contain some computer-readable date from the interval for 
      use by search and indexingengines</xs:documentation>
   </xs:annotation>
  </xs:element>
  <xs:element name="coverpage" minOccurs="0">
   <xs:annotation>
    <xs:documentation>Any coverpage items, currently only images</xs:documentation>
   </xs:annotation>
   <xs:complexType>
    <xs:sequence>
     <xs:element name="image" type="inlineImageType" maxOccurs="unbounded"/>
    </xs:sequence>
   </xs:complexType>
  </xs:element>
  <xs:element name="lang" type="xs:string">
   <xs:annotation>
    <xs:documentation>Book's language</xs:documentation>
   </xs:annotation>
  </xs:element>
  <xs:element name="src-lang" type="xs:string" minOccurs="0">
   <xs:annotation>
    <xs:documentation>Book's source language if this is a translation</xs:documentation>
   </xs:annotation>
  </xs:element>
  <xs:element name="translator" type="authorType" minOccurs="0" maxOccurs="unbounded">
   <xs:annotation>
    <xs:documentation>Translators if this is a translation</xs:documentation>
   </xs:annotation>
  </xs:element>
  <xs:element name="sequence" type="sequenceType" minOccurs="0" maxOccurs="unbounded">
   <xs:annotation>
    <xs:documentation>Any sequences this book might be part of</xs:documentation>
   </xs:annotation>
  </xs:element>
 </xs:sequence>
</xs:complexType>

Эквивалент в EPUB3

{{{epub3}}}