[successivo] [precedente] [inizio] [fine] [indice generale] [indice ridotto] [indice analitico] [volume] [parte]


Capitolo 453.   DTD XSL-FO

Nel momento in cui viene scritto il capitolo su XSL-FO non è ancora disponibile un DTD standard per la verifica formale di questo tipo di foglio di stile. Eventualmente, esiste un DTD realizzato nell'ambito di RenderX (<http://www.renderx.net>), che è un sistema di elaborazione XSL-FO proprietario, raggiungibile all'indirizzo <http://xep.xattic.com/xep/resources/validators/dtd/fo.dtd>; tuttavia si tratta di un DTD particolare, le cui condizioni di utilizzo non sono specificate, che contiene estensioni specifiche di RenderX.

Quello che segue è un DTD realizzato appositamente durante lo studio che ha preceduto la realizzazione degli esempi che sono proposti in questi capitoli, attingendo dalle informazioni contenute nel documento xsl:fo short reference, che fa parte della documentazione di FOP, oltre che dal documento Extensible stylesheet language (XSL), presso <http://www.w3.org/TR/xsl/> (si dovrebbe poter ottenere una copia di questo file da <allegati/a2/fo.dtd>).

Si osservi che nel DTD manca la possibilità di utilizzare attributi generici riferiti ai bordi (per esempio border, border-color, ecc.), che quindi risulterebbero un errore. Si ritiene che non sia il caso di utilizzare queste proprietà complessive come si può fare con i fogli di stile CSS; tuttavia, non è difficile aggiungere queste proprietà al DTD se lo si ritiene necessario.

<!-- 2003.08.05 written by Daniele Giacomini <daniele@swlibero.org>  -->

<?xml version="1.0" encoding="UTF-8"?>
<!-- =============================================================== -->
<!-- CONTENT                                                         -->
<!-- =============================================================== -->

<!ENTITY % block  "
    fo:block
|   fo:block-container
|   fo:list-block
|   fo:table
|   fo:table-and-caption
|   fo:float">

<!ENTITY % inline  "
    fo:basic-link
|   fo:bidi-override
|   fo:character
|   fo:external-graphic
|   fo:inline
|   fo:inline-container
|   fo:instream-foreign-object
|   fo:leader
|   fo:multi-toggle
|   fo:page-number
|   fo:page-number-citation
|   fo:footnote">

<!-- =============================================================== -->
<!-- PROPERTY                                                        -->
<!-- =============================================================== -->

<!ENTITY % absolute-position  "
    absolute-position  (auto | absolute | fixed | inherit)  #IMPLIED">

<!ENTITY % active-state  "
    active-state  (link | visited | active | hover | focus)  #REQUIRED">

<!ENTITY % alignment-adjust  "
    alignment-adjust  CDATA  #IMPLIED">

<!ENTITY % alignment-baseline  "
    alignment-baseline  (auto | baseline | before-edge| text-before-edge
                        | middle | central | after-edge| text-after-edge
                        | ideographic | alphabetic | hanging | mathematical
                        | inherit)
    #IMPLIED">

<!ENTITY % auto-restore  "
    auto-restore  (true | false)  #IMPLIED">

<!ENTITY % azimuth  "
    azimuth  CDATA  #IMPLIED">

<!ENTITY % background  "
    background  CDATA  #IMPLIED">

<!ENTITY % background-attachment  "
    background-attachment  (scroll | fixed | inherit)  #IMPLIED">

<!ENTITY % background-color  "
    background-color  CDATA  #IMPLIED">

<!ENTITY % background-image  "
    background-image  CDATA  #IMPLIED">

<!ENTITY % background-position  "
    background-position  CDATA  #IMPLIED">

<!ENTITY % background-position-horizontal  "
    background-position-horizontal  CDATA  #IMPLIED">

<!ENTITY % background-position-vertical  "
    background-position-vertical  CDATA  #IMPLIED">

<!ENTITY % background-repeat  "
    background-repeat  (repeat | repeat-x | repeat-y | no-repeat | inherit)
    #IMPLIED">

<!ENTITY % baseline-shift  "
    baseline-shift  CDATA  #IMPLIED">

<!ENTITY % blank-or-not-blank  "
    blank-or-not-blank  (blank | not-blank | any | inherit)  #IMPLIED">

<!ENTITY % block-progression-dimension  "
    block-progression-dimension  CDATA  #IMPLIED">

<!ENTITY % border  "
    border  CDATA  #IMPLIED">

<!ENTITY % border-after-color  "
    border-after-color  CDATA  #IMPLIED">

<!ENTITY % border-after-precedence  "
    border-after-precedence  CDATA  #IMPLIED">

<!ENTITY % border-after-style  "
    border-after-style  CDATA  #IMPLIED">

<!ENTITY % border-after-width  "
    border-after-width  CDATA  #IMPLIED">

<!ENTITY % border-before-color  "
    border-before-color  CDATA  #IMPLIED">

<!ENTITY % border-before-precedence  "
    border-before-precedence  CDATA  #IMPLIED">

<!ENTITY % border-before-style  "
    border-before-style  CDATA  #IMPLIED">

<!ENTITY % border-before-width  "
    border-before-width  CDATA  #IMPLIED">

<!ENTITY % border-bottom  "
    border-bottom  CDATA  #IMPLIED">

<!ENTITY % border-bottom-color  "
    border-bottom-color  CDATA  #IMPLIED">

<!ENTITY % border-bottom-style  "
    border-bottom-style  CDATA  #IMPLIED">

<!ENTITY % border-bottom-width  "
    border-bottom-width  CDATA  #IMPLIED">

<!ENTITY % border-collapse  "
    border-collapse  (collapse | separate | inherit)  #IMPLIED">

<!ENTITY % border-color  "
    border-color  CDATA  #IMPLIED">

<!ENTITY % border-end-color  "
    border-end-color  CDATA  #IMPLIED">

<!ENTITY % border-end-precedence  "
    border-end-precedence  CDATA  #IMPLIED">

<!ENTITY % border-end-style  "
    border-end-style  CDATA  #IMPLIED">

<!ENTITY % border-end-width  "
    border-end-width  CDATA  #IMPLIED">

