I know that in your XML attributes you can have new lines. But can you put each attribute on its own line?
<maritalStatusCode code="M" displayName="Married" codeSystem="2.16.840.1.113883.5.2" codeSystemName="MaritalStatusCode"/>
In Sublime, it appears as a non-closing tag . And when I try to parse it with something like jsdom, it breaks too. I tried this but have not yet found a definitive answer. If necessary, I can provide additional information about the document. I am not very good at all the intricacies of XML, so I may not have missed the relevant information.
source share