XML to text

XML to text

Postby Marc Vanzegbroeck » Sun Oct 28, 2018 11:20 am

Hi,

I already study xmlreader.prg and xmltree, but couldn't get it to work.
I have a XML-file with this stucture (readed with xmltree.prg)
Image

I want to create a file like:
Code: Select all  Expand view
xlm
xlm,ErdbVersion
xlm,ErdbVersion,DbVersion:15
xlm,ErdbVersion,DbDesc:ERDB Release
xlm,ErdbVersion,DbGUID:5665666555
xlm,ErdbVersion,DbLangID:ENU
xml,Block
xml,BlockDef
xml,BlockDef,BlockName:AI_D1331_1_1_01
xml,BlockDef,BlockName,Left:0
xml,BlockDef,BlockName,Top:0
xml,BlockDef,BlockName,Right:0
....


Can someone help me?
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: XML to text

Postby Marc Vanzegbroeck » Sun Oct 28, 2018 4:51 pm

Is it also possible to edit a field in the xml-file, because finally this is what I want to do.
I have one XLS-file, and I have to duplicate this except some fields that have to have other data
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 81 guests