body.dtd • Dtd del Testo Ricco


Il sorgente contiene il dtd dei testi SGML. In pratica si tratta del contenuto mixed di tipo testuale.

Vengono definiti:

  • body.mini - testo ricco limitato
  • body.full - testo ricco completo

Si veda BODY -- Markup del Rich text.


Codice

<!--================ Character mnemonic entities ==========================-->
<!--
<!ENTITY % ar.output.TEX  "IGNORE">
<!ENTITY % ar.output.HTML "IGNORE">
<![ %ar.output.HTML; [
    <!ENTITY % ARLat1 SYSTEM "..\ar\ARLat1H.ent" >
  ]]>
<![ %ar.output.TEX; [
    <!ENTITY % ARLat1 SYSTEM "..\ar\ARLat1T.ent" >
  ]]>
-->
<!ENTITY % ARLat1 SYSTEM "..\ar\ARLat1.ent" >
%ARLat1;

<!-- ================ Entities for special symbols ========================= -->
<!-- &trade and &cbsp are not widely deployed and so not included here -->

<!--ENTITY quot   CDATA "&#34;"    quotation mark    -->
<!--ENTITY amp    CDATA "&#38;"    ampersand         -->
<!--ENTITY gt     CDATA "&#62;"    greater than      -->
<!--ENTITY lt     CDATA "&#60;"    less than         -->
<!--=================== Text Markup =======================================-->

<!ENTITY % URL "CDATA"
        -- The term URL means a CDATA attribute
           whose value is a Uniform Resource Locator,
           See RFC1808 (June 95) and RFC1738 (Dec 94).
        -->
<!ENTITY % puretext "#PCDATA">

<!ENTITY % target "TRG">

<!ENTITY % break  "BR">

<!ENTITY % tabspace "TAB">

<!ENTITY % basetext "(%break | %tabspace | %target | %puretext)*">

<!ENTITY % font "CODE | I | B  | U | SMALL | SUB | SUP | CITE">

<!ENTITY % fonttext "(%basetext | %font)*">

<!ELEMENT (%font) - - (%fonttext)>

<!ENTITY % special "LNK">

<!ENTITY % inmath "FORMULA | EQUATION">

<!ENTITY % inclusion "URL | FILE | IMG | NOTE">

<!ENTITY % text "(%fonttext | %special | %inmath | %inclusion)*">



<!ELEMENT BR    - O EMPTY    -- forced line break -->
<!ATTLIST BR
        clear (left|all|right|none|page) none -- control of text flow --
        >
<!ELEMENT TAB   - O EMPTY    -- forced horrizontal space -->

<!--================== Body content models ================================-->

<!ENTITY % heading "H1|H2|H3|H4|H5|H6">

<!ENTITY % preformatted "PRE">

<!ENTITY % blockquote "BLOCKQUOTE">

<!ENTITY % blockseparator "HR">

<!ENTITY % table "TABLE">

<!ENTITY % paragraph "P">

<!ENTITY % math "MATH">

<!ENTITY % list "UL | OL">

<!-- ENTITY % textblock "(%text | %paragraph | %list | %math)*"-->
<!ENTITY % textblock "(%paragraph | %list | %math)*">


<!--=================== Document Body =====================================-->

<!ENTITY % body.mini    "%textblock">

<!ENTITY % body.full.nh "(%preformatted | %blockquote | %table | DL | IMPORT | %textblock)*">

<!ENTITY % body.full    "(%heading | %preformatted | %blockquote | %blockseparator | %table | DL | IMPORT | %textblock)*">

<!--=================== The AR Link =======================================-->

<!ELEMENT TRG - - (%puretext)>
<!ATTLIST TRG
        id     CDATA   #IMPLIED    -- named link end --
        >

<!ELEMENT LNK - - (%puretext)>
<!ATTLIST LNK
        dcl    CDATA   #IMPLIED    -- document class --
        name   CDATA   #IMPLIED    -- document name  --
        ver    NUMBER  1           -- document version: 1 is the default --
        id     CDATA   #IMPLIED    -- named link end --
        >

<!--=================== Images ============================================-->

<!ENTITY % Length "CDATA"   -- nn for pixels or nn% for percentage length -->
<!ENTITY % Pixels "NUMBER"  -- integer representing length in pixels -->

<!-- Suggested widths are used for negotiating image size
     with the module responsible for painting the image.
     align=left or right cause image to float to margin
     and for subsequent text to wrap around image -->

<!ENTITY % IAlign "(top|middle|bottom|left|right)">

<!ELEMENT IMG    - - (%puretext) --  Embedded image -->
<!ATTLIST IMG
        src     %URL                #REQUIRED   -- URL of image to embed --
        href    %URL                #IMPLIED    -- URL for linked resource --
        align   (left|center|
                 right|float)       #IMPLIED    -- alignment                  --
        height  %Pixels             #IMPLIED    -- suggested height in pixels --
        width   %Pixels             #IMPLIED    -- suggested width in pixels --
        >

<!--=================== The AR Attached File ==============================-->

<!ELEMENT FILE   - - (%puretext) --  Attached File -->
<!ATTLIST FILE
        src     %URL     #REQUIRED  -- URL of file to attach --
        >

