How do i use linq to select an elementbased on an attribute in a repeating section?
This works Linq.XElement.Parse(sXML).<Header>.<From>.<Credential[3]>.Identity but assumes its the 3rd one! Can i select where domain="BranchID" <XML> <Header> <From> <Credential domain="Name"> <Identity>Hello Australia Limited</Identity> </Credential> <Credential domain="N"> <Identity>320</Identity> </Credential> <Credential domain="BranchID"> <Identity>6043</Identity> </Credential> <Credential domain="BranchName"> <Identity>CENTRE</Identity> </Credential> <Credential domain="BranchEmail"> <Identity>m...@ss.com.au</Identity> </Credential> Thanks in advance :-) Is your website being IntelliXperienced? <http://www.intellixperience.com/signup.aspx> | www.yougoingmyway.com ? regards Anthony (*12QWERNB*) Is your website being IntelliXperienced?