Setting attribute values for topicref

Hi, I am using the Ditamap framework and I would like to set default values for the "type" and "scope" attribute using the Action ID "insert.topicref". However, this action does not seem to be accepting any arguments. Is there a reason for this? Thanks, Nathan

Hello, I think the reason is that the possible values for "type" and "scope" also depend on what you are referring in the presented dialog. What you can do is use an AuthorDocumentFilter to post process the inserted topic ref and set values for those attributes if they are not present. Best regards, Alex -- Alex Jitianu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 07-May-14 3:57 AM, Nathan wrote:
Hi, I am using the Ditamap framework and I would like to set default values for the "type" and "scope" attribute using the Action ID "insert.topicref". However, this action does not seem to be accepting any arguments. Is there a reason for this?
Thanks, Nathan
_______________________________________________ oXygen-sdk mailing list oXygen-sdk@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-sdk
participants (2)
-
Alex Jitianu
-
Nathan