Page 1 of 1

Enabling formatting from command line

Posted: Mon Oct 14, 2019 3:16 pm
by jakubsimek
Hi,

Would it please be possible to provide the wonderfully configurable formatting features (with options like "preserve empty lines", "sort attributes" etc. which are available in oXygen) for command line scripting?

The background of my question is the need of including such specific formatting actions as a step which could be run by p:exec in a XProc pipeline.

Best wishes,
Jakub

Re: Enabling formatting from command line

Posted: Tue Oct 15, 2019 8:12 am
by Radu
Dear Jakub,

Unfortunately we do not have a command line for format and indent in Oxygen XML Editor. I added an internal issue based on your request and if we implement it in a future version we'll update this forum thread.

Regards,
Radu

Re: Enabling formatting from command line

Posted: Mon Jan 20, 2020 1:49 pm
by zuza
Hi,

I am also interested in format + indent from the command line.

Thanks

Ozana

Re: Enabling formatting from command line

Posted: Mon Jan 20, 2020 2:47 pm
by Radu
Hi Ozana,

Sure, I will add a +1 on the internal issue. But if/when the command line will be available it will require a separate commercial license to be bought.

Regards,
Radu

Re: Enabling formatting from command line

Posted: Tue Oct 19, 2021 9:25 am
by Radu
Hi,

As an update Oxygen 24 was released and it added support for format and indent from the command line based on a scripting commercial license:

https://www.oxygenxml.com/doc/versions/ ... files.html

Regards,
Radu