use childNode function.