<!ENTITY % border-left  "
    border-left  CDATA  #IMPLIED">

<!ENTITY % border-left-color  "
    border-left-color  CDATA  #IMPLIED">

<!ENTITY % border-left-style  "
    border-left-style  CDATA  #IMPLIED">

<!ENTITY % border-left-width  "
    border-left-width  CDATA  #IMPLIED">

<!ENTITY % border-right  "
    border-right  CDATA  #IMPLIED">

<!ENTITY % border-right-color  "
    border-right-color  CDATA  #IMPLIED">

<!ENTITY % border-right-style  "
    border-right-style  CDATA  #IMPLIED">

<!ENTITY % border-right-width  "
    border-right-width  CDATA  #IMPLIED">

<!ENTITY % border-separation  "
    border-separation  CDATA  #IMPLIED">

<!ENTITY % border-spacing  "
    border-spacing  CDATA  #IMPLIED">

<!ENTITY % border-start-color  "
    border-start-color  CDATA  #IMPLIED">

<!ENTITY % border-start-precedence  "
    border-start-precedence  CDATA  #IMPLIED">

<!ENTITY % border-start-style  "
    border-start-style  CDATA  #IMPLIED">

<!ENTITY % border-start-width  "
    border-start-width  CDATA  #IMPLIED">

<!ENTITY % border-style  "
    border-style  CDATA  #IMPLIED">

<!ENTITY % border-top  "
    border-top  CDATA  #IMPLIED">

<!ENTITY % border-top-color  "
    border-top-color  CDATA  #IMPLIED">

<!ENTITY % border-top-style  "
    border-top-style  CDATA  #IMPLIED">

<!ENTITY % border-top-width  "
    border-top-width  CDATA  #IMPLIED">

<!ENTITY % border-width  "
    border-width  CDATA  #IMPLIED">

<!ENTITY % bottom  "
    bottom  CDATA  #IMPLIED">

<!ENTITY % break-after  "
    break-after  (auto | column | page | even-page | odd-page | inherit)
    #IMPLIED">

<!ENTITY % break-before  "
    break-before  (auto | column | page | even-page | odd-page | inherit)
    #IMPLIED">

<!ENTITY % caption-side  "
    caption-side  (before | after | start | end | top | bottom | left
                  | right | inherit)
    #IMPLIED">

<!ENTITY % case-name  "
    case-name  CDATA  #IMPLIED">

<!ENTITY % case-title  "
    case-title  CDATA  #IMPLIED">

<!ENTITY % character  "
    character  CDATA  #REQUIRED">

<!ENTITY % clear  "
    clear  (start | end | left | right | both | none | inherit)  #IMPLIED">

<!ENTITY % clip  "
    clip  CDATA  #IMPLIED">

<!ENTITY % color  "
    color  CDATA  #IMPLIED">

<!ENTITY % color-profile-name  "
    color-profile-name  CDATA  #REQUIRED">

<!ENTITY % column-count  "
    column-count  CDATA  #IMPLIED">

<!ENTITY % column-gap  "
    column-gap  CDATA  #IMPLIED">

<!ENTITY % column-number  "
    column-number  CDATA  #IMPLIED">

<!ENTITY % column-width  "
    column-width  CDATA  #IMPLIED">

<!ENTITY % content-height  "
    content-height  CDATA  #IMPLIED">

<!ENTITY % content-type  "
    content-type  CDATA  #IMPLIED">

<!ENTITY % content-width  "
    content-width  CDATA  #IMPLIED">

<!ENTITY % country  "
    country  CDATA  #IMPLIED">

<!ENTITY % cue  "
    cue  CDATA  #IMPLIED">

<!ENTITY % cue-after  "
    cue-after  CDATA  #IMPLIED">

<!ENTITY % cue-before  "
    cue-before  CDATA  #IMPLIED">

<!ENTITY % destination-placement-offset  "
    destination-placement-offset  CDATA  #IMPLIED">

<!ENTITY % direction  "
    direction  (ltr | rtl | inherit)  #IMPLIED">

<!ENTITY % display-align  "
    display-align  (auto | before | center | after| inherit)  #IMPLIED">

<!ENTITY % dominant-baseline  "
    dominant-baseline  (auto | use-script | no-change | reset-size
                       | ideographic | alphabetic | hanging | mathematical
                       | inherit)
    #IMPLIED">

<!ENTITY % elevation  "
    elevation  CDATA  #IMPLIED">

<!ENTITY % empty-cells  "
    empty-cells  (show | hide | inherit)  #IMPLIED">

<!ENTITY % end-indent  "
    end-indent  CDATA  #IMPLIED">

<!ENTITY % ends-row  "
    ends-row  (true | false)  #IMPLIED">

<!ENTITY % extent  "
    extent  CDATA  #REQUIRED">

<!ENTITY % external-destination  "
    external-destination  CDATA  #IMPLIED">

<!ENTITY % float  "
    float  (before | start | end | left | right | none | inherit)  #IMPLIED">

<!ENTITY % flow-name  "
    flow-name  CDATA  #REQUIRED">

<!ENTITY % font  "
    font  CDATA  #IMPLIED">

<!ENTITY % font-family  "
    font-family  CDATA  #IMPLIED">

<!ENTITY % font-selection-strategy  "
    font-selection-strategy  (auto | character-by-character | inherit)
    #IMPLIED">

<!ENTITY % font-size  "
    font-size  CDATA  #IMPLIED">

<!ENTITY % font-size-adjust  "
    font-size-adjust  CDATA  #IMPLIED">

<!ENTITY % font-stretch  "
    font-stretch  (normal | wider | narrower | ultra-condensed
                  | extra-condensed | condensed | semi-condensed
                  | semi-expanded |expanded | extra-expanded
                  | ultra-expanded | inherit)
    #IMPLIED">

<!ENTITY % font-style  "
    font-style  (normal | italic | oblique |  backslant | inherit)  #IMPLIED">

<!ENTITY % font-variant  "
    font-variant  (normal | small-caps | inherit)  #IMPLIED">

