Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to handle XML in Delphi?

Status
Not open for further replies.

TheBugSlayer

Programmer
Sep 22, 2002
887
US
Hello.

I need some help in converting XML documents documents to text files in Delphi. Any help is appreciated.

Thanks.
 
XML files are a kind of text file. What file extension did you want to convert XML documents to - .txt?

Clive [infinity]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer."
Paul Ehrlich
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
 
Yes, I need to convert the file to .txt. However, it's not a litteral conversion. I need to extract the data from the tags a create a line in the text file for each record with the fields being separated by a pipe.
 
Check out the "XML Document" object. It's installed with Delphi.

...Or check out TECXMLParser at
-----------------------------------------------------
-"There is always a different way to solve it"

//Nordlund
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top