I have have been casually following all this XML stuff since I can't thik of a reason for me to use it yet, so I may be off.

But, shouldn't it be...

$parent = $xml.CreateElement("parent")

$child = $parent.CreateElement("child")
_________________________
Kelly