<!ENTITY % font-weight  "
    font-weight  (normal | bold | bolder | lighter | 100 | 200
                 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit)
    #IMPLIED">

<!ENTITY % force-page-count  "
    force-page-count  (auto | even | odd | end-on-even | end-on-odd
                      | no-force| inherit)
    #IMPLIED">

<!ENTITY % format  "
    format  CDATA  #IMPLIED">

<!ENTITY % glyph-orientation-horizontal  "
    glyph-orientation-horizontal  CDATA  #IMPLIED">

<!ENTITY % glyph-orientation-vertical  "
    glyph-orientation-vertical  CDATA  #IMPLIED">

<!ENTITY % grouping-separator  "
    grouping-separator  CDATA  #IMPLIED">

<!ENTITY % grouping-size  "
    grouping-size  CDATA  #IMPLIED">

<!ENTITY % height  "
    height  CDATA  #IMPLIED">

<!ENTITY % hyphenate  "
    hyphenate  (false | true | inherit)  #IMPLIED">

<!ENTITY % hyphenation-character  "
    hyphenation-character  CDATA  #IMPLIED">

<!ENTITY % hyphenation-keep  "
    hyphenation-keep  (auto | column | page | inherit)  #IMPLIED">

<!ENTITY % hyphenation-ladder-count  "
    hyphenation-ladder-count  CDATA  #IMPLIED">

<!ENTITY % hyphenation-push-character-count  "
    hyphenation-push-character-count  CDATA  #IMPLIED">

<!ENTITY % hyphenation-remain-character-count  "
    hyphenation-remain-character-count  CDATA  #IMPLIED">

<!ENTITY % id  "
    id  CDATA  #IMPLIED">

<!ENTITY % indicate-destination  "
    indicate-destination  (true | false)  #IMPLIED">

<!ENTITY % initial-page-number  "
    initial-page-number  CDATA  #IMPLIED">

<!ENTITY % inline-progression-dimension  "
    inline-progression-dimension  CDATA  #IMPLIED">

<!ENTITY % internal-destination  "
    internal-destination  CDATA  #IMPLIED">

<!ENTITY % keep-together  "
    keep-together  CDATA  #IMPLIED">

<!ENTITY % keep-with-next  "
    keep-with-next  CDATA  #IMPLIED">

<!ENTITY % keep-with-previous  "
    keep-with-previous  CDATA  #IMPLIED">

<!ENTITY % language  "
    language  CDATA  #IMPLIED">

<!ENTITY % last-line-end-indent  "
    last-line-end-indent  CDATA  #IMPLIED">

<!ENTITY % leader-alignment  "
    leader-alignment  (none | reference-area | page | inherit)  #IMPLIED">

<!ENTITY % leader-length  "
    leader-length  CDATA  #IMPLIED">

<!ENTITY % leader-pattern  "
    leader-pattern  (space | rule | dots | use-content | inherit)  #IMPLIED">

<!ENTITY % leader-pattern-width  "
    leader-pattern-width  CDATA  #IMPLIED">

<!ENTITY % left  "
    left  CDATA  #IMPLIED">

<!ENTITY % letter-spacing  "
    letter-spacing  CDATA  #IMPLIED">

<!ENTITY % letter-value  "
    letter-value  (auto | alphabetic | traditional)  #IMPLIED">

<!ENTITY % line-height  "
    line-height  CDATA  #IMPLIED">

<!ENTITY % line-height-shift-adjustment  "
    line-height-shift-adjustment  (consider-shifts | disregard-shifts | inherit)
    #IMPLIED">

<!ENTITY % line-stacking-strategy  "
    line-stacking-strategy  (line-height | font-height | max-height | inherit)
    #IMPLIED">

<!ENTITY % linefeed-treatment  "
    linefeed-treatment  (ignore | preserve | treat-as-space
                        | treat-as-zero-width-space | inherit)
    #IMPLIED">

<!ENTITY % margin  "
    margin  CDATA  #IMPLIED">

<!ENTITY % margin-bottom  "
    margin-bottom  CDATA  #IMPLIED">

<!ENTITY % margin-left  "
    margin-left  CDATA  #IMPLIED">

<!ENTITY % margin-right  "
    margin-right  CDATA  #IMPLIED">

<!ENTITY % margin-top  "
    margin-top  CDATA  #IMPLIED">

<!ENTITY % marker-class-name  "
    marker-class-name  CDATA  #IMPLIED">

<!ENTITY % master-name  "
    master-name  CDATA  #REQUIRED">

<!ENTITY % master-reference  "
    master-reference  CDATA  #REQUIRED">

<!ENTITY % max-height  "
    max-height  CDATA  #IMPLIED">

<!ENTITY % max-width  "
    max-width  CDATA  #IMPLIED">

<!ENTITY % maximum-repeats  "
    maximum-repeats  CDATA  #IMPLIED">

<!ENTITY % media-usage  "
    media-usage  (auto | paginate | bounded-in-one-dimension | unbounded)
    #IMPLIED">

<!ENTITY % min-height  "
    min-height  CDATA  #IMPLIED">

<!ENTITY % min-width  "
    min-width  CDATA  #IMPLIED">

<!ENTITY % number-columns-repeated  "
    number-columns-repeated  CDATA  #IMPLIED">

<!ENTITY % number-columns-spanned  "
    number-columns-spanned  CDATA  #IMPLIED">

<!ENTITY % number-rows-spanned  "
    number-rows-spanned  CDATA  #IMPLIED">

<!ENTITY % odd-or-even  "
    odd-or-even  (odd | even | any | inherit)  #IMPLIED">

<!ENTITY % orphans  "
    orphans  CDATA  #IMPLIED">

<!ENTITY % overflow  "
    overflow  (visible | hidden | scroll | error-if-overflow | auto | inherit)
    #IMPLIED">

<!ENTITY % padding  "
    padding  CDATA  #IMPLIED">

<!ENTITY % padding-after  "
    padding-after  CDATA  #IMPLIED">

<!ENTITY % padding-before  "
    padding-before  CDATA  #IMPLIED">

<!ENTITY % padding-bottom  "
    padding-bottom  CDATA  #IMPLIED">

