refactoring XML property selection to be more readable. Added a reference for XML work technet blog