First off, a major THANKS for your module. It is super useful!
<StandardBusinessDocument
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader">
Running this through:
const formattedXml = pd.xml(xmlOut);
console.log(formattedXml);
Gives:
<StandardBusinessDocument
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader">
This might not be against XML specifications per se but it is not very "pretty"....
First off, a major THANKS for your module. It is super useful!
Running this through:
Gives:
This might not be against XML specifications per se but it is not very "pretty"....