<!ENTITY % padding-end  "
    padding-end  CDATA  #IMPLIED">

<!ENTITY % padding-left  "
    padding-left  CDATA  #IMPLIED">

<!ENTITY % padding-right  "
    padding-right  CDATA  #IMPLIED">

<!ENTITY % padding-start  "
    padding-start  CDATA  #IMPLIED">

<!ENTITY % padding-top  "
    padding-top  CDATA  #IMPLIED">

<!ENTITY % page-break-after  "
    page-break-after  (auto | always | avoid | left | right | inherit)
    #IMPLIED">

<!ENTITY % page-break-before  "
    page-break-before  (auto | always | avoid | left | right | inherit)
    #IMPLIED">

<!ENTITY % page-break-inside  "
    page-break-inside  (avoid | auto | inherit)  #IMPLIED">

<!ENTITY % page-height  "
    page-height  CDATA  #IMPLIED">

<!ENTITY % page-position  "
    page-position  (first | last | rest | any | inherit)  #IMPLIED">

<!ENTITY % page-width  "
    page-width  CDATA  #IMPLIED">

<!ENTITY % pause  "
    pause  CDATA  #IMPLIED">

<!ENTITY % pause-after  "
    pause-after  CDATA  #IMPLIED">

<!ENTITY % pause-before  "
    pause-before  CDATA  #IMPLIED">

<!ENTITY % pitch  "
    pitch  CDATA  #IMPLIED">

<!ENTITY % pitch-range  "
    pitch-range  CDATA  #IMPLIED">

<!ENTITY % play-during  "
    play-during  CDATA  #IMPLIED">

<!ENTITY % position  "
    position  (static | relative | absolute | fixed | inherit)  #IMPLIED">

<!ENTITY % precedence  "
    precedence  (true | false | inherit)  #IMPLIED">

<!ENTITY % provisional-distance-between-starts  "
    provisional-distance-between-starts  CDATA  #IMPLIED">

<!ENTITY % provisional-label-separation  "
    provisional-label-separation  CDATA  #IMPLIED">

<!ENTITY % ref-id  "
    ref-id  CDATA  #REQUIRED">

<!ENTITY % reference-orientation  "
    reference-orientation  ( 0 | 90 | 180 | 270 | -90 | -180 | -270 | inherit)
    #IMPLIED">

<!ENTITY % region-name  "
    region-name  CDATA  #IMPLIED">

<!ENTITY % relative-align  "
    relative-align  (before | baseline| inherit)  #IMPLIED">

<!ENTITY % relative-position  "
    relative-position  (static | relative | inherit)  #IMPLIED">

<!ENTITY % rendering-intent  "
    rendering-intent  (auto | perceptual | relative-colorimetric
                      | saturation | absolute-colorimetric | inherit)
    #IMPLIED">

<!ENTITY % retrieve-boundary  "
    retrieve-boundary  (page | page-sequence | document)  #IMPLIED">

<!ENTITY % retrieve-class-name  "
    retrieve-class-name  CDATA  #IMPLIED">

<!ENTITY % retrieve-position  "
    retrieve-position  (first-starting-within-page | first-including-carryover
                       |last-starting-within-page | last-ending-within-page)
    #IMPLIED">

<!ENTITY % richness  "
    richness  CDATA  #IMPLIED">

<!ENTITY % right  "
    right  CDATA  #IMPLIED">

<!ENTITY % role  "
    role  CDATA  #IMPLIED">

<!ENTITY % rule-style  "
    rule-style  (none | dotted | dashed | solid | double | groove
                | ridge | inherit)
    #IMPLIED">

<!ENTITY % rule-thickness  "
    rule-thickness  CDATA  #IMPLIED">

<!ENTITY % scaling  "
    scaling  (uniform | non-uniform | inherit)  #IMPLIED">

<!ENTITY % scaling-method  "
    scaling-method  (auto | integer-pixels | resample-any-method | inherit)
    #IMPLIED">

<!ENTITY % score-spaces  "
    score-spaces  (true | false | inherit)  #IMPLIED">

<!ENTITY % script  "
    script  CDATA  #IMPLIED">

<!ENTITY % show-destination  "
    show-destination  (replace | new)  #IMPLIED">

<!ENTITY % size  "
    size  CDATA  #IMPLIED">

<!ENTITY % source-document  "
    source-document  CDATA  #IMPLIED">

<!ENTITY % space-after  "
    space-after  CDATA  #IMPLIED">

<!ENTITY % space-before  "
    space-before  CDATA  #IMPLIED">

<!ENTITY % space-end  "
    space-end  CDATA  #IMPLIED">

<!ENTITY % space-start  "
    space-start  CDATA  #IMPLIED">

<!ENTITY % space-treatment  "
    space-treatment  (ignore | preserve | ignore-if-before-linefeed
                     | ignore-if-after-linefeed
                     | ignore-if-surrounding-linefeed | inherit)
    #IMPLIED">

<!ENTITY % span  "
    span  (none | all | inherit)  #IMPLIED">

<!ENTITY % speak  "
    speak  (normal | none | spell-out | inherit)  #IMPLIED">

<!ENTITY % speak-header  "
    speak-header  (once | always | inherit)  #IMPLIED">

<!ENTITY % speak-numeral  "
    speak-numeral  (digits | continuous | inherit)  #IMPLIED">

<!ENTITY % speak-punctuation  "
    speak-punctuation  (code | none | inherit)  #IMPLIED">

<!ENTITY % speech-rate  "
    speech-rate  CDATA  #IMPLIED">

<!ENTITY % src  "
    src  CDATA  #REQUIRED">

<!ENTITY % start-indent  "
    start-indent  CDATA  #IMPLIED">

<!ENTITY % starting-state  "
    starting-state  (show | hide)  #IMPLIED">

<!ENTITY % starts-row  "
    starts-row  (true | false)  #IMPLIED">

<!ENTITY % stress  "
    stress  CDATA  #IMPLIED">

<!ENTITY % suppress-at-line-break  "
    suppress-at-line-break  (auto | suppress | retain | inherit)  #IMPLIED">

<!ENTITY % switch-to  "
    switch-to  CDATA  #IMPLIED">

