RE: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-15 Thread Sebastian A.
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

Re: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-15 Thread Analysis Solutions
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

RE: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-15 Thread Sebastian A.
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 Data On Wed

RE: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-14 Thread Sebastian A.
: 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 $tag, $p; $ti = sizeof( $tag ) - 1

Re: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-14 Thread Analysis Solutions
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] =

RE: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-13 Thread Sebastian A.
: 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: LIST_ITEM1/LIST_ITEM

Re: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-13 Thread Analysis Solutions
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 posting

Re: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-12 Thread Kjartan Mannes
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: LIST_ITEM1/LIST_ITEM LIST_ITEM2/LIST_ITEM LIST_ITEM3/LIST_ITEM ... I am trying to get the content from