[oXygen-user] macro to insert element
Radu Coravu
Thu Mar 30 00:04:23 CST 2006
Dear Shawn,
Of course you can.
Just go to the Options menu->Preferences->Editor->Code templates and add
a new template.
The template name will be the trigger (writing part of the name and then
hitting Ctrl-Space will expand the template in the editor) and you'll
have to associate the template with the right editor (XML Editor
probably in your case).
Maybe this short movie would help:
http://www.oxygenxml.com/demo/codeTemplates/codeTemplates.html
Regards, Radu.
--
Radu Coravu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Shawn McKenzie wrote:
I am wondering if it is possible to define macros to insert elements.
For instance, I would like to be able to have authors easily insert
something like <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.
Any way to automate this with oXygen?
_______________________________________________
oXygen-user mailing list
http://www.
More information about the oXygen-user
mailing list