A style guide for DocBook XML that I must adhere to states "Content within elements should be indented by two spaces if the content runs over more than one line." They give this example.
<para>See the <link linkend="gmirror-troubleshooting">Troubleshooting</link> section if there are problems booting. Powering down and disconnecting the original <filename>ada0</filename> disk will allow it to be kept as an offline backup.</para> <para>It is also possible to journal the boot disk of a &os; system. Refer to the article <link xlink:href="&url.articles.gjournal-desktop;">Implementing UFS Journaling on a Desktop PC</link> for detailed instructions.</para>
They also state that,
Tags containing long attributes follow the same rules. See the
linkendelement of the
None of the customizable
nxml-mode variables seem to help. In fact, some of the docstrings describe the opposite behaviour.
This only applies when the line or lines containing the start-tag contains nothing else other than that start-tag.
Indentation for the attributes of an element relative to the start-tag.
I think I prefer keeping opening an closing tags on separate lines like
nxml-mode promotes. Unfortunately the guide specifically prohibits some "straggling" tags (tags on their own line).
Am I out of luck conforming to this style guide with