Iterated on XML elements as per feedback from state review.
Correct prev. commit syntax error.