${XML} set variable <example>
<first id="1">text</first>
<second id="2">
<child/>
</second>
<third>
<child>more text</child>
<second id="child"/>
<child><grandchild/></child>
</third>
<html>
<p>
Text with <b>bold</b> and <i>italics</i>.
</p>
</html>
</example>
${text} = Get Element Text ${XML} first
Should Be Equal ${text} text
Set Element Text ${XML} text1 xpath=first
${text1} = Get Element Text ${XML} first
should not be equal ${text} ${text1}
${root} = Parse XML ${XML}
${text} = Get Element Text ${root} first
Should Be Equal ${text} text
Set Element Text ${root} text1 xpath=first
${text1} = Get Element Text ${root} first
should not be equal ${text} ${text1}
```
так работает