Adobe 65030365 Developer's Guide - Page 362
Child of OutputTextPi, FrameMaker outputs, hidden conditional text, Processing instructions
UPC - 883919170923
View all Adobe 65030365 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 362 highlights
23 Modifications to the default translation permit multiple Title elements in your DTD. If you expect only one Title to be shown at a time, the EDD can still permit only a single Title. The use of slightly different models in FrameMaker and XML allows FrameMaker documents to be validated prior to publishing to confirm that the show/hide settings produce a document that conforms to the permitted structure. At the same time, it supports export of hidden conditional text to valid XML. On import to FrameMaker When FrameMaker opens an XML document containing processing instructions for conditional text, it sets condition settings according to the encountered processing instructions. If multiple processing instructions refer to the same condition tag, FrameMaker uses the first definition. If opening the XML document creates a FrameMaker book, FrameMaker uses the first processing instruction for each condition tag after the start-tag for each book component. Thus, a condition tag can have different condition settings in different book components. If you import an XML document into an existing FrameMaker document, condition settings in the FrameMaker document have priority over any defined in the imported XML document. In particular, when creating an XML text inset, FrameMaker ignores any processing instructions for existing condition tags but defines new condition tags for other processing instructions. FrameMaker applies the condition tags specified in and to the indicated content. Modifications to the default translation When FrameMaker imports an XML document, it interprets all conditional text processing instructions it encounters. For export, you can control: • Whether hidden conditional text is exported • Whether processing instructions delimit conditional text, that is, whether and processing instructions are written You control these options in the application definition in structapps.fm or another application definition file rather than with read/write rules. Add a ConditionalText child to the XMLApplication element for the application you are using. Place a single child, OutputTextPI in this element. Then add one of the four children listed in the following table to the OutputTextPI element: Child of OutputTextPi FrameMaker outputs hidden conditional text OutputAllTextWithPIs yes OutputAllTextWithoutPIs yes OutputVisibleTextWithPIs no OutputVisibleTextWithoutPIs no Processing instructions delimit conditional text yes no yes no Translating Conditional Text 344