Replaced getAttributeValue() with getChildAttribute()