Lonnie Princehouse wrote: > Oops, I missed a bracket... that should read: > > testxml = '<xml version="1.0" ?><foo></foo>' > > But it still crashes ;-) Maybe missing a question mark still too? <?xml version="1.0"?> (It's like a processing instruction, not an element.) -Peter