LINQ to XML query

Posted by ile on Stack Overflow See other posts from Stack Overflow or by ile
Published on 2010-05-10T09:54:15Z Indexed on 2010/06/17 22:13 UTC
Read the original article Hit count: 272

Filed under:
|

Here I had very similar xml structure, but now I have this:

<Fields>
    <Company>My Company</Company>
    <Address2>Villa at beach</Address2>
    <Email2>[email protected]</Email2>
    <Mobile>333-888</Mobile>
    <ContactMethod>Facebook</ContactMethod>
</Fields>

And now I need the same output as on the given link: Company: My Company
Address2: Villa at beach
Email2: [email protected]

What would be the query for it?

Thanks,
Ile

© Stack Overflow or respective owner

Related posts about query

Related posts about linq-to-xml