OK, have some legacy DCRs that place values in the XML attributes. I am afraid there is no FormAPI way to get the data from the XML and I need to use some JS parsing. Am I missing something?
Data looks like
<root>
<some-node attr-1="0" another="this" and="that"/>
</root>
How can I get the attribute another from node /root/some-node ?