Adobe 65030365 Developer's Guide - Page 65
Mapping FrameMaker elements to HTML elements, is the name of the attribute
UPC - 883919170923
View all Adobe 65030365 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 65 highlights
6 Creating a FrameMaker template When setting up an application, you should set up the mapping to HTML in advance so your users don't need to do that work. After you build a template, you can use the process described in the FrameMaker user's guide to set up the HTML mapping for it. The mapping information will be stored on the HTML reference page of your template. You can also associate HTML mapping with an EDD. To do this, create a reference page in your EDD named EDD_HTML. Then copy the mapping information from the HTML reference page of your template to the EDD_HTML reference page. If your EDD includes the ImportHTMLMapping element, then the mapping information will be copied to any document that imports your EDD. For more information about including mapping information with an EDD, see "Specifying whether to transfer HTML mapping tables" on page 89 Mapping FrameMaker elements to HTML elements You specify how to map FrameMaker elements and attributes to HTML elements in the HTML Mapping table on the HTML reference page. For example, in the following table, Section elements map to HTML , and Head elements map to HTML through : FrameMaker Source Item HTML Item Element E:Section Div E:Head H* E:List Ol E:ListItem Li A:Description alt New Web Page? 1,2,3 Include Comments Auto#? N Y N N In the above example, the following syntax is used to specify FrameMaker elements and attributes in the column titled FrameMaker Source Item: •E:elementname, where elementname is the name of the element •A:attributename, where attributename is the name of the attribute Note the following points when mapping a structured document to HTML: • In unstructured documents, there is a Headings reference page which maps specific paragraph formats to HTML headings, and assigns a hierarchy to them. In a structured document there is no need for the Headings reference page. You map FrameMaker elements to HTML headings in the Mapping table. The hierarchy is determined by the context of the FrameMaker element, just as context can determine the formatting of a FrameMaker element. • The document can be divided into separate web pages at certain levels of hierarchy. In the above example, HTML export will create a new web page for every section of a level 1, 2, or 3. Structure Application Developer's Guide 47