On Fri, 7 Dec 2001, Sébastien Le Fustec wrote: > Date: Fri, 7 Dec 2001 15:36:38 +0100 > From: Sébastien Le Fustec <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: struts-user <[EMAIL PROTECTED]>, > struts dev <[EMAIL PROTECTED]> > Subject: Disassemble Xml File > > Hello, > > We would like to disassemble xml file (like Validation.xml, or > struts-config.xml) in > multiple Xml file we include through Xml tags in the validation file. > It is possible ? >
One approach would be to parse the file in exactly the same way that Struts does, using the "Digester" component. Look at the source code for ActionServlet, in particular the initDigester() method. > Sincerly, > Sebastien Le Fustec > Craig McClanahan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>