FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour XML to text
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
XML to text
Posted: 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)


I want to create a file like:
Code (fw): Select all Collapse
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
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: XML to text
Posted: Sun Oct 28, 2018 04: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

Continue the discussion