Adobe 65030365 Developer's Guide - Page 114
Optional Write additional structure rules to specify initial contents or tagging
UPC - 883919170923
View all Adobe 65030365 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 114 highlights
8 Writing element definitions If you do not specify a general rule, FrameMaker gives the element a default general rule that depends on the element's type. To use a default rule, leave the GeneralRule element empty (but do not delete GeneralRule or the definition will be invalid). These are the default general rules: Element type Container Table Table heading, body, or footing Table row Footnote, table title, or table cell Default general rule TITLE?, HEADING?, BODY, FOOTING? ROW+ CELL+ For information on the syntax and restrictions of general rules, see "Writing an EDD general rule" on page 111. 5. (Optional) Define other content rules as necessary. Every structured flow in a document needs one highest-level container element. If the element you're defining is a container, you can insert a ValidHighestLevel child element to allow the element to be at the highest level. For more information, see "Specifying validity at the highest level in a flow" on page 116. SGML, only: For a container, table, table part, or footnote, you can define inclusions and exclusions. An inclusion is an element that can occur anywhere inside the defined element or its descendants, and an exclusion is an element that cannot occur anywhere in the element or its descendants. For each element you want to include or exclude, insert an Inclusion or Exclusion element and type the element tag. For more information, see "Adding inclusions and exclusions" on page 116. 6. (Optional) Write additional structure rules to specify initial contents or tagging for new instances of the element. For a container, you can define nested descendants that will appear automatically with the element in a document. Insert an AutoInsertions element, and for the first child insert an InsertChild element and type the element tag. Then for each nested descendant, insert an InsertNestedChild element and type the tag. For more information, see "Inserting descendants automatically in containers" on page 119. For a table, heading, body, footing, or row, you can define element tags that will be used in row or cell elements in the table or table part. Insert an InitialStructurePattern element, and then type the tags of the child elements, separated by commas. For more information, see "Inserting table parts automatically in tables" on page 120. 7. (Optional) Write attribute definitions to define attributes that can store additional information about instances of the element. Developing an Element Definition Document (EDD) 96