Re: [PHP] Ways to break up XML into Arrays????

2003-10-24 Thread Scott Fletcher
Will do...

[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
  Try looking through http://pear.php.net for something.
 
 check out the xml functions, its an xml parser

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Ways to break up XML into Arrays????

2003-10-24 Thread Scott Fletcher
I'll look into it.  Thanks for the head-up!

John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 snip
  On Thursday 23 October 2003 17:02, Scott Fletcher wrote:
 
 Hi Fellas!
 
 I don't want to use the PHP's XML feature at this moment because I
 found out that I need to recompile PHP with the XML support which I
can't
 do at this moment.  So, instead of recompiling, does anyone know of a
good
 sample coding or class out there on the Internet that would work   I'm
 looking for something similiar like this...  Problem is I don't have
good
 scripts that can handle the quote or double quote without missing up the
 XML data and PHP Array...
 
 snip

 Aren't the XML functions enabled by default?  Did your ISP specifically
 use '--disable-xml' when compiling?

 -- 
 By-Tor.com
 It's all about the Rush
 http://www.by-tor.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Ways to break up XML into Arrays????

2003-10-24 Thread Scott Fletcher
Will do...

Ryan Thompson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Try looking through http://pear.php.net for something.

On Thursday 23 October 2003 17:02, Scott Fletcher wrote:
 Hi Fellas!

 I don't want to use the PHP's XML feature at this moment because I
 found out that I need to recompile PHP with the XML support which I can't
 do at this moment.  So, instead of recompiling, does anyone know of a good
 sample coding or class out there on the Internet that would work   I'm
 looking for something similiar like this...  Problem is I don't have good
 scripts that can handle the quote or double quote without missing up the
 XML data and PHP Array...

 --snip--
 //Individual
 FirstNameBill/FirstName
 LastNameClinton/LastName
 GenderM/Gender
 FavoratePetDog/FavoratePet
 //Joint
 FirstNameHillary/FirstName
 LastNameClinton/LastName
 GenderF/Gender
 FavoratePetCat/FavoratePet

 //This would be return in array like...
 echo $XML_Tag['FirstName'][0];  //Output would be Bill...
 echo  ; //Whitespace...
 echo $XML_Tag['LastName'][0]; //Output would be Clinton...
 echo 's favorate pet is a ;
 echo $XML_Tag['FavoratePet']; //Output would be Dog...
 echo  and his wife name is ;
 echo $XML_Tag['FirstName'][1];  //Output would be Hillary...
 echo  ; //Whitespace...
 echo $XML_Tag['LastName'][1]; //Output would be Clinton...
 --snip--

 Just something like that...   Thanks!!!

 Scott F.

-- 
Ryan Thompson
[EMAIL PROTECTED]
http://osgw.sourceforge.net
==
A computer scientist is someone who fixes
 things that aren't broken --Unknown

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Ways to break up XML into Arrays????

2003-10-24 Thread Scott Fletcher
I wonder about overwritting the same tag twice, like 'FirstName' and end
up with one result when using hte XML parse...  Does anyone know that PHP
XML Parse can work without overwriting in this case and still get two
different result?

Scott F.

Raditha Dissanayake [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 While it's possible to process XML using regular expression. The whole
 point of using XML is that you wouldn't have to use hacked solutions
 like that :-)

 Scott Fletcher wrote:

 Hi Fellas!
 
 I don't want to use the PHP's XML feature at this moment because I
found
 out that I need to recompile PHP with the XML support which I can't do at
 this moment.  So, instead of recompiling, does anyone know of a good
sample
 coding or class out there on the Internet that would work   I'm looking
for
 something similiar like this...  Problem is I don't have good scripts
that
 can handle the quote or double quote without missing up the XML data and
PHP
 Array...
 
 --snip--
 //Individual
 FirstNameBill/FirstName
 LastNameClinton/LastName
 GenderM/Gender
 FavoratePetDog/FavoratePet
 //Joint
 FirstNameHillary/FirstName
 LastNameClinton/LastName
 GenderF/Gender
 FavoratePetCat/FavoratePet
 
 //This would be return in array like...
 echo $XML_Tag['FirstName'][0];  //Output would be Bill...
 echo  ; //Whitespace...
 echo $XML_Tag['LastName'][0]; //Output would be Clinton...
 echo 's favorate pet is a ;
 echo $XML_Tag['FavoratePet']; //Output would be Dog...
 echo  and his wife name is ;
 echo $XML_Tag['FirstName'][1];  //Output would be Hillary...
 echo  ; //Whitespace...
 echo $XML_Tag['LastName'][1]; //Output would be Clinton...
 --snip--
 
 Just something like that...   Thanks!!!
 
 Scott F.
 
 
 


 -- 
 Raditha Dissanayake.
 
 http://www.radinks.com/sftp/  |  http://www.raditha/megaupload/
 Lean and mean Secure FTP applet with  |  Mega Upload - PHP file uploader
 Graphical User Inteface. Just 150 KB  |  with progress bar.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Ways to break up XML into Arrays????

2003-10-23 Thread Scott Fletcher
Hi Fellas!

I don't want to use the PHP's XML feature at this moment because I found
out that I need to recompile PHP with the XML support which I can't do at
this moment.  So, instead of recompiling, does anyone know of a good sample
coding or class out there on the Internet that would work   I'm looking for
something similiar like this...  Problem is I don't have good scripts that
can handle the quote or double quote without missing up the XML data and PHP
Array...

--snip--
//Individual
FirstNameBill/FirstName
LastNameClinton/LastName
GenderM/Gender
FavoratePetDog/FavoratePet
//Joint
FirstNameHillary/FirstName
LastNameClinton/LastName
GenderF/Gender
FavoratePetCat/FavoratePet

//This would be return in array like...
echo $XML_Tag['FirstName'][0];  //Output would be Bill...
echo  ; //Whitespace...
echo $XML_Tag['LastName'][0]; //Output would be Clinton...
echo 's favorate pet is a ;
echo $XML_Tag['FavoratePet']; //Output would be Dog...
echo  and his wife name is ;
echo $XML_Tag['FirstName'][1];  //Output would be Hillary...
echo  ; //Whitespace...
echo $XML_Tag['LastName'][1]; //Output would be Clinton...
--snip--

Just something like that...   Thanks!!!

Scott F.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Ways to break up XML into Arrays????

2003-10-23 Thread Ryan Thompson
Try looking through http://pear.php.net for something.

On Thursday 23 October 2003 17:02, Scott Fletcher wrote:
 Hi Fellas!

 I don't want to use the PHP's XML feature at this moment because I
 found out that I need to recompile PHP with the XML support which I can't
 do at this moment.  So, instead of recompiling, does anyone know of a good
 sample coding or class out there on the Internet that would work   I'm
 looking for something similiar like this...  Problem is I don't have good
 scripts that can handle the quote or double quote without missing up the
 XML data and PHP Array...

 --snip--
 //Individual
 FirstNameBill/FirstName
 LastNameClinton/LastName
 GenderM/Gender
 FavoratePetDog/FavoratePet
 //Joint
 FirstNameHillary/FirstName
 LastNameClinton/LastName
 GenderF/Gender
 FavoratePetCat/FavoratePet

 //This would be return in array like...
 echo $XML_Tag['FirstName'][0];  //Output would be Bill...
 echo  ; //Whitespace...
 echo $XML_Tag['LastName'][0]; //Output would be Clinton...
 echo 's favorate pet is a ;
 echo $XML_Tag['FavoratePet']; //Output would be Dog...
 echo  and his wife name is ;
 echo $XML_Tag['FirstName'][1];  //Output would be Hillary...
 echo  ; //Whitespace...
 echo $XML_Tag['LastName'][1]; //Output would be Clinton...
 --snip--

 Just something like that...   Thanks!!!

 Scott F.

-- 
Ryan Thompson
[EMAIL PROTECTED]
http://osgw.sourceforge.net
==
A computer scientist is someone who fixes
 things that aren't broken --Unknown

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Ways to break up XML into Arrays????

2003-10-23 Thread Raditha Dissanayake
While it's possible to process XML using regular expression. The whole 
point of using XML is that you wouldn't have to use hacked solutions 
like that :-)

