Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


How to remove Tags from returned linestring?



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> Visual Basic Forum
View previous topic :: View next topic  
Author Message
VBKey



Joined: 20 May 2008
Posts: 2

PostPosted: Tue May 20, 2008 3:02 pm    Post subject: How to remove Tags from returned linestring? Reply with quote

I need to put a returned string, which contains two similar addressed onto a listbox for user to choose which address they want to continue the search. I have managed to write the whole string onto .txt and retrieve them in the listbox with 2 items, but I could not remove the <tag>s in the returned string.

The returned string from XML is something like "<pre><results><record><rid>84752</rid><unitnum>4</unitnum><streetnum>46</streetnum><street>VIC</street><streettyp>ST</streettyp><sub>GLEORCHY</sub><code>2020</code><state>CAN</state><salecount>0</salecount></record><record><rid>103524</rid><unitnum>A4</unitnum><streetnum>46A</streetnum><street>VIC</street><streettyp>ST</streettyp><sub>GLENORCHY</sub><code>2020</code><state>CAN</state><salecount>1</salecount></record></results></pre>"

The itmes in my listbox now:
<record><id>84752</id><unitnum>4</unitnum><streetnum>46</streetnum><street>VIC</street><typ>ST</typ><sub>GLEORCHY</sub><code>2000</code><state>CAN</state><count>0</count></record>

<record><id>103524</id><unitnum>A4</unitnum><streetnum>46A</streetnum><street>VIC</street><typ>ST</typ><sub>GLENORCHY</sub><code>2000</code><state>CAN</state><count>1</count></record>

Only the addresses need to be displayed from unitnum. How can I remove the Tags?? Should I cansider to save the returned string into an array instead? Because the chosen address information need to be returned for further processing too...

Your help is much appreciated.[/b]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> Visual Basic Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap