I have the four parsers described here:
- 
http://udig.refractions.net/confluence/display/OWS3/GTXML+for+Geotools+Hackers

And an article about hte last one:
- http://udig.refractions.net/confluence/display/OWS3/GTXML+Article

But no developers have managed to make simple examples for you yet. Your 
best bet is to read the test cases :-(

Here are the parsers
- SAX - fast, streaming, strange to program (see article and test cases)
- DOM - memory bound (see article and test cases)
- XDO - see WFSDataStore code
- GTXML - new to trunk, see articles, and perhaps test cases on trunk

You need to consider some things:
- is your xml file "pure" gml, aka only referencing gml schema, if so 
SAX and DOM parsers will work
- is your file an extention of GML, if so you are limited to the XDO or 
GTXML parser will work

Cheers,
Jody
> Can someone help me get boot strapped with GML reading, by providing a 
> sample (java) app that parses a GML file ?
>
> Thanks in advance.
>
> T
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>   



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to