I am using XML node to make XML file from JSON input.
If i make this JSON:
{
"Label": {
"$": {
"Key": "Unique1"
},
"_": "Test"
}
}
I get this XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Label Key="Unique1">Test</Label>
But i am wondering how to write the JSON to get this XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Label Key="Unique1">Test</Label>
<Label Key="Unique2">Test2</Label>
<Label Key="Unique3">Test3</Label>
I am always getting DuplicateKeyWarning in JSON editor in Node red and do not know how to write it correctly. Thanks for help.