Resolved issue decoding XML attributes.
Refactored attribute handling for XML decoding.