One of the nodes of the XML string is NOT there unless it is an error ..

XMLResponse.thisPacket.error

If all is fine with the request the .error is not there ... how do  I check 
to see if .error element is defined ...


Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com


----- Original Message ----- 
From: "Adrocknaphobia" <[EMAIL PROTECTED]>
To: "CF-Talk" <cf-talk@houseoffusion.com>
Sent: Friday, November 04, 2005 8:26 AM
Subject: Re: XML Is or NOT?


> Check the HTTP headers. It's somewhat common to throw a 500 response
> in the event of an error.
>
> -Adam
>
> On 11/4/05, Paul Giesenhagen <[EMAIL PROTECTED]> wrote:
>> This may be a basic question, but I am recieving some XML and it could be 
>> a valid response or it could be an error response... BOTH are valid XML, 
>> but they are formatted differently.
>>
>> I need to check to see if it is the error or not ...
>>
>> If I check for the error XML, and it is not, it errors out saying it 
>> isn't valid XML... how do you check to see if it is a particular XML 
>> document and not error if it is not?
>>
>> Make sense?
>> Paul Giesenhagen
>> QuillDesign
>> 417-885-1375
>> http://www.quilldesign.com
>>
>>
>>
>>
>>
>>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223180
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to