Does anyone have any ideas for how to parse and xml text file that is in the
following format:


xml information log created 10/14/03 10:45 am
HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Tue, 14 Oct 2003 04:17:08
GMT
<OPENSHIPMENTS>
    <SERVERTIME>10/14/2003 00:17:08:653</SERVERTIME>
<CARRIERID>15</CARRIERID>
</OPENSHIPMENTS>
HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Tue, 14 Oct 2003 04:19:09
GMT
<OPENSHIPMENTS>
    <SERVERTIME>10/14/2003 00:19:09:590</SERVERTIME>
<CARRIERID>15</CARRIERID>
</OPENSHIPMENTS>


Basically, we communicate with another company through xml. this works fine.
i have created log files that store all information recieved from them in
text files. Now I want to read the files I created and mine the data from
them through cold fusion. I am able to read the correct file using cffile
and dump the contents of it using cfdump, but I need to be able to read
through it line by line and only utilize certain lines (which in this case
are the ones starting with <)


Anyone have any ideas?

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to