0
나에게는 혼란스러운 문제가있다.데이터 문자열을 배열에 저장하는 방법
이것이 문제입니다. 같은 문자열 값이 포함되어 우리가 자식 태그 <name>...</name>
를 볼 수있는 태그 장소 표시에서
<Placemark>
<name>Turn left onto Jalan Raden Ajeng Kartini</name>
<description><![CDATA[go 550 m]]></description>
<StyleMap>
<Pair>
<key>normal</key>
<Style>
<IconStyle>
<Icon><href>http://maps.gstatic.com/intl/en_ALL/mapfiles/kml/paddle/pause.png</href></Icon>
<hotSpot x="0.500000" y="0.000000" xunits="fraction" yunits="fraction" />
</IconStyle>
<ListStyle>
<ItemIcon><href>http://maps.gstatic.com/intl/en_ALL/mapfiles/kml/paddle/pause-lv.png</href></ItemIcon>
</ListStyle>
</Style>
</Pair>
<Pair>
<key>highlight</key>
<Style>
<IconStyle>
<scale>1.300000</scale>
<Icon><href>http://maps.gstatic.com/intl/en_ALL/mapfiles/kml/paddle/pause.png</href></Icon>
<hotSpot x="0.500000" y="0.000000" xunits="fraction" yunits="fraction" />
</IconStyle>
<ListStyle>
<ItemIcon><href>http://maps.gstatic.com/intl/en_ALL/mapfiles/kml/paddle/pause-lv.png</href></ItemIcon>
</ListStyle>
</Style>
</Pair>
</StyleMap>
<Point>
<coordinates>106.827140,-6.296370,0</coordinates>
</Point>
<LookAt>
<longitude>106.827140</longitude>
<latitude>-6.296370</latitude>
<range>100.000000</range>
<tilt>45.000000</tilt>
<heading>347.976074</heading>
</LookAt>
</Placemark>
"
차례 잘란 나전 Ajeng 카르 티니 좌회전는"내 XML 문서에서
내가 같은 많은 태그 이름을 발견 이 하나. 어떻게 그들을 배열에 저장합니까?
참조 [이 질문] (http://stackoverflow.com/questions/6026916/android-how-to-get-values-in-under-specific :
나는이 링크의 가이드를 읽어 보시기 바랍니다 -xml-tags) – keyser