Chapter 6. Lire Data Types
Prev | Part III. Developer's Reference | Next

## Chapter 6. Lire Data Types

## Lire Textual Elements

This DTD module defines elements related that contains human-readable content in all the Lire DTDs.

This module will also imports some DocBook XML V4.1.2 elements for richer semantic tagging.

This module is also namespace aware and will honor the setting of `LIRE.pfx` to scope its element

The latest version of that module is 2.0 and its public identifier is -//LogReport.ORG//ELEMENTS Lire Textual Elements V2.0//EN™.

    <!--
        Make sure LIRE.pfx is defined. This declaration will be
        ignored if it was already defined.
                                                                       -->
    <!ENTITY % LIRE.pfx          "lire:"                                 >

    <!ENTITY % LIRE.title        "%LIRE.pfx;title"                       >
    <!ENTITY % LIRE.description  "%LIRE.pfx;description"                 >

### `title` element

The `title` element contains a descriptive title.

This element represent some title in Lire. It can be used to give a title to a report specification or to specifify the title of a report or subreport.

The content of this element should be localized.

This element doesn't have any attribute.

    <!ELEMENT %LIRE.title; (#PCDATA)                                     >

### DocBook Elements

The standard `para`, `formalpara` and admonition elements (`note`, `tip`, `warning`, `important` and `caution`) are used as well as their content may be used.

    <!ENTITY % docbook-block.mix
    	   "para|formalpara|warning|tip|important|caution|note">

    <!ENTITY % DocBookDTD PUBLIC
      "-//OASIS//DTD DocBook XML V4.1.2//EN"
      "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
    %DocBookDTD;

### `description` element

The `description` element is used to describe an element. It can be used to describe DLF fields, describe a report specification or include descriptions in the generated reports.

This element can contains one or more of the block-level DocBook elements we use.

The content of this element should be localized.

This element doesn't have any attributes.

    <!ELEMENT %LIRE.description; (%docbook-block.mix;)+>

Prev | Up | Next
Part III. Developer's Reference | Home | Chapter 7. Common Textual Elements to All XML Formats