From: marcottec@cox.net
To: pgsql-php@postgresql.org
Subject: New New :(( - Trying to figure out a couple things - Please help
Date: Tue, 29 Apr 2003 09:54:12 -0600
Message-ID: <001801c30e67$9478a220$a3b56644@marcottesamiam> (raw)
References: <20030428070607.47828.qmail@web40608.mail.yahoo.com>
Hi Sam Marcotte here
I am real new at this - Old Mainframer and I know what I want to do but just
not finding the correct functions.
I want to figure out how to put info out of a file (it is xml).
I need to find a way to look thru the file and find lines that look lik
<d:Title>Computers</d:Title>
I want to pull out just Computers (remove <?> and write to another file (I
can do the writes)
Then
<d:Description>Computers - ddddddd
dddddd
dddddd
ddddd</d:Description>
multi lies from start of desc to end - and take the <?> off - and write each
record till I find the end
I know we are talking about 2 or 3 loops my main problem is find given data
in the middle
of a line of txt.
Thanks for any help
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: marcottec@cox.net
Subject: Re: New New :(( - Trying to figure out a couple things - Please help
In-Reply-To: <001801c30e67$9478a220$a3b56644@marcottesamiam>
References: <20030428070607.47828.qmail@web40608.mail.yahoo.com> <001801c30e67$9478a220$a3b56644@marcottesamiam>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox