[libvirt] xml style?

When writing an attribute in xml, which style is preferred?
<element attr='single'/>
<element attr="double"/>

We are currently rather split-brain in libvirt, among three general
areas: test programs under tests/*data/*, documentation under
docs/*.html.in, and RNG schemas under docs/schemas/*. In all cases,
both styles are present, but in different proportions: