I have a xml:
<?xml version="1.0" encoding="utf-8"?>
<root>
<contents>
<content code="1234">Test value</content>
</contents>
</root>
and try to reference it in the template
<<[contents.first().content.code]>>
i can get attr “code”,but how to get content.innerText ?