Access this solution immediately by signing up as a member of FoxproAnswers.com--it’s quick, easy, and secure. We will return you to this solution, unlocked, when you’re done.
Hi experts,
I would like to convert XML into .dbf table (visual foxpro format). Here is XML (quite long) :
<?xml version="1.0" encoding="UTF-8" ?>
- <IPDRDoc xmlns="http://www.ipdr.org
- <IPDR xsi:type="DOCSIS-Type">
<IPDRcreationTime>2007-12-
<CMTShostname>SCTV_Q6_C724
<CMTSipAddress>10.0.96.1</
<CMTSsysUpTime>8559983</CM
<CMTScatvIfName>Cable3/0</
<CMTScatvIfIndex>4</CMTSca
<CMTSupIfName>Ca3/0-upstre
<CMTSupIfType>129</CMTSupI
<CMTSdownIfName>Ca3/0-down
<CMmacAddress>00-0E-09-1F-
<CMipAddress>10.0.98.14</C
<CMdocsisMode>1.1</CMdocsi
<CMCPEipAddress>222.255.21
<Rectype>1</Rectype>
<serviceIdentifier>87</ser
<serviceClassName />
<serviceDirection>2</servi
<serviceOctetsPassed>21905
<servicePktsPassed>191</se
<serviceSlaDropPkts>0</ser
<serviceSlaDelayPkts>0</se
<serviceTimeCreated>842500
<serviceTimeActive>1347</s
</IPDR>
- <IPDR xsi:type="DOCSIS-Type">
<IPDRcreationTime>2007-12-
<CMTShostname>SCTV_Q6_C724
<CMTSipAddress>10.0.96.1</
<CMTSsysUpTime>8559983</CM
<CMTScatvIfName>Cable3/0</
<CMTScatvIfIndex>4</CMTSca
<CMTSupIfName>Ca3/0-upstre
<CMTSupIfType>129</CMTSupI
<CMTSdownIfName>Ca3/0-down
<CMmacAddress>00-0E-09-1F-
<CMipAddress>10.0.98.14</C
<CMdocsisMode>1.1</CMdocsi
<CMCPEipAddress>222.255.21
<Rectype>1</Rectype>
<serviceIdentifier>88</ser
<serviceClassName />
<serviceDirection>1</servi
<serviceOctetsPassed>38197
<servicePktsPassed>183</se
<serviceSlaDropPkts>0</ser
<serviceSlaDelayPkts>0</se
<serviceTimeCreated>842500
<serviceTimeActive>1347</s
</IPDR>
I am using visual fox 7.0.
Thank you in advance.
Access this solution immediately by signing up as a member of FoxproAnswers.com--it’s quick, easy, and secure. We will return you to this solution, unlocked, when you’re done.
Posted on 2007-12-24 at 01:47:26ID: 26150281
All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.