Sorry but I can't get it to work on one-line xml files since the .XML property of each node contains all the xml below it.