Results 11 to 14 of 14
-
16th Jun 2010, 11:07 PM #11MemberWebsite's:
litewarez.net litewarez.com triniwarez.com****** i know that
Code:/"\ |\./| | | | | |>~<| | | /'\| |/'\.. /~\| | | | \ | =[@]= | | \ | | | | | \ | P W N D |` ) | / \ / \ / \ _____ / |--//''`\--| | (( +==)) | <=== Pwning Time xD |--\_|_//--|
Join Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
-
16th Jun 2010, 11:08 PM #12OPლ(ಠ益ಠლ)Website's:
extremecoderz.comincase there are no "nodes" - it returns and empty string ("").
-
16th Jun 2010, 11:15 PM #13Respected Developer
I'd just check that as soon as you declare list:
Code:if (list.Count == 0) return String.Empty;
-
16th Jun 2010, 11:22 PM #14OPლ(ಠ益ಠლ)Website's:
extremecoderz.comPHP Code:public string getSetting(string settingNode)
{
xmldoc.Load(xmlFile);
XmlNodeList list = xmldoc.GetElementsByTagName("Settings");
if (list.Count == 0) return String.Empty;
return searchNode.SelectSingleNode(settingNode.Replace(" ", "_")).InnerText;
}
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[PHP] Twitter Feed Reader + Caching
By Whoo in forum Web Development AreaReplies: 0Last Post: 10th Feb 2012, 06:54 PM -
RSS Reader
By TheLorenalex in forum Technical Help Desk SupportReplies: 1Last Post: 30th Oct 2011, 03:07 AM -
[Buying] RL with Newsgroup reader
By only1_PO in forum Completed TransactionsReplies: 0Last Post: 22nd Oct 2011, 07:00 PM -
Ebook reader and writer
By CatchItBaby in forum Technical Help Desk SupportReplies: 0Last Post: 25th Mar 2011, 03:02 PM -
[TUT] Creating a RSS Reader in WPF in 15 minutes
By Hyperz in forum Web Development AreaReplies: 11Last Post: 27th Jul 2010, 08:10 PM
themaLeecher - leech and manage...
Version 4.94 released. Open older version (or...