Fixed but in phpToXml for attributes
Added initial get_list  support