> Thanks, that solved my problems. But wouldn't it be more > plausible if JDOM didn't add xmlns="" to elements without a > namespace prefix? If it didn't add that declaration, the serialized XML would put the element in a different namespace from the one you created it in. Michael Kay http://www.saxonica.com/