You would have to implement your own version of the DocumentFactory (+element, node, etc..) and set the "org.dom4j.factory" system property to point to your version of the DocumentFactory.
System.setProperty( "org.dom4j.factory", "com.test.MyDocumentFactory"); That should do the trick. Regards, Edwin ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user