added method for retrieving element slug for xml output
added method for retrieving element slug for xml output