quantity units are now output as an attribute rather than a separate tag