mi pare che sia:

codice:

attribuot=xml.getElementsByTagName("prodotto").attributes.state
o almeno in flash è così