The other thought I had was,

Read the file in, slap a XML header and <root> around the content and parse it with X-Pointer.

;-)

Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm
Authorized MDaemon Mail Server Reseller
http://www.pcforge.com/AltN.htm

-----Original Message-----
From: Roland Dumas [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 12:43 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: how would I parse this?

 


On Thursday, July 24, 2003, at 11:17 AM, Ben Johansen wrote:


Create a for loop with a range of the file numbers (101-…)


<@ASSIGN NAME=”FileName” VALUE=”FilesStart@@local$LoopNbr.txt” SCOPE=”local”>

Load the files in a file action into local variable local$CurLoadedFile

Use the following to extract

<@SUBSTRING STR=@@LOCAL$CurLoadedFIle START=1 NUMCHARS=<@LOCATE STR=”@@LOCAL$CurLoadedFIleFINDSTR=”<center>” >>

This will get you the top section prior to the <center> to mess with.

 

I think this is what you’re getting at ;-)



Yes, was hoping there was an easier way.

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to