Ok I see where you're going with this. Thanks a lot. I will be sure to
improvise my code.
-Original Message-
From: Analysis & Solutions [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 8:10 PM
To: PHP List
Subject: Re: [PHP] XML: Similiar Multiple Tags With Different Dat
On Wed, May 15, 2002 at 07:49:58PM +0200, Sebastian A. wrote:
> performance and efficiency doesn't really interest me at this point. I just
> want to get the thing working before I work on improving it.
But your haste is making waste. Even funnier, in your haste, you're making more work
for yo
I hope I didn't sound impolite, I really didn't mean to offend you, because
if it weren't for your tutorial I would probably still be trying to figure
out how to parse attributes and get XML Content into variables. Anyway, the
performance and efficiency doesn't really interest me at this point. I
Yo, Sebastian:
On Tue, May 14, 2002 at 07:26:30PM +0200, Sebastian A. wrote:
>
> function startElement($parser, $name, $attrs='') {
> global $tag, $Data, $p;
> array_push( $tag, $name );
> while ( list($Key,$Val) = each($attrs) ) {
> $p->attr_data["$name:$Key"] = tr
ns [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 10:04 PM
To: PHP List
Subject: Re: [PHP] XML: Similiar Multiple Tags With Different Data
On Mon, May 13, 2002 at 05:49:04PM +0200, Sebastian A. wrote:
> function elementContent($parser, $data, $attrs='') {
> global $ta
On Mon, May 13, 2002 at 05:49:04PM +0200, Sebastian A. wrote:
> function elementContent($parser, $data, $attrs='') {
> global $tag, $p;
>
> $ti = sizeof( $tag ) - 1;
>
> if ( $tag[$ti] == 'LIST_ITEM' ) {
> $p->ART_ID[] = $data;
> }
> }
You're not
A.
Cc: PHP General List (PHP.NET)
Subject: Re: [PHP] XML: Similiar Multiple Tags With Different Data
Sunday, May 12, 2002, 6:39:31 PM, Sebastian A. wrote:
> Hello
> I have recently been trying to parse an XML document that has different
> content in the same tags. Here is an example
Sunday, May 12, 2002, 6:39:31 PM, Sebastian A. wrote:
> Hello
> I have recently been trying to parse an XML document that has different
> content in the same tags. Here is an example:
> 1
> 2
> 3
> ...
> I am trying to get the content from into an array. I want the
> content of the first to g
8 matches
Mail list logo