Scott Fletcher wrote:

Hi Fellas!

   I don't want to use the PHP's XML feature at this moment because I found
out that I need to recompile PHP with the XML support which I can't do at
this moment.  So, instead of recompiling, does anyone know of a good sample
coding or class out there on the Internet that would work   I'm looking for
something similiar like this...  Problem is I don't have good scripts that
can handle the quote or double quote without missing up the XML data and PHP
Array...
--snip--
//Individual
FirstNameBill/FirstName
LastNameClinton/LastName
GenderM/Gender
FavoratePetDog/FavoratePet
//Joint
FirstNameHillary/FirstName
LastNameClinton/LastName
GenderF/Gender
FavoratePetCat/FavoratePet
//This would be return in array like...
echo $XML_Tag['FirstName'][0];  //Output would be Bill...
echo  ; //Whitespace...
echo $XML_Tag['LastName'][0]; //Output would be Clinton...
echo 's favorate pet is a ;
echo $XML_Tag['FavoratePet']; //Output would be Dog...
echo  and his wife name is ;
echo $XML_Tag['FirstName'][1];  //Output would be Hillary...
echo  ; //Whitespace...
echo $XML_Tag['LastName'][1]; //Output would be Clinton...
--snip--
Just something like that...   Thanks!!!

Scott F.

 



--
Raditha Dissanayake.

http://www.radinks.com/sftp/  |  http://www.raditha/megaupload/
Lean and mean Secure FTP applet with  |  Mega Upload - PHP file uploader
Graphical User Inteface. Just 150 KB  |  with progress bar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Ways to break up XML into Arrays????

2003-10-23 Thread daniel
 Try looking through http://pear.php.net for something.

check out the xml functions, its an xml parser

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Ways to break up XML into Arrays????

2003-10-23 Thread John Nichel
snip
On Thursday 23 October 2003 17:02, Scott Fletcher wrote:

Hi Fellas!

   I don't want to use the PHP's XML feature at this moment because I
found out that I need to recompile PHP with the XML support which I can't
do at this moment.  So, instead of recompiling, does anyone know of a good
sample coding or class out there on the Internet that would work   I'm
looking for something similiar like this...  Problem is I don't have good
scripts that can handle the quote or double quote without missing up the
XML data and PHP Array...
snip

Aren't the XML functions enabled by default?  Did your ISP specifically 
use '--disable-xml' when compiling?

--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php