<!ENTITY % table-layout  "
    table-layout  (auto | fixed | inherit)  #IMPLIED">

<!ENTITY % table-omit-footer-at-break  "
    table-omit-footer-at-break  (true | false)  #IMPLIED">

<!ENTITY % table-omit-header-at-break  "
    table-omit-header-at-break  (true | false)  #IMPLIED">

<!ENTITY % target-presentation-context  "
    target-presentation-context  CDATA  #IMPLIED">

<!ENTITY % target-processing-context  "
    target-processing-context  CDATA  #IMPLIED">

<!ENTITY % target-stylesheet  "
    target-stylesheet  CDATA  #IMPLIED">

<!ENTITY % text-align  "
    text-align  CDATA  #IMPLIED">

<!ENTITY % text-align-last  "
    text-align-last  (relative | start | center | end | justify | inside
                     | outside | left | right | inherit)
    #IMPLIED">

<!ENTITY % text-altitude  "
    text-altitude  CDATA  #IMPLIED">

<!ENTITY % text-decoration  "
    text-decoration  NMTOKENS  #IMPLIED">

<!ENTITY % text-depth  "
    text-depth  CDATA  #IMPLIED">

<!ENTITY % text-indent  "
    text-indent  CDATA  #IMPLIED">

<!ENTITY % text-shadow  "
    text-shadow  CDATA  #IMPLIED">

<!ENTITY % text-transform  "
    text-transform  (capitalize | uppercase | lowercase | none | inherit)
    #IMPLIED">

<!ENTITY % top  "
    top  CDATA  #IMPLIED">

<!ENTITY % treat-as-word-space  "
    treat-as-word-space  (auto | true | false | inherit)  #IMPLIED">

<!ENTITY % unicode-bidi  "
    unicode-bidi  (normal | embed | bidi-override | inherit)  #IMPLIED">

<!ENTITY % vertical-align  "
    vertical-align  CDATA  #IMPLIED">

<!ENTITY % visibility  "
    visibility  (visible | hidden | collapse | inherit)  #IMPLIED">

<!ENTITY % voice-family  "
    voice-family  CDATA  #IMPLIED">

<!ENTITY % volume  "
    volume  CDATA  #IMPLIED">

<!ENTITY % white-space  "
    white-space  (normal | pre | nowrap | inherit)  #IMPLIED">

<!ENTITY % white-space-collapse  "
    white-space-collapse  (false | true | inherit)  #IMPLIED">

<!ENTITY % widows  "
    widows  CDATA  #IMPLIED">

<!ENTITY % width  "
    width  CDATA  #IMPLIED">

<!ENTITY % word-spacing  "
    word-spacing  CDATA  #IMPLIED">

<!ENTITY % wrap-option  "
    wrap-option  (no-wrap | wrap | inherit)  #IMPLIED">

<!ENTITY % writing-mode  "
    writing-mode  (lr-tb | rl-tb | tb-rl | lr | rl | tb | inherit)  #IMPLIED">

<!ENTITY % xml:lang  "
    xml:lang  CDATA  #IMPLIED">

<!ENTITY % z-index  "
    z-index  CDATA  #IMPLIED">

<!-- =============================================================== -->
<!-- PROPERTY GROUP                                                  -->
<!-- =============================================================== -->

<!ENTITY % common-accessibility-properties  "
    %role;
    %source-document;">

<!ENTITY % common-absolute-position-properties  "
    %absolute-position;
    %top;
    %right;
    %bottom;
    %left;">

<!ENTITY % common-aural-properties  "
    %azimuth;
    %cue-after;
    %cue-before;
    %elevation;
    %pause-after;
    %pause-before;
    %pitch;
    %pitch-range;
    %play-during;
    %richness;
    %speak;
    %speak-header;
    %speak-numeral;
    %speak-punctuation;
    %speech-rate;
    %stress;
    %voice-family;
    %volume;">

<!ENTITY % common-border-padding-and-background-properties  "
    %background-attachment;
    %background-color;
    %background-image;
    %background-repeat;
    %background-position-horizontal;
    %background-position-vertical;
    %border-before-color;
    %border-before-style;
    %border-before-width;
    %border-after-color;
    %border-after-style;
    %border-after-width;
    %border-start-color;
    %border-start-style;
    %border-start-width;
    %border-end-color;
    %border-end-style;
    %border-end-width;
    %border-top-color;
    %border-top-style;
    %border-top-width;
    %border-bottom-color;
    %border-bottom-style;
    %border-bottom-width;
    %border-left-color;
    %border-left-style;
    %border-left-width;
    %border-right-color;
    %border-right-style;
    %border-right-width;
    %padding-before;
    %padding-after;
    %padding-start;
    %padding-end;
    %padding-top;
    %padding-bottom;
    %padding-left;
    %padding-right;">

<!ENTITY % common-font-properties  "
    %font-family;
    %font-selection-strategy;
    %font-size;
    %font-stretch;
    %font-size-adjust;
    %font-style;
    %font-variant;
    %font-weight;">

<!ENTITY % common-hyphenation-properties  "
    %country;
    %language;
    %script;
    %hyphenate;
    %hyphenation-character;
    %hyphenation-push-character-count;
    %hyphenation-remain-character-count;">

<!ENTITY % common-margin-properties-block  "
    %margin-top;
    %margin-bottom;
    %margin-left;
    %margin-right;
    %space-before;
    %space-after;
    %start-indent;
    %end-indent;">

<!ENTITY % common-margin-properties-inline  "
    %space-end;
    %space-start;">

<!ENTITY % common-relative-position-properties  "
    %relative-position;
    %top;
    %right;
    %bottom;
    %left;">

<!-- =============================================================== -->
<!-- ELEMENT                                                         -->
<!-- =============================================================== -->

