resolve attribute names & values