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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML to Delimited Text

Status
Not open for further replies.

enigma333

Programmer
Jul 3, 2001
42
CA
Need to ouput a recordset XML to a delimited Text file

RS =
rsField1
rsField2
rsField3

Text =
field1|field2|subfield1^subfield2|field3|

Transform

field2 = rsfield1
field1 = rsfield2
subfield1 = left(rsField2,2)

Something like that ... if that makes any sense to anyone

Basically I have to turn a recordset into a specifically delimited Text file and I would like to avoid using VB to loop through and place the elements in the right fields.

ideally I would have a xml template
a xml file that show the mapping between the RS fields and the template fields and would include some data translation code.

Is it possible.... What direction should i be taking with this

Thanks


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top