Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET XML
?xml version="1.0" encoding="UTF-8" ?>
<kml xmlns="http://www.opengis.net/kml/2.2">
  <Document>
    <Placemark>
      <name><![CDATA[s1]]></name>
      <description><![CDATA[]]></description>
      <Point>
        <extrude>1</extrude>
        <altitudeMode>relativeToGround</altitudeMode>
        <coordinates>78.4449577331543,17.44826715453492,0</coordinates>
      </Point>
    </Placemark>
        <Placemark>
      <name><![CDATA[]]></name>
      <description><![CDATA[]]></description>
      <LineString>
        <extrude>1</extrude>
        <altitudeMode>relativeToGround</altitudeMode>
        <coordinates>          78.44066619873047,17.44732551539346,0          78.4504508972168,17.449536312638212,0          78.4482192993164,17.440611077933813,0          78.4407091140747,17.44220782632188,0          78.44066619873047,17.44732551539346,0        </coordinates>
      </LineString>
    </Placemark>
    <Placemark>
      <name><![CDATA[s2]]></name>
      <description><![CDATA[]]></description>
      <Point>
        <extrude>1</extrude>
        <altitudeMode>relativeToGround</altitudeMode>
        <coordinates>78.45057964324951,17.449495372192157,0</coordinates>
      </Point>
    </Placemark>
    <Placemark>
      <name>
 
        <![CDATA[s3]]>
      </name>
      <description>
        <![CDATA[]]>
      </description>
      <Point>
        <extrude>1</extrude>
        <altitudeMode>relativeToGround</altitudeMode>
        <coordinates>78.44950675964355,17.444991866993263,0</coordinates>
      </Point>
    </Placemark>
    <Placemark>
      <name>
 
        <![CDATA[s4]]>
      </name>
      <description><![CDATA[]]></description>
      <Point>
        <extrude>1</extrude>
        <altitudeMode>relativeToGround</altitudeMode>
        <coordinates>78.44817638397217,17.440611077933813,0</coordinates>
      </Point>
    </Placemark>
    <Placemark>
      <name><![CDATA[]]></name>
      <description><![CDATA[]]></description>
      <Point>
        <extrude>1</extrude>
        <altitudeMode>relativeToGround</altitudeMode>
        <coordinates>78.44457149505615,17.4414708672646,0</coordinates>
      </Point>
    </Placemark>
    <Placemark>
      <name><![CDATA[]]></name>
      <description><![CDATA[]]></description>
      <Point>
        <extrude>1</extrude>
        <altitudeMode>relativeToGround</altitudeMode>
        <coordinates>78.44075202941895,17.44220782632188,0</coordinates>
      </Point>
    </Placemark>
  </Document>
I want to pick up the value of 'coordinates' tag only under 'LineString' tag. Please tell the solution.
Posted 9-May-13 22:38pm
Edited 9-May-13 22:53pm
v6

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Afzaal Ahmad Zeeshan 256
1 OriginalGriff 251
2 BillWoodruff 240
3 Maciej Los 230
4 Sergey Alexandrovich Kryukov 195
0 OriginalGriff 6,419
1 Sergey Alexandrovich Kryukov 6,008
2 DamithSL 5,183
3 Manas Bhardwaj 4,673
4 Maciej Los 4,070


Advertise | Privacy | Mobile
Web02 | 2.8.1411019.1 | Last Updated 10 May 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100