attribute_translation.txt

[xml]
<q id="t12">Foo</q>

(xml-tag-q
:xml-element (q Foo)
:xml-attributes (set ( property :name id :value t12 )))
[/xml]