xml.tag! 'latest-id', "latest ID with hiphen."
I have tried to fix dash or hiphen in xml to do this.
xml.send("latest-id") "latest ID With hiphen"
For more reference to go this link xml with hiphen