This is very similar to http://www.jsoftware.com/jwiki/Addons/xml/sax/x2j%20Examples#x2j4.ijs
I don't want to spoil your fun. Seriously. Give it a try and let us know how it goes. > From: Tom Arneson <[email protected]> > Oleg, What would I need to parse: other xml here. Start at first "<wpt lat=" ....................................... <wpt lat="42.13350000" lon="-88.97320000"> <time>2009-08-24T01:03:09Z</time> <name>99BYTH</name> <desc>40</desc> <link href="http://geodashing.gpsgames.org/cgi-bin/dp.pl?dp=GD99-BYTH"> <text>GD99-BYTH</text> <type>text/html</type> </link> <sym>Geocache</sym> <type>Geocache|Virtual Cache</type> <extensions> <label xmlns="http://www.topografix.com/GPX/gpx_overlay/0/3"> <label_text>99BYTH</label_text> <text xmlns="http://www.topografix.com/GPX/gpx_style/0/2"> <font> <family generic="sans-serif"> <face>Arial</face> </family> </font> </text> </label> </extensions> </wpt> <wpt lat="45.84690000" lon="-88.47240000"> <time>2009-08-24T01:03:09Z</time> <name>99BYYL</name> <desc>120 wood</desc> <link href="http://geodashing.gpsgames.org/cgi-bin/dp.pl?dp=GD99-BYYL"> <text>GD99-BYYL</text> <type>text/html</type> </link> <sym>Geocache</sym> <type>Geocache|Virtual Cache</type> <extensions> <label xmlns="http://www.topografix.com/GPX/gpx_overlay/0/3"> <label_text>99BYYL</label_text> <text xmlns="http://www.topografix.com/GPX/gpx_style/0/2"> <font> <family generic="sans-serif"> <face>Arial</face> </family> </font> </text> </label> </extensions> </wpt> ....................... more of the same Other xml To: +-----------+------------+------+--------+ |42.13350000|-88.97320000|99BYTH|40 | +-----------+------------+------+--------+ |45.84690000|-88.47240000|99BYYL|120 wood| +-----------+------------+------+--------+ | | | | | First 2 columns from: <wpt lat="42.13350000" lon="-88.97320000"> Next column from: <name>99BYYL</name> Last column from: <desc>120 wood</desc> I'm doing this now with a fairly complex set of verbs. Thank you, Tom Arneson ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
