Editor Macro Support

Are you missing a feature? Request it's implementation here.
Posts: 37
Joined: Wed Jun 19, 2013 1:49 am

Editor Macro Support

Post by cjboorman » Tue Sep 20, 2016 2:51 am

I'm migrating from Microsoft Word to oxygen XML Editor. I'm accustomed to creating small macros (in Visual Basic for Applications) to help me accomplish large amounts of work in a short period of time. I'm currently building a large DITA map (and creating hundreds of DITA topics) by cutting and pasting content from a very large Word document. I've found that creating tables really slows me down. When I copy a table, I have to use the XML code editor to customize the table properties (e.g., frame="all" rowsep="1" colsep="1", and adding the <thead> element). I would like to write a macro that searches through the XML content and finds & replaces these elements and attributes - to make tables match what oxygen would have created if I'd used "Insert Table". Does oXygen XML Editor support this kind of automation?

Posts: 7032
Joined: Fri Jul 09, 2004 5:18 pm

Re: Editor Macro Support

Post by Radu » Tue Sep 20, 2016 9:52 am


If your refactor is more complex and cannot be fone using the Find/Replace in Files tool we have a feature called XML Refactor which allows you to apply a small XQuery or XSLT refactor script either on an XML document or on a collection of XML documents:

https://www.oxygenxml.com/doc/versions/ ... nts-1.html

Radu Coravu
<oXygen/> XML Editor

Post Reply