Because dom4j uses a namespace aware parser, you will need to map the prefix to a namespace-uri.
<test:page xmlns:test="http://www.test.com/"> <child id='1'>James</child> </test:page> Regards, Edwin -- http://www.edankert.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user