Page 1 of 1

make some scrips/buttons/macos to search and replace

Posted: Wed Jan 24, 2024 8:52 pm
by Thebonden
hi, I use oxygen xml 24.1 to convert to xml from docx as I am making braille, I would love to make some scrips/buttons/macos to search and replace div spical characters and group of characters mosque also with rules e.g. if there are numbers only after full of + and then spaces or other combinations, who has a place with video or guides for such functions

I would really like to make it easy as I will sometimes get 20 documents a day and that is a lot of different combinations

Re: make some scrips/buttons/macos to search and replace

Posted: Thu Jan 25, 2024 7:58 am
by Radu
Hi,
Our free Batch Documents Converter add-on has capabilities to convert MS Word documents to HTML, DITA XML or DocBook XML documents:
https://www.oxygenxml.com/doc/versions/ ... addon.html
Are you using it right now or did you create your own XSLT stylesheets which get applied on the MS Word document.xml file?

In general to automate various refactoring actions in Oxygen I would suggest using our XML Refactoring capabilities:
https://www.oxygenxml.com/doc/ug-editor ... ments.html
We have a bunch of already defined XML refactoring actions in the Oxygen Tools->"XML Refactoring" dialog and you can create your own XML refactoring actions based on XSLT or XQuery, like the example XML refactoring actions we offer here:
https://github.com/oxygenxml/dita-refactoring-examples

Regards,
Radu