Refactor with trait XMLHelper and implicit node. Fix basic.lab02.