RE: XML Question

2012-02-06 Thread ifumust
Learning all the time...awesome thanks! -Original Message- From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Bill McCarthy Sent: Tuesday, 7 February 2012 10:48 AM To: 'ozDotNet' Subject: RE: XML Question I'm guessing form the origina

RE: XML Question

2012-02-06 Thread Bill McCarthy
|From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet- |boun...@ozdotnet.com] On Behalf Of Al Gonzalez |Sent: Tuesday, 7 February 2012 9:14 AM |To: ozdotnet@ozdotnet.com |Subject: Re: XML Question | |Is this what you are trying to do: | |static void TestLinq2XMLSelectUsingAttributeValue() |{ |X

Re: XML Question

2012-02-06 Thread Al Gonzalez
Is this what you are trying to do: static void TestLinq2XMLSelectUsingAttributeValue() { XElement credentials = new XElement("Credentials", MakeCredentialElement("yyyS", "7118"), MakeCredentialElement("CompanyName", "Services Pty Ltd"), MakeCredentialElement("ABN", "12

Re: XML Question

2012-02-06 Thread Arjang Assadi
t; *Sent:* Tuesday, 7 February 2012 8:29 AM > > *To:* ozDotNet > *Subject:* Re: XML Question > > ** ** > > http://msdn.microsoft.com/en-us/library/bb387086.aspx > > On 7 February 2012 08:25, wrote: > > Any code on how i would do this, fairly new to linq**

RE: XML Question

2012-02-06 Thread ifumust
Thank you J From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Arjang Assadi Sent: Tuesday, 7 February 2012 8:29 AM To: ozDotNet Subject: Re: XML Question http://msdn.microsoft.com/en-us/library/bb387086.aspx On 7 February 2012 08:25, wrote: Any code

Re: XML Question

2012-02-06 Thread Arjang Assadi
t; *Sent:* Tuesday, 7 February 2012 8:23 AM > *To:* ozDotNet > *Subject:* Re: XML Question > > ** ** > > Rather than working by index, look at the attribute value for > Credential.domain, > > ignore the Credentials where the "domain" attribute

RE: XML Question

2012-02-06 Thread ifumust
Any code on how i would do this, fairly new to linq From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Arjang Assadi Sent: Tuesday, 7 February 2012 8:23 AM To: ozDotNet Subject: Re: XML Question Rather than working by index, look at the attribute value

Re: XML Question

2012-02-06 Thread Arjang Assadi
Rather than working by index, look at the attribute value for Credential.domain, ignore the Credentials where the "domain" attribute is not BranchID. On 7 February 2012 08:00, wrote: > > > 7118 > > > > > > Services Pty Ltd***