Way to use hypens when creating xml tags

Hi,

I am trying to create some XML in the xliff format. I need to create
some tags like:

the following code in an rxml template:


xml.trans-unit( … ) do

end

is causing the following error:

undefined method `unit’ for #<#<…

Is there another way to do this?

Thanks in advance,
dezza