Simply macro command to add attributes to an element
Posted: Thu May 25, 2017 11:34 am
I'm migrating to using Oxygen from Arbortext. Arbortext has the macro recorder, which I often used to do the following:
i) to insert elements such as <keyword conref="../common/vars.xml#prod"/> all at once without them having to insert the element, insert the attribute and then type the value of the attribute.
ii) to add multiple attributes (e.g. rev="pj44596" otherprops="pj44596on") to an existing tag element all at once.
I know that Oxygen offers code templates to automate some operations. They work well in the first case (inserting elements). However, it seems that they cannot be used to add attributes. Is there any simple way to add attributes at one go?
i) to insert elements such as <keyword conref="../common/vars.xml#prod"/> all at once without them having to insert the element, insert the attribute and then type the value of the attribute.
ii) to add multiple attributes (e.g. rev="pj44596" otherprops="pj44596on") to an existing tag element all at once.
I know that Oxygen offers code templates to automate some operations. They work well in the first case (inserting elements). However, it seems that they cannot be used to add attributes. Is there any simple way to add attributes at one go?