From: Donnie H. <do...@ha...> - 2002-03-23 17:37:55
|
> > If I was redoing this from scratch I would take a close look > at using JAXB or something similar for parsing the mapping > file. > FWIW, the Jakarta Commons "Digester" project might be very appropriate for this kind of XML-file parsing. You create a digester, give it the rules it should follow when it encounters elements of various types, and then tell it to go. At the end, you have an object graph representing the XML. Tomcat and Struts use it to parse their config files. FWIW... Donnie |