Oxygen formatting settings
Posted: Mon Jul 03, 2023 4:10 pm
Hello, within the oxygen formatting settings I wish to auto add a newline before an attribute of a specific name on format.
I go to Preferences > Editor > Format > XML > Line break
I then add an option similar to the following
//TagName/@attributeName
And tick the Before option and untick the After option. This XPath correctly identifies those attributes when using the XPath/XQUERY Builder view. Though on format no newline is added.
Is there something I'm doing wrong.
Thanks in advance
I go to Preferences > Editor > Format > XML > Line break
I then add an option similar to the following
//TagName/@attributeName
And tick the Before option and untick the After option. This XPath correctly identifies those attributes when using the XPath/XQUERY Builder view. Though on format no newline is added.
Is there something I'm doing wrong.
Thanks in advance