Come faccio a parsare un file xml con php qualdo il valore che mi serve è utilizzato come attributo del tag?

tipo:

<category term="abc" />