return NULL for last child when there are no childtags;