> So why didn't it print <level3 xmlns=""> just like <level2> then? Because namespaces are inherited. <level3> already had the xmlns="" inherited from the <level2>. No point in redefining it. -bob