Retain Dynamic HTML Effects > Drop Down Caption and Drop Down Body in FrameMaker XML Structured Application
Hi-
I am building a structured application in FrameMaker 12 for DITA 1.2 xml.
When I insert Dynamic HTML Effects > Drop Down Caption and Drop Down Body on elements in the xml, the dropdowns appear correctly in the help output. But after I close the xml file, reopen it, and create output, the dropdowns do not work.The code does not retain.
Is there a read/write rule I can add to the rules file to retain the dropdowncaption and body?
Because I couldn't find a rule on my own, I attempted the following workaround:
- In the template file, I added the DropDownCaption and DropDownBody paragraph tags as they are added to the document when you create the dropdowns.
- In the EDD/DTD, I added code on elements (such as p and note) to use platform attribute for the dropdown tags.
If context is: [platform = "dropdowncaption"]
Use paragraph format: DropDownCaption
Else, if context is: [platform = "dropdownbody"]
Use paragraph format: DropDownBody
Using this workaround on the platform attribute and the paragraph tags works and retains for the p element. The note element also appears in the dropdown, but the formatting is replaced by the paragraph tag formatting making the word NOTE look odd.
The problem is that table, fig, ol, and ul will not work with this method. I would like them to appear within a dropdown, too.
Does anyone have any ideas?
I hope there is a read/write rule that can be used, but I am open to other options.
Thanks-
Stephanie
