TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mansoor Mohammed
NA
126
0
if exists XML Element
Mar 5 2021 9:46 PM
from the below code
How do i find, if there EXISTS an xmlElemenent MiddleName(i am not asking for value) before i evaluate it
something like if exists(MiddleName) then.....
Sometimes in my xml the attribute(not the value) might not exists
public static string ProcessXMLdata(XElement xml)
{
try
{
string processResult;
XNamespace ns = "http://schemas.datacontract.org/2004/07/BondData.Shared.DataModels.Peoplehouse";
if (xml.Element(ns + "FirstName").Value == null ||
xml.Element(ns + "LastName").Value == null ||
xml.Element(ns + "MiddleName").Value == null ||
xml.Element(ns + "ApplicantAddress").Value == null ||
Reply
Answers (
1
)
Global variable initialized when DLL is loaded.
Hi, how to do this sql in EF. Select *, (select status from tableB wh