I bet that's because you're DOM has more than one Text node (that's a bug the DOM should be "normalized" when you get it out of the parser)... try adding: elementRoot.normalize(); right after you set elementRoot. -- Arnaud Le Hors - IBM Cupertino, XML Strategy Group
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
