I have an xml file nodes structure like this
<Employee>
<EmpId></EmpId>
<EmpName></EmpName>
<Salary>
<Basic></Basic>
<HRA></HRA>
</Salary>
<Qualifications>
<Course>
<Name></Name>
<Year></year>
</course>
<Course>
<Name></Name>
<Year></year>
</course>
<Course>
<Name></Name>
<Year></year>
</course>
</Qualifications>
<Employee>
From this file i want to get an absoulte xpath of any given element name(Not XElement) using XmlDocument or XDocument.
How to do it?
For simple XML without namespaces try this: