That totaly depends on what your code is doing. Here is my personal rule of thumb. If I don't need random access to the XML or if memory use is prohibitive use SAX, for everything else use dom4j.
Dane Foster Equity Technology Group, Inc http://www.equitytg.com. 954.360.9800 ----- Original Message ----- From: "Brain, Jim" <[EMAIL PROTECTED]> To: "DOM4J Mailing List (E-mail)" <[EMAIL PROTECTED]> Sent: Monday, November 12, 2001 3:32 PM Subject: [dom4j-user] SAX vs DOM4J Has anyone done any benchmarking of SAX (Xerces or Aelfred) versus DOM4J? I know DOM is slower, but I like the ease of DOM4J. Is rewriting my code (for performance) into SAX going to save me all that much? Jim Jim Brain, [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> "Researching tomorrow's decisions today." (319) 369-2070 (work) Systems Architect, Individual ITS, Life Investors Insurance Company of America _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user
