Re: [PHP] Re: Need help... getting information from external xml document

2004-09-23 Thread Matt M.
> As John noted at the end... I do not have control over the format of > the XML... but thanks I will try... BTW i am using PHP4 is > SimpleXML able to be used and if so how? I would just use John's regex idea, I am guessing (i could be wrong though, I have been many times before) that the for

Re: [PHP] Re: Need help... getting information from external xml document

2004-09-23 Thread GH
Sounds good... from that RegExpression what exactly is that returning? just the value in the quotes? Thanks Gary On Thu, 23 Sep 2004 11:11:16 -0400, John Holmes <[EMAIL PROTECTED]> wrote: > From: "GH" <[EMAIL PROTECTED]> > > BTW i am using PHP4 is > > SimpleXML able to be used and if so how? >

Re: [PHP] Re: Need help... getting information from external xml document

2004-09-23 Thread John Holmes
From: "GH" <[EMAIL PROTECTED]> BTW i am using PHP4 is SimpleXML able to be used and if so how? No, SimpleXML is for PHP5 only. You're probably better off using the regular expression method rather than loading an entire XML solution for such a small bit of code... ---John Holmes... -- PHP Gene

Re: [PHP] Re: Need help... getting information from external xml document

2004-09-23 Thread Matt M.
> >> I am new to php and xml and would like to know how I can set a > >> variable (i.e $terror_threat_level) equal to the value of > >> Threat_Advisory's Condition in the following that is available at > >> http://www.dhs.gov/dhspublic/getAdvisoryCondition ... > >> > >> > >> if you are using p

Re: [PHP] Re: Need help... getting information from external xml document

2004-09-23 Thread GH
As John noted at the end... I do not have control over the format of the XML... but thanks I will try... BTW i am using PHP4 is SimpleXML able to be used and if so how? Sorry for the newbie question On Thu, 23 Sep 2004 10:44:31 -0400, John Holmes <[EMAIL PROTECTED]> wrote: > From: "GH" <[EMA

Re: [PHP] Re: Need help... getting information from external xml document

2004-09-23 Thread John Holmes
From: "GH" <[EMAIL PROTECTED]> I am new to php and xml and would like to know how I can set a variable (i.e $terror_threat_level) equal to the value of Threat_Advisory's Condition in the following that is available at http://www.dhs.gov/dhspublic/getAdvisoryCondition ... Hmmm... I couldn't get

[PHP] Re: Need help... getting information from external xml document

2004-09-23 Thread GH
Also, forgot to ask if there are any specific settings that need to be set within php for it to work. On Thu, 23 Sep 2004 09:55:32 -0400, GH <[EMAIL PROTECTED]> wrote: > I am new to php and xml and would like to know how I can set a > variable (i.e $terror_threat_level) equal to the value of > Th