also causes problems with indentation

if uses the ‘indent’ option of the .net xslt engine, this often causes the document not to validate, because the schema doesn’t allow whitespace in the content of an empty element, but the indenter generates xml like this

<add key="name" value="value">
</add>

and the whitespace is not stripped during input, since there are no contained elements.

Reply

The content of this field is kept private and will not be shown publicly.