Элемент document-info — различия между версиями

Материал из FictionBook
Перейти к: навигация, поиск
м
 
Строка 27: Строка 27:
 
|parents=
 
|parents=
 
Может содержаться в следующих элементах:
 
Может содержаться в следующих элементах:
* [[Элемент description|<description>]]
+
* [[Элемент description|<description>]] - ''1 (один, обязателен)''
  
 
|example=
 
|example=

Текущая версия на 12:19, 10 июля 2007

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

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

Описание

Описание информации о конкретном FB2.x документе (создатель(и), история и т.д.).

Версия FB

2.0 и выше

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

  • Всеми (обеими) библиотеками, ориентироваными на FB2.
  • Библиотечным софтом.

Атрибуты

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

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

Содержит в перечисленном порядке элементы:

  1. <author> - 1..n (любое число, один обязaтелен);
  2. <program-used> - 0..1 (один, опционально);
  3. <date> - 1 (один, обязателен);
  4. <src-url> - 0..n (любое число, опционально);
  5. <src-ocr> - 0..1 (один, опционально);
  6. <id> - 1 (один, обязателен);
  7. <version> - 1 (один, обязателен);
  8. <history> - 0..1 (один, опционально);
  9. <publisher> - 0..n (любое число, опционально) с версии 2.2.

Подчинен

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

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

Смотри также

Используется совместно с элементами:

Комментарии

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

<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:element name="publisher" type="authorType" minOccurs="0" maxOccurs="unbounded">
    <xs:annotation>
     <xs:documentation>Owner of the fb2 document copyrights</xs:documentation>
    </xs:annotation>
   </xs:element>
  </xs:sequence>
 </xs:complexType>
</xs:element>

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

{{{epub3}}}