Modified to support quoted attribute names.