Элемент output

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

Элемент <output>

Описание

Инструкции для выдачи пользователям библиотеки платных и ознакомительных версий документа.

Версия FB

2.1 и выше

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

TODO: где поддерживается?

Атрибуты

  • mode (обязателен) - режим выдачи: "free"/"paid"
  • include-all (обязателен) "allow"/"deny"/"require"
  • price (опционально)
  • currency (опционально)

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

Подчинен

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

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

Смотри также

Комментарии

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

<xs:complexType name="shareInstructionType">
 <xs:annotation>
  <xs:documentation>In-document instruction for generating output free and payed documents</xs:documentation>
 </xs:annotation>
 <xs:choice minOccurs="0" maxOccurs="unbounded">
  <xs:element name="part" type="partShareInstructionType"/>
  <xs:element name="output-document-class" type="outPutDocumentType"/>
 </xs:choice>
 <xs:attribute name="mode" type="shareModesType" use="required"/>
 <xs:attribute name="include-all" type="docGenerationInstructionType" use="required"/>
 <xs:attribute name="price" type="xs:float" use="optional"/>
 <xs:attribute name="currency" type="xs:string"/>
</xs:complexType>
<xs:simpleType name="shareModesType">
 <xs:annotation>
  <xs:documentation>Modes for document sharing (free|paid for now)</xs:documentation>
 </xs:annotation>
 <xs:restriction base="xs:token">
  <xs:enumeration value="free"/>
  <xs:enumeration value="paid"/>
 </xs:restriction>
</xs:simpleType>
<xs:simpleType name="docGenerationInstructionType">
 <xs:annotation>
  <xs:documentation>List of instructions to process sections (allow|deny|require)</xs:documentation>
 </xs:annotation>
 <xs:restriction base="xs:token">
  <xs:enumeration value="require"/>
  <xs:enumeration value="allow"/>
  <xs:enumeration value="deny"/>
 </xs:restriction>
</xs:simpleType>
<xs:complexType name="partShareInstructionType">
 <xs:annotation>
  <xs:documentation>Pointer to cpecific document section, explaining how to deal with it</xs:documentation>
 </xs:annotation>
 <xs:attribute ref="xlink:type"/>
 <xs:attribute ref="xlink:href" use="required"/>
 <xs:attribute name="include" type="docGenerationInstructionType" use="required"/>
</xs:complexType>
<xs:complexType name="outPutDocumentType">
 <xs:annotation>
  <xs:documentation>Selector for output documents. Defines, which rule to apply to any specific output documents</xs:documentation>
 </xs:annotation>
 <xs:sequence minOccurs="0" maxOccurs="unbounded">
  <xs:element name="part" type="partShareInstructionType"/>
 </xs:sequence>
 <xs:attribute name="name" type="xs:string" use="required"/>
 <xs:attribute name="create" type="docGenerationInstructionType" use="optional"/>
 <xs:attribute name="price" type="xs:float" use="optional"/>
</xs:complexType>

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

{{{epub3}}}