From: Tatu S. <cow...@ya...> - 2007-03-20 18:25:49
|
--- Fernando Gonzalez <fer...@gm...> wrote: > As long as I know about GML files... It only defines > data types to be used > on your application specific schema. If you have a > concrete > application-specific schema, congratulations. Use a > mapping tool like JAXB > or Castor or whatever. If you haven't, you can't map > because you don't have > a schema to map. In this point I agree with Jimmy Or equivalent object hierarchy... schema isn't strictly necessary, fortunatley. But object model has to exist and be (or made) compatible. JibX is another fine candidate. > that you should use XPath > to obtain the data of interest and I think VTD-XML > is very useful. I don't know anything about GML specifically, but point I tried to make is that the question was specifically (even if mistakenly) asking about xml/object mapping. Alternative to that may be using VTD-XML with xpath ("instead of object mapping, why not just directly exact data you need"). Just want to keep terminology accurate -- otherwise users expectations may not be met (if they really have object model as was implied). -+ Tatu +- ____________________________________________________________________________________ Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. http://games.yahoo.com/games/front |