informalexample

informalexample — A displayed example without a title.

Synopsis

Attributes

Common attributes and common linking attributes.

Additional attributes:

  • floatstyle
  • width (nonNegativeInteger)

Description

An informalexample is a wrapper for an example without a title. Examples often contain programlistings or other large block elements.

Processing expectations

Formatted as a displayed block.

Attributes

Common attributes and common linking attributes.

floatstyle

Specifies style information to be used when rendering the float

width

Specifies the width (in characters) of the element

Parents [+]

This element occurs in 73 elements.

Children [+]

This element contains 61 elements.

Examples

  1 <article xmlns='http://docbook.org/ns/docbook'>
  2 <title>Example informalexample</title>
    
  4 <informalexample>
    <programlisting>
  6 sub print_content_model {
        my($self) = shift;
  8     local($_) = shift;
        local(*FILE) = shift;
 10 
        my(@cm) = $self->format_content_model2($_);
 12     foreach $_ (@cm) {
            print FILE $self->make_links($_, 1, 1), "\n";
 14     }
    }
 16 </programlisting>
    </informalexample>
 18 
    </article>
  1 
  2 sub print_content_model {
        my($self) = shift;
  4     local($_) = shift;
        local(*FILE) = shift;
  6 
        my(@cm) = $self->format_content_model2($_);
  8     foreach $_ (@cm) {
            print FILE $self->make_links($_, 1, 1), "\n";
 10     }
    }
Last revised by Norman Walsh on 16 Jun 2011 (git hash: 7cf44d0f3aa4244c54913b42ac9cc634bd9b7fc9)