<!--=================== The AR Url ==============================-->

<!ELEMENT URL    - - (%puretext) --  Url -->
<!ATTLIST URL
        src     %URL     #REQUIRED  -- URL to attach --
        >

<!--=================== The AR Foot note ==============================-->

<!ELEMENT NOTE  - - (%textblock) -(NOTE) --  Foot note -->


<!--=================== Horizontal Rule ===================================-->

<!ELEMENT HR    - O EMPTY>
<!ATTLIST HR
        align (left|right|center) #IMPLIED
        noshade (noshade) #IMPLIED
        size  %Pixels #IMPLIED
        width %Length #IMPLIED
        >

<!--=================== Paragraphs =========================================-->

<!ELEMENT P     - O (%text)>
<!ATTLIST P
        align  (left|center|right) left
        indent NUMBER 0
        >

<!--=================== Math =========================================-->

<!ELEMENT FORMULA  - - (%break | %puretext)*>

<!ELEMENT EQUATION - - (%break | %puretext)*>

<!ELEMENT MATH     - - (%break | %puretext)*>

<!--=================== Headings ==========================================-->

<!--
  There are six levels of headers from H1 (the most important)
  to H6 (the least important).
-->

<!ELEMENT ( %heading )  - -  (%puretext)>

<!--=================== Preformatted Text =================================-->

<!-- excludes images and changes in font size -->

<!--ENTITY % pre.exclusion "FILE|IMG|SMALL|SUB|SUP"-->

<!ELEMENT PRE - - (%puretext)>

<!--=================== Block-like Quotes =================================-->

<!ELEMENT BLOCKQUOTE - - (%textblock)>


<!--=================== IMPORT BLOCKS =====================================-->
<!ELEMENT IMPORT - -  (%puretext)>
<!ATTLIST IMPORT
        doclist      CDATA   #IMPLIED
        catlist      CDATA   #IMPLIED
        decldclname  CDATA   #IMPLIED
        decltypename CDATA   #IMPLIED
        declflags    CDATA   #IMPLIED
        >

<!--=================== Lists =============================================-->

<!--
    HTML 3.2 allows you to control the sequence number for ordered lists.
    You can set the sequence number with the START and VALUE attributes.
    The TYPE attribute may be used to specify the rendering of ordered
    and unordered lists.
-->

<!-- definition lists - DT for term, DD for its definition -->

<!ELEMENT DL - -  (DT,DD)+>
<!ELEMENT DT - O  (%puretext)>
<!ELEMENT DD - O  (%text)>

<!-- Ordered lists OL, and unordered lists UL -->
<!ELEMENT (OL|UL) - -  (LI,(%list|LI)*)>

<!ENTITY % OLStyle "CDATA" -- constrained to: [1|a|A|i|I] -->

<!ATTLIST OL -- ordered lists --
        type %OLStyle #IMPLIED -- numbering style --
        start NUMBER  #IMPLIED -- starting sequence number --
        >

<!-- The type attribute can be used to change the bullet style
     in unordered lists and the numbering style in ordered lists -->

<!ELEMENT LI - O  (%text) -- list item -->

<!--======================= Tables ========================================-->

<!-- Widely deployed subset of the full table standard, see RFC 1942
     e.g. at http://www.ics.uci.edu/pub/ietf/html/rfc1942.txt -->

<!-- Border Type for the Table -->
<!ENTITY % btype "(none|all|outside|titles|outsidetitles|verticaloutsidetitles)">

<!-- Fit Type for the Table -->
<!ENTITY % ftype "(small|medium|large|xlarge|xxlarge)">

<!-- Row Type for the Table -->
<!ENTITY % rtype "(normal|head|prototype)">

<!-- horizontal placement of table relative to window -->
<!ENTITY % Where "(left|center|right)">

<!-- horizontal alignment attributes for cell contents -->
<!ENTITY % cell.halign
        "align  (left|center|right) left"
        >

<!-- vertical alignment attributes for cell contents -->
<!ENTITY % cell.valign
        "valign  (top|middle|bottom)  top"
        >

<!ELEMENT TABLE - - (TR+)>
<!ELEMENT TR - - (TD|TH)*>
<!ELEMENT (TD|TH) - O (%textblock)>

<!ATTLIST TABLE                                     -- table element                    --
        caption   CDATA     #IMPLIED                -- Table Caption                    --
        nrows     NUMBER    #IMPLIED                -- Number of Rows                   --
        ncols     NUMBER    #IMPLIED                -- Number of Columns                --
        keep      (yes|no)  no                      -- Keep on one page                 --
        border    %btype;   verticaloutsidetitles   -- table border type                --
        fit       %ftype;   medium                  -- fit table                        --
        >

<!ATTLIST TR                            -- table row                        --
        type      %rtype;   normal      -- Row Type (head, prototype)       --
        >

<!ATTLIST (TD|TH)                       -- header or data cell              --
        colspan NUMBER    1             -- number of cols spanned by cell   --
        %cell.halign;                   -- horizontal alignment in cell     --
        %cell.valign;                   -- vertical alignment in cell       --
        >
daf.body.dtd • LastModified: 01-05-1999 • John Peter Arnold