part of framework, insertXinNode finished
coding, without test