|
|
|
|
Table of contents
Structured and unstructured FrameMaker |
EntitiesIn XML, an entity is a placeholder. Entities can be placeholders for text; system entities are references to external files. Entities are most often used for three different types of information:
When working with FrameMaker, each of these entity types is handled differently. GraphicsFrameMaker uses an object element for referenced graphics. When you export to XML, the graphic element contains a reference to an entity name in an attribute, as shown in the following example (attributes other than entity have been truncated, as indicated by the ellipsis):
At the top of the XML output file, you will find a definition for the entity:
This type of entity is an unparsed entity reference. The entity is unparsed because when the content is displayed as XML, the entity name is not replaced with the entity definition itself. XML fragmentsYou can use entities to refer to external files that are parsed. In this case, you reference the entity in your main XML flow, as shown here:
At the top of the XML file, you will find an entity definition for ch1:
When you export a structured book from FrameMaker to XML, the default handling is to create a system entity for each file in the book. On import from XML, entities are not used to generate book component files. Instead, you must specify which elements will start new files in the read/write rules:
You can also use processing instructions to specify where to begin a new file and what file name to use.
Next page:
Copyright © 2008 Scriptorium Publishing Services, Inc. All rights reserved. |