Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
I have one question related to DCF file.
Using ElementOption in DCF we can hide the unnecessary elements from insert list of the Arbortext Editor view. Actually it hides the element from all the places over the document (top to bottom of DTD contexts). But I would like to hide the elements based on the particular context. Not on all the places.
For ex. I would like to hide few elements from insert list (e.g. <menucascade>) under <note> but not under <p>..
How do I accomplish this? Could you please help to find the way!.
Not sure if it's possible using .dcf - Tech Support should know this.
If not possible, I'd consider making specialization or using DITA 1.2 constraints. But constraints are not supported in Arbortext yet (as far as I'm aware).
The DCF file will not support this, however, I think you should be able to write an ACL program that will.
Search help for "tag_display" and the -local option.
You will need to build a function that navigates through the document tree, or the portion of it in which you want to change the tag display behavior, and set the display for each instance of the element.
You will need to determine when you want these tags to be hidden and attach your ACL to the appropriate event.
There should be examples of each type of coding in the Editor install tree under packages or samples. Help will have some tips, too, although finding them might take a few tries to figure out where those concepts will be discussed.
Finally, consider joining the Adepters mailing list. It is a great community of Arbortext users, admins, and developers. They are "awake" and helpful 24 hours a day. Subscription info (and references to lots of great Arbortext resources) can be found here:
http://www.single-sourcing.com/company/community.html
Good luck!