Use Apache betwixt ,its works on GAE http://commons.apache.org/betwixt/
On Sun, Nov 8, 2009 at 7:46 PM, Ravi Sharma <ping2r...@gmail.com> wrote: > I am not sure if i understand you. > Can you explain bit more, an example or link would be great. > I can do normal Sax parsing but then writing code for each different kind > of xml is gonna be very tidious work.So looking for some GAE supported > libararies like JAXB or XMLBEAN > > My Requirment is as follows(in cae is there was any misunderstanding) > <xml> > <order> > <clientinfo> > <name></name> > <address></address> > </clientinfo> > <items> > <item> > <name>PersonName</neam> > <quantity>2</quantity> > <price></price> > </item> > </items> > <vendor> > <name>My Venod ltd</name> > <address>ABC 234</address> > </vendor> > </order> > > and now in java if i want to get the vbendor name > tehn i should be able to access it using classes directly(which will be > generated compile time) > Order order = SomeMarsheller.unmashel("fullxml"); > String vendorName = order.getVendor().getName(); > > My Orginal Mail was > Hi, > Is there any library like Apache XMLBeans/JAXB supported in Google APP > Engine which can be used for converting XML to Java Object and Java > Objects to XML. > I checked the White lists of libraries and found that > > JAXB is not supported ( I have already stared the issue related to it) > and Xmlbeans was not mentioned as Supported Library. > > I am sure lots of people here doing this normal thing to convert Java > Object to XML and Vice Versa. > Please Suggest some thing > > Ravi. > > On Fri, Nov 6, 2009 at 3:59 PM, rakeshv <rak...@rakeshv.org> wrote: > >> >> > I am sure lots of people here doing this normal thing to convert Java >> > Object to XML and Vice Versa. >> > Please Suggest some thing. >> >> The XML element/attribute pair maps quite well into the low level API >> Entity/properties structure. That should be all you need. >> >> Rakesh >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~----------~----~----~----~------~----~------~--~---