* return the whole dict instead of just the attribute's name * fix xpath for attributes of simple types