JAXB or XPath. AFAICT all you're trying to do is bind XML to Java. I don't know what a "generic schema" would be; that doesn't really make any sense.
--- "Zhang, Larry (L.)" <[EMAIL PROTECTED]> wrote: > What your suggesting is close to what I am trying to > do. Do you have > some sample code or internet link discussing this? > Another interesting > question -- when you talk about the schema --, is > there a way to define > generic schema? > > -----Original Message----- > From: Andrew Pliszka > [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 22, 2007 4:48 PM > To: Struts Users Mailing List > Subject: Re: Xml utilities > > I think what you have to do is create your own > generic XML utility class > > that is specific to your XML schema, that uses > dom4j, or digester or > XMLBeans as XML engine. You will have to create your > a commons schema > base for all your developers, that they will have to > follow. > > Andrew Pliszka > > Zhang, Larry (L.) wrote: > > >I know that DOM and SAX but what I am looking for > is some sort of > >wrapper or single point class so that all team > members will use my > class > >instead of calling DOM or SAX directly. > > > >-----Original Message----- > >From: [EMAIL PROTECTED] > >[mailto:[EMAIL PROTECTED] > >Sent: Thursday, February 22, 2007 4:47 PM > >To: Struts Users Mailing List > >Subject: Re: Xml utilities > > > >Hi Zhang, > > > >I am not sure if i got your question correct. But, > if you want some > >already existing XML parsers then DOM and SAX > Parsers are the ones > which > > > >are used extensively. Again, i might be missing > more efficient ones. > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: > [EMAIL PROTECTED] > >For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ____________________________________________________________________________________ Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]