Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 22nd, 2003, 02:32 AM
kitchiekoo kitchiekoo is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 3 kitchiekoo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
modify xml and save to text file

hi pls help. here's what i want to do.

i have an xml file and i want to remove the tags, place them in a columnar format (tab delimited) and save them to a text file. how will i code it?

example:
xml file

<?xml version ="1.0"?><MEMBER><ABC><TYPE>PERSON</TYPE><NUM>89</NUM><AGE>35</AGE><STATCODE>M</STATCODE><DESC>Married</DESC></ABC><HEADER SEGMENT="1"><NAME>PIA</NAME><TEL>4550095</TEL><HEIGHT>58</HEIGHT><SURNAME>BRIGHT</SURNAME><DETAIL SEGMENT="1"><CITY>NY City</CITY><SALARY>300000</SALARY><COMPANY>POINTBLANK</COMPANY></DETAIL></HEADER></MEMBER>

output text file:
PERSON 89 35 M Married
PIA 4550095 58 BRIGHT
NY City 300000 POINTBLANK

kindly help. thanks!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > modify xml and save to text file


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT