Discussion Locked

XML to Text Conversion

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need a software that will convert a valid XML document into text. It must be flexible enough for me to specify which elements to convert and of what format. The format would be to write the elements' data (excluding the element name), specify the number of characters for each elements' data, and specify where there will be a space or new line. If you know such a software, or even something close to it please tell me. Thank you and have a nice day.

9 replies

by blaine moore

You could write a simple script in Perl, and use the XML::Parser package for ease of use. Perl is great for building reports and for text file manipulation.

by madestroitsolutions

I can make a program like that for you, for a reasonable and modest fee... :)

Let me know if interested!
juanja01@optonline.net

Good Luck!

by rrv

if you know low level VB coding it is simple. Even macro programming level will do.
Open a new ADODB recordset and use
RS.Open "Filename.xml"
do all your element processing on each field of the recordset getting the parameters from a user interface. update the recordset.
Use FileSystemObject or normal VB methods to create a text file. use loop in the recordset and write your new data from recordset into a text file and save the text file.

It is faily very simple.

RV

This discussion is closed to new replies.