Элемент document-info — различия между версиями
Материал из FictionBook
Gremlin (обсуждение | вклад) |
м |
||
(не показаны 2 промежуточных версий 2 участников) | |||
Строка 1: | Строка 1: | ||
{{Надо написать}} | {{Надо написать}} | ||
− | {{Шаблон:FB Элемент|name=document-info|description=Описание информации конкретном FB2.x документе (создатель(и), история и т.д.).|version=2.0 | + | {{Шаблон:FB Элемент|name=document-info |
+ | |||
+ | |description=Описание информации о конкретном FB2.x документе | ||
+ | (создатель(и), история и т.д.). | ||
+ | |||
+ | |version=2.0 и выше | ||
+ | |||
+ | |supported by= | ||
* Всеми (обеими) библиотеками, ориентироваными на FB2. | * Всеми (обеими) библиотеками, ориентироваными на FB2. | ||
− | * Библиотечным софтом.|attributes=Нет атрибутов.|children= | + | * Библиотечным софтом. |
− | # [[Элемент author|<author>]] - 1..n (любое число, один обязaтелен); | + | |
− | # [[Элемент program-used|<program-used>]] - 0..1 (один, опционально); | + | |attributes=Нет атрибутов. |
− | # [[Элемент date|<date>]] - 1 (один, обязателен); | + | |
− | # [[Элемент src-url|<src-url>]] - 0..n (любое число, опционально); | + | |children= |
− | # [[Элемент src-ocr|<src-ocr>]] - 0..1 (один, опционально); | + | Содержит в перечисленном порядке элементы: |
− | # [[Элемент id|<id>]] - 1 (один, обязателен); | + | # [[Элемент author|<author>]] - ''1..n (любое число, один обязaтелен)''; |
− | # [[Элемент version|<version>]] - 1 (один, обязателен); | + | # [[Элемент program-used|<program-used>]] - ''0..1 (один, опционально)''; |
− | # [[Элемент history|<history>]] - 0..1 (один, опционально).|parents= | + | # [[Элемент date|<date>]] - ''1 (один, обязателен)''; |
− | * [[Элемент description|<description>]]|example=|see=}} | + | # [[Элемент src-url|<src-url>]] - ''0..n (любое число, опционально)''; |
+ | # [[Элемент src-ocr|<src-ocr>]] - ''0..1 (один, опционально)''; | ||
+ | # [[Элемент id|<id>]] - ''1 (один, обязателен)''; | ||
+ | # [[Элемент version|<version>]] - ''1 (один, обязателен)''; | ||
+ | # [[Элемент history|<history>]] - ''0..1 (один, опционально)''; | ||
+ | # [[Элемент publisher|<publisher>]] - ''0..n (любое число, опционально) с версии 2.2''. | ||
+ | |||
+ | |parents= | ||
+ | Может содержаться в следующих элементах: | ||
+ | * [[Элемент description|<description>]] - ''1 (один, обязателен)'' | ||
+ | |||
+ | |example= | ||
+ | |||
+ | |see= | ||
+ | Используется совместно с элементами: | ||
+ | * [[Элемент title-info|<title-info>]]; | ||
+ | * [[Элемент src-title-info|<src-title-info>]]; | ||
+ | * [[Элемент publish-info|<publish-info>]]; | ||
+ | * [[Элемент custom-info|<custom-info>]]. | ||
+ | |||
+ | |comments= | ||
+ | |||
+ | |style= | ||
+ | |||
+ | |dtd= | ||
+ | <pre> | ||
+ | <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> | ||
+ | </pre> | ||
+ | }} |
Текущая версия на 12:19, 10 июля 2007
Ошибка создания миниатюры: Не удаётся сохранить эскиз по месту назначения
|
Внимание! Содержимое этой страницы требуется написать или доделать начатое. |
Содержание
Элемент <document-info>
Описание
Описание информации о конкретном FB2.x документе (создатель(и), история и т.д.).
Версия FB
2.0 и выше
Поддерживается
- Всеми (обеими) библиотеками, ориентироваными на FB2.
- Библиотечным софтом.
Атрибуты
Нет атрибутов.
Подчиненные элементы
Содержит в перечисленном порядке элементы:
- <author> - 1..n (любое число, один обязaтелен);
- <program-used> - 0..1 (один, опционально);
- <date> - 1 (один, обязателен);
- <src-url> - 0..n (любое число, опционально);
- <src-ocr> - 0..1 (один, опционально);
- <id> - 1 (один, обязателен);
- <version> - 1 (один, обязателен);
- <history> - 0..1 (один, опционально);
- <publisher> - 0..n (любое число, опционально) с версии 2.2.
Подчинен
Может содержаться в следующих элементах:
- <description> - 1 (один, обязателен)
Пример использования
Смотри также
Используется совместно с элементами:
Комментарии
Фрагмент схемы
<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}}}