Format XML on save in grid view
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 3
- Joined: Fri Feb 16, 2018 3:10 am
Format XML on save in grid view
Post by mochabubblet »
I am having trouble with formatting while using grid mode. I have set the Editor>Format>XML settings the way I like it.
However, whenever I make changes and save while viewing in grid mode it completely ignores these settings and formats it incorrectly.
Is there a way to automatically apply these formatting settings while saving? It is a huge pain to format and indent tool EVERY time I want to make a change.

Example: Expand empty elements is ignored when saving in grid mode and will actually UNDO expanded empty elements.
However, whenever I make changes and save while viewing in grid mode it completely ignores these settings and formats it incorrectly.
Is there a way to automatically apply these formatting settings while saving? It is a huge pain to format and indent tool EVERY time I want to make a change.

Example: Expand empty elements is ignored when saving in grid mode and will actually UNDO expanded empty elements.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Format XML on save in grid view
Hi,
There is a preferences page specific for the Grid editing mode: Editor / Edit Modes / Grid which has a checkbox to fully format and indent the document on save or on page switch.
Regards,
Radu
There is a preferences page specific for the Grid editing mode: Editor / Edit Modes / Grid which has a checkbox to fully format and indent the document on save or on page switch.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 3
- Joined: Fri Feb 16, 2018 3:10 am
Re: Format XML on save in grid view
Post by mochabubblet »
Welp, thank you so much. This makes me very happy!
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service