xmlToNode works