Added methods for obtaining the attribute strings for a given set of nodes