PaidtheUmpire
Programmer
I thank those whom help me out greatly.
Anyways... i have text that is coming into a memo field like so...
What i want to be able to do is extract out the following bits of data... the numbers in the first line and the bit of data between then <name> and </name> tags.
In this piece of data...
A: -26.5182
B: 152.5146
C: 16-11-2005 123000
Any ideas?
Delphi, Delphi, Delphi. Oi! Oi! Oi!
Anyways... i have text that is coming into a memo field like so...
Code:
...
<extensions>
<gpxx:WaypointExtension xmlns:gpxx="[URL unfurl="true"]http://www.garmin.com/xmlschemas/GpxExtensions/v2"[/URL] xmlns:xsi="[URL unfurl="true"]http://www.w3.org/2001/XMLSchema-instance"[/URL] xsi:schemaLocation="[URL unfurl="true"]http://www.garmin.com/xmlschemas/GpxExtensions/v2[/URL] [URL unfurl="true"]http://www.garmin.com/xmlschemas/GpxExtensions/v2/GpxExtensionsv2.xsd">[/URL]
<gpxx:DisplayMode>SymbolOnly</gpxx:DisplayMode>
</gpxx:WaypointExtension>
</extensions>
</rtept>
</rte>
<wpt lat="-26.5182" lon="152.5146">
<time>2005-08-12T18:26:38Z</time>
<name>16-11-2005 123000</name>
<extensions>
<gpxx:WaypointExtension xmlns:gpxx="[URL unfurl="true"]http://www.garmin.com/xmlschemas/GpxExtensions/v2"[/URL] xmlns:xsi="[URL unfurl="true"]http://www.w3.org/2001/XMLSchema-instance"[/URL] xsi:schemaLocation="[URL unfurl="true"]http://www.garmin.com/xmlschemas/GpxExtensions/v2[/URL] [URL unfurl="true"]http://www.garmin.com/xmlschemas/GpxExtensions/v2/GpxExtensionsv2.xsd">[/URL]
<gpxx:DisplayMode>SymbolAndName</gpxx:DisplayMode>
</gpxx:WaypointExtension>
</extensions>
</wpt>
...
What i want to be able to do is extract out the following bits of data... the numbers in the first line and the bit of data between then <name> and </name> tags.
In this piece of data...
A: -26.5182
B: 152.5146
C: 16-11-2005 123000
Any ideas?
Delphi, Delphi, Delphi. Oi! Oi! Oi!