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