<!ELEMENT fo:basic-link
    (#PCDATA|%inline;|%block;)*>
<!ATTLIST fo:basic-link
    %common-accessibility-properties;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-margin-properties-inline;
    %common-relative-position-properties;
    %alignment-adjust;
    %alignment-baseline;
    %baseline-shift;
    %destination-placement-offset;
    %dominant-baseline;
    %external-destination;
    %id;
    %indicate-destination;
    %internal-destination;
    %keep-together;
    %keep-with-next;
    %keep-with-previous;
    %line-height;
    %line-height-shift-adjustment;
    %show-destination;
    %target-processing-context;
    %target-presentation-context;
    %target-stylesheet;>

<!ELEMENT fo:bidi-override
    (#PCDATA|%inline;|%block;)*>
<!ATTLIST fo:bidi-override
    %common-aural-properties;
    %common-font-properties;
    %common-relative-position-properties;
    %color;
    %direction;
    %id;
    %letter-spacing;
    %line-height;
    %line-height-shift-adjustment;
    %score-spaces;
    %text-shadow;
    %text-transform;
    %unicode-bidi;
    %word-spacing;>

<!ELEMENT fo:block
    (#PCDATA|%inline;|%block;)*>
<!ATTLIST fo:block
    %common-accessibility-properties;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-font-properties;
    %common-hyphenation-properties;
    %common-margin-properties-block;
    %common-relative-position-properties;
    %break-after;
    %break-before;
    %color;
    %text-depth;
    %text-altitude;
    %hyphenation-keep;
    %hyphenation-ladder-count;
    %id;
    %keep-together;
    %keep-with-next;
    %keep-with-previous;
    %last-line-end-indent;
    %linefeed-treatment;
    %line-height;
    %line-height-shift-adjustment;
    %line-stacking-strategy;
    %orphans;
    %space-treatment;
    %span;
    %text-align;
    %text-align-last;
    %text-indent;
    %visibility;
    %white-space-collapse;
    %widows;
    %wrap-option;
    %z-index;>

<!ELEMENT fo:block-container
    (%block;)+>
<!ATTLIST fo:block-container
    %common-absolute-position-properties;
    %common-border-padding-and-background-properties;
    %common-margin-properties-block;
    %block-progression-dimension;
    %break-after;
    %break-before;
    %clip;
    %display-align;
    %height;
    %id;
    %inline-progression-dimension;
    %keep-together;
    %keep-with-next;
    %keep-with-previous;
    %overflow;
    %reference-orientation;
    %span;
    %width;
    %writing-mode;>

<!ELEMENT fo:character
    EMPTY>
<!ATTLIST fo:character
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-font-properties;
    %common-hyphenation-properties;
    %common-margin-properties-inline;
    %common-relative-position-properties;
    %alignment-adjust;
    %treat-as-word-space;
    %alignment-baseline;
    %baseline-shift;
    %character;
    %color;
    %dominant-baseline;
    %text-depth;
    %text-altitude;
    %glyph-orientation-horizontal;
    %glyph-orientation-vertical;
    %id;
    %keep-with-next;
    %keep-with-previous;
    %letter-spacing;
    %line-height;
    %line-height-shift-adjustment;
    %score-spaces;
    %suppress-at-line-break;
    %text-decoration;
    %text-shadow;
    %text-transform;
    %word-spacing;>

<!ELEMENT fo:color-profile
    EMPTY>
<!ATTLIST fo:color-profile
    %src;
    %color-profile-name;
    %rendering-intent;>

<!ELEMENT fo:conditional-page-master-reference
    EMPTY>
<!ATTLIST fo:conditional-page-master-reference
    %master-reference;
    %page-position;
    %odd-or-even;
    %blank-or-not-blank;>

<!ELEMENT fo:declarations
    (fo:color-profile)+>

<!ELEMENT fo:external-graphic
    EMPTY>
<!ATTLIST fo:external-graphic
    %common-accessibility-properties;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-margin-properties-inline;
    %common-relative-position-properties;
    %alignment-adjust;
    %alignment-baseline;
    %baseline-shift;
    %block-progression-dimension;
    %content-height;
    %content-type;
    %content-width;
    %display-align;
    %dominant-baseline;
    %height;
    %id;
    %inline-progression-dimension;
    %keep-with-next;
    %keep-with-previous;
    %line-height;
    %line-height-shift-adjustment;
    %overflow;
    %scaling;
    %scaling-method;
    %src;
    %text-align;
    %width;>

<!ELEMENT fo:float
    (%block;)+>
<!ATTLIST fo:float
    %float;
    %clear;>

<!ELEMENT fo:flow
    (%block;)+>
<!ATTLIST fo:flow
    %flow-name;>

<!ELEMENT fo:footnote
    (fo:inline,fo:footnote-body)>

<!ELEMENT fo:footnote-body
    (%block;)+>

<!ELEMENT fo:initial-property-set
    EMPTY>
<!ATTLIST fo:initial-property-set
    %common-accessibility-properties;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-font-properties;
    %common-relative-position-properties;
    %color;
    %id;
    %letter-spacing;
    %line-height;
    %line-height-shift-adjustment;
    %score-spaces;
    %text-decoration;
    %text-shadow;
    %text-transform;
    %word-spacing;>

<!ELEMENT fo:inline
    (#PCDATA|%inline;|%block;)*>
<!ATTLIST fo:inline
    %common-accessibility-properties;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-font-properties;
    %common-margin-properties-inline;
    %common-relative-position-properties;
    %alignment-adjust;
    %alignment-baseline;
    %baseline-shift;
    %color;
    %dominant-baseline;
    %id;
    %keep-together;
    %keep-with-next;
    %keep-with-previous;
    %line-height;
    %line-height-shift-adjustment;
    %text-decoration;
    %visibility;
    %z-index;>

<!ELEMENT fo:inline-container
    (%block;)+>
<!ATTLIST fo:inline-container
    %common-border-padding-and-background-properties;
    %common-margin-properties-inline;
    %common-relative-position-properties;
    %alignment-adjust;
    %alignment-baseline;
    %baseline-shift;
    %block-progression-dimension;
    %clip;
    %display-align;
    %dominant-baseline;
    %height;
    %id;
    %inline-progression-dimension;
    %keep-together;
    %keep-with-next;
    %keep-with-previous;
    %line-height;
    %line-height-shift-adjustment;
    %overflow;
    %reference-orientation;
    %width;
    %writing-mode;>

<!ELEMENT fo:instream-foreign-object
    ANY>
<!ATTLIST fo:instream-foreign-object
    %common-accessibility-properties;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-margin-properties-inline;
    %common-relative-position-properties;
    %alignment-adjust;
    %alignment-baseline;
    %baseline-shift;
    %block-progression-dimension;
    %content-height;
    %content-type;
    %content-width;
    %display-align;
    %dominant-baseline;
    %height;
    %id;
    %inline-progression-dimension;
    %keep-with-next;
    %keep-with-previous;
    %line-height;
    %line-height-shift-adjustment;
    %overflow;
    %scaling;
    %scaling-method;
    %text-align;
    %width;>

<!ELEMENT fo:layout-master-set
    (fo:simple-page-master|fo:page-sequence-master)+>

<!ELEMENT fo:leader
    (#PCDATA|%inline;)*>
<!ATTLIST fo:leader
    %common-accessibility-properties;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-font-properties;
    %common-margin-properties-inline;
    %common-relative-position-properties;
    %alignment-adjust;
    %alignment-baseline;
    %baseline-shift;
    %color;
    %dominant-baseline;
    %text-depth;
    %text-altitude;
    %id;
    %leader-alignment;
    %leader-length;
    %leader-pattern;
    %leader-pattern-width;
    %rule-style;
    %rule-thickness;
    %letter-spacing;
    %line-height;
    %line-height-shift-adjustment;
    %text-shadow;
    %visibility;
    %word-spacing;
    %z-index;>

<!ELEMENT fo:list-block
    (fo:list-item+)>
<!ATTLIST fo:list-block
    %common-accessibility-properties;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-margin-properties-block;
    %common-relative-position-properties;
    %break-after;
    %break-before;
    %id;
    %keep-together;
    %keep-with-next;
    %keep-with-previous;
    %provisional-distance-between-starts;
    %provisional-label-separation;>

<!ELEMENT fo:list-item
    (fo:list-item-label,fo:list-item-body)>
<!ATTLIST fo:list-item
    %common-accessibility-properties;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-margin-properties-block;
    %common-relative-position-properties;
    %break-after;
    %break-before;
    %id;
    %keep-together;
    %keep-with-next;
    %keep-with-previous;
    %relative-align;>

<!ELEMENT fo:list-item-body
    (%block;)+>
<!ATTLIST fo:list-item-body
    %common-accessibility-properties;
    %id;
    %keep-together;>

<!ELEMENT fo:list-item-label
    (%block;)+>
<!ATTLIST fo:list-item-label
    %common-accessibility-properties;
    %id;
    %keep-together;>

<!ELEMENT fo:marker
    (#PCDATA|%inline;|%block;)*>
<!ATTLIST fo:marker
    %marker-class-name;>

<!ELEMENT fo:multi-case
    (#PCDATA|%inline;|%block;)*>
<!ATTLIST fo:multi-case
    %common-accessibility-properties;
    %id;
    %starting-state;
    %case-name;
    %case-title;>

<!ELEMENT fo:multi-properties
    (fo:multi-property-set+,fo:wrapper)>
<!ATTLIST fo:multi-properties
    %common-accessibility-properties;
    %id;>

<!ELEMENT fo:multi-property-set
    EMPTY>
<!ATTLIST fo:multi-property-set
    %id;
    %active-state;>

<!ELEMENT fo:multi-switch
    (fo:multi-case+)>
<!ATTLIST fo:multi-switch
    %common-accessibility-properties;
    %auto-restore;
    %id;>

<!ELEMENT fo:multi-toggle
    (#PCDATA|%inline;|%block;)*>
<!ATTLIST fo:multi-toggle
    %common-accessibility-properties;
    %id;
    %switch-to;>

<!ELEMENT fo:page-number
    EMPTY>
<!ATTLIST fo:page-number
    %common-accessibility-properties;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-font-properties;
    %common-margin-properties-inline;
    %common-relative-position-properties;
    %alignment-adjust;
    %alignment-baseline;
    %baseline-shift;
    %dominant-baseline;
    %id;
    %keep-with-next;
    %keep-with-previous;
    %letter-spacing;
    %line-height;
    %line-height-shift-adjustment;
    %score-spaces;
    %text-decoration;
    %text-shadow;
    %text-transform;
    %word-spacing;>

<!ELEMENT fo:page-number-citation
    EMPTY>
<!ATTLIST fo:page-number-citation
    %common-accessibility-properties;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-font-properties;
    %common-margin-properties-inline;
    %common-relative-position-properties;
    %alignment-adjust;
    %alignment-baseline;
    %baseline-shift;
    %dominant-baseline;
    %id;
    %keep-with-next;
    %keep-with-previous;
    %letter-spacing;
    %line-height;
    %line-height-shift-adjustment;
    %ref-id;
    %score-spaces;
    %text-decoration;
    %text-shadow;
    %text-transform;
    %word-spacing;>

<!ELEMENT fo:page-sequence
    (fo:title?,fo:static-content*,fo:flow)>
<!ATTLIST fo:page-sequence
    %country;
    %format;
    %language;
    %letter-value;
    %grouping-separator;
    %grouping-size;
    %id;
    %initial-page-number;
    %force-page-count;
    %master-reference;>

<!ELEMENT fo:page-sequence-master
    (fo:single-page-master-reference|fo:repeatable-page-master-reference
    |fo:repeatable-page-master-alternatives)+>
<!ATTLIST fo:page-sequence-master
    %master-name;>

<!ELEMENT fo:region-after
    EMPTY>
<!ATTLIST fo:region-after
    %common-border-padding-and-background-properties;
    %clip;
    %display-align;
    %extent;
    %overflow;
    %precedence;
    %region-name;
    %reference-orientation;
    %writing-mode;>

<!ELEMENT fo:region-before
    EMPTY>
<!ATTLIST fo:region-before
    %common-border-padding-and-background-properties;
    %clip;
    %display-align;
    %extent;
    %overflow;
    %precedence;
    %region-name;
    %reference-orientation;
    %writing-mode;>

<!ELEMENT fo:region-body
    EMPTY>
<!ATTLIST fo:region-body
    %common-border-padding-and-background-properties;
    %common-margin-properties-block;
    %clip;
    %column-count;
    %column-gap;
    %display-align;
    %overflow;
    %region-name;
    %reference-orientation;
    %writing-mode;>

<!ELEMENT fo:region-end
    EMPTY>
<!ATTLIST fo:region-end
    %common-border-padding-and-background-properties;
    %clip;
    %display-align;
    %extent;
    %overflow;
    %region-name;
    %reference-orientation;
    %writing-mode;>

<!ELEMENT fo:region-start
    EMPTY>
<!ATTLIST fo:region-start
    %common-border-padding-and-background-properties;
    %clip;
    %display-align;
    %extent;
    %overflow;
    %region-name;
    %reference-orientation;
    %writing-mode;>

<!ELEMENT fo:repeatable-page-master-alternatives
    (fo:conditional-page-master-reference+)>
<!ATTLIST fo:repeatable-page-master-alternatives
    %maximum-repeats;>

<!ELEMENT fo:repeatable-page-master-reference
    EMPTY>
<!ATTLIST fo:repeatable-page-master-reference
    %master-reference;
    %maximum-repeats;>

<!ELEMENT fo:retrieve-marker
    EMPTY>
<!ATTLIST fo:retrieve-marker
    %retrieve-class-name;
    %retrieve-position;
    %retrieve-boundary;>

<!ELEMENT fo:root
    (fo:layout-master-set,fo:declarations?,fo:page-sequence+)>
<!ATTLIST fo:root
    xmlns:fo  CDATA #REQUIRED
    %media-usage;>

<!ELEMENT fo:simple-page-master
    (fo:region-body,fo:region-before?,fo:region-after?,fo:region-start?,
     fo:region-end?)>
<!ATTLIST fo:simple-page-master
    %common-margin-properties-block;
    %master-name;
    %page-height;
    %page-width;
    %reference-orientation;
    %writing-mode;>

<!ELEMENT fo:single-page-master-reference
    EMPTY>
<!ATTLIST fo:single-page-master-reference
    %master-reference;>

<!ELEMENT fo:static-content
    (%block;)+>
<!ATTLIST fo:static-content
    %flow-name;>

<!ELEMENT fo:table
    (fo:table-column*,fo:table-header?,fo:table-footer?,fo:table-body+)>
<!ATTLIST fo:table
    %common-accessibility-properties;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-margin-properties-block;
    %common-relative-position-properties;
    %block-progression-dimension;
    %border-after-precedence;
    %border-before-precedence;
    %border-collapse;
    %border-end-precedence;
    %border-separation;
    %border-start-precedence;
    %break-after;
    %break-before;
    %id;
    %inline-progression-dimension;
    %height;
    %keep-together;
    %keep-with-next;
    %keep-with-previous;
    %table-layout;
    %table-omit-footer-at-break;
    %table-omit-header-at-break;
    %width;
    %writing-mode;>

<!ELEMENT fo:table-and-caption
    (fo:table-caption?,fo:table)>
<!ATTLIST fo:table-and-caption
    %common-accessibility-properties;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-margin-properties-block;
    %common-relative-position-properties;
    %caption-side;
    %id;
    %keep-together;
    %keep-with-next;
    %keep-with-previous;>

<!ELEMENT fo:table-body
    (fo:table-row+|fo:table-cell+)>
<!ATTLIST fo:table-body
    %common-accessibility-properties;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-relative-position-properties;
    %id;>

<!ELEMENT fo:table-caption
    (%block;)+>
<!ATTLIST fo:table-caption
    %common-accessibility-properties;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-relative-position-properties;
    %block-progression-dimension;
    %height;
    %id;
    %inline-progression-dimension;
    %keep-together;
    %width;>

<!ELEMENT fo:table-cell
    (%block;)+>
<!ATTLIST fo:table-cell
    %common-accessibility-properties;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-relative-position-properties;
    %border-after-precedence;
    %border-before-precedence;
    %border-end-precedence;
    %border-start-precedence;
    %block-progression-dimension;
    %column-number;
    %display-align;
    %relative-align;
    %empty-cells;
    %ends-row;
    %height;
    %id;
    %number-columns-spanned;
    %number-rows-spanned;
    %starts-row;
    %width;>

<!ELEMENT fo:table-column
    EMPTY>
<!ATTLIST fo:table-column
    %common-border-padding-and-background-properties;
    %column-number;
    %column-width;
    %number-columns-repeated;
    %number-columns-spanned;
    %visibility;>

<!ELEMENT fo:table-footer
    (fo:table-row+|fo:table-cell+)>
<!ATTLIST fo:table-footer
    %common-accessibility-properties;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-relative-position-properties;
    %id;>

<!ELEMENT fo:table-header
    (fo:table-row+|fo:table-cell+)>
<!ATTLIST fo:table-header
    %common-accessibility-properties;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-relative-position-properties;
    %id;>

<!ELEMENT fo:table-row
    (fo:table-cell+)>
<!ATTLIST fo:table-row
    %common-accessibility-properties;
    %block-progression-dimension;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-relative-position-properties;
    %break-after;
    %break-before;
    %id;
    %height;
    %keep-together;
    %keep-with-next;
    %keep-with-previous;>

<!ELEMENT fo:title
    (#PCDATA|%inline;)*>
<!ATTLIST fo:title
    %common-accessibility-properties;
    %common-aural-properties;
    %common-border-padding-and-background-properties;
    %common-font-properties;
    %common-margin-properties-inline;
    %baseline-shift;
    %color;
    %line-height;
    %line-height-shift-adjustment;
    %visibility;
    %z-index;>

<!ELEMENT fo:wrapper
    (#PCDATA|%inline;|%block;)*>
<!ATTLIST fo:wrapper
    %id;>

Appunti di informatica libera 2007.02 --- Copyright © 2000-2007 Daniele Giacomini -- <daniele (ad) swlibero·org>


Dovrebbe essere possibile fare riferimento a questa pagina anche con il nome dtd_xsl_fo.htm

[successivo] [precedente] [inizio] [fine] [indice generale] [indice ridotto] [indice analitico]

Valid ISO-HTML!

CSS validator!