Hi,

I have a big problem with the XML parsing (SAX) in Android. I can't
use it at the following XML file:

<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' generator='JOSM'>
  <node id='-1' visible='true' lat='-1.377' lon='-1.3635' />
  <node id='-2' visible='true' lat='-2.493' lon='-0.8684999999999999' /
>
  <node id='-3' visible='true' lat='-2.889' lon='-0.2925' />
  <node id='-4' visible='true' lat='-2.1731531008265907'
lon='-1.0103675762462703' />
  <node id='-5' visible='true' lat='-1.17173167547311'
lon='-0.39861659247471204' />
  <node id='-6' visible='true' lat='-0.6922364241169185'
lon='-0.10570125802657904' />
  <node id='-7' visible='true' lat='3.033' lon='-3.4425' />
  <node id='-8' visible='true' lat='1.809' lon='-3.7754999999999996' /
>
  <node id='-9' visible='true' lat='1.341' lon='-4.0275' />
  <node id='-10' visible='true' lat='1.143' lon='-4.0634999999999994' /
>
  <node id='-11' visible='true' lat='1.008' lon='-4.0095' />
  <node id='-12' visible='true' lat='0.9179999999999999'
lon='-3.9465' />
  <node id='-13' visible='true' lat='2.3983853072967456'
lon='-3.6151525266913263' />
  <node id='-14' visible='true' lat='1.1499578470195202'
lon='-2.6031083483750397' />
  <node id='-15' visible='true' lat='-1.5140421529804802'
lon='1.338891651624961' />
  <node id='-16' action='modify' visible='true'
lat='-2.7920421529804806' lon='3.660891651624961' />
  <node id='-17' action='modify' visible='true'
lat='-0.8300421529804803' lon='4.6688916516249614' />
  <node id='-18' visible='true' lat='1.3479578470195202'
lon='0.2993916516249608' />
  <node id='-19' visible='true' lat='1.0257578470195203'
lon='0.9437916516249611' />
  <way id='-20' action='modify' visible='true'>
    <nd ref='-7' />
    <nd ref='-13' />
    <nd ref='-8' />
    <nd ref='-9' />
    <nd ref='-10' />
    <nd ref='-11' />
    <nd ref='-12' />
    <nd ref='-1' />
    <nd ref='-4' />
    <nd ref='-2' />
    <nd ref='-3' />
    <tag k='ref' v='43' />
    <tag k='highway' v='primary' />
    <tag k='name' v='Szőregi út' />
  </way>
  <way id='-21' action='modify' visible='true'>
    <nd ref='-13' />
    <nd ref='-18' />
    <nd ref='-19' />
    <nd ref='-17' />
    <tag k='ref' v='FĹ‘ fasor' />
    <tag k='highway' v='unclassified' />
    <tag k='name' v='FĹ‘ fasor' />
  </way>
  <way id='-22' action='modify' visible='true'>
    <nd ref='-4' />
    <nd ref='-5' />
    <nd ref='-6' />
    <nd ref='-19' />
    <tag k='highway' v='unclassified' />
    <tag k='name' v='Thököly utca' />
  </way>
  <way id='-23' action='modify' visible='true'>
    <nd ref='-5' />
    <nd ref='-14' />
    <nd ref='-8' />
    <tag k='highway' v='unclassified' />
    <tag k='name' v='Derkovits fasor' />
  </way>
  <way id='-24' action='modify' visible='true'>
    <nd ref='-6' />
    <nd ref='-15' />
    <tag k='highway' v='unclassified' />
    <tag k='name' v='Hársfa utca' />
  </way>
  <way id='-25' action='modify' visible='true'>
    <nd ref='-15' />
    <nd ref='-16' />
    <tag k='highway' v='unclassified' />
    <tag k='name' v='Katalin utca' />
  </way>
  <way id='-26' action='modify' visible='true'>
    <nd ref='-16' />
    <nd ref='-17' />
    <tag k='highway' v='unclassified' />
    <tag k='name' v='Ă?gnes utca' />
  </way>
</osm>

I would be grateful if you could help me. I need this numbers to my
map application.
Could you write me source-code in Android?

THX,
Gab

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to