I have a xml file e.g. like this:
<?xml version="1.0" encoding="UTF-8"?>
    <Request>
        <Authenticate>
            <Username>Username</Username>
            <Token>Token</Token>
        </Authenticate>
        <Fields>
            <Group name="test">
                <Field>
                    <Name>Field 1</Name>
                    <Type>string</Type>
                </Field>
                <Field>
                    <Name>Field 2</Name>
                    <Type>string</Type>
                </Field>
            </Group>
            <Group name="Group 2">
                <Field>
                    <Name>Field 3</Name>
                    <Type>string</Type>
                </Field>
                <Field>
                    <Name>Field 4</Name>
                    <Type>string</Type>
                </Field>
            </Group>
        </Fields>
    </Request>
And I want to parse this in C#.Net I think I can do this like this:
XmlReader reader = XmlReader.Create(FilePath);
while(reader.Read()) {}
But how can I access the nodes?
And also the name of the group? <Group name="Group 2">
Can anyone help me?
Thanks
 
     
     
     
    