XML xpath builder code example
Example 1: XmlRegistry
JAXBContext context = JAXBContext.newInstance(Employee.class, Employee.XMLObjectFactory.class);
Example 2: c# xml file builder
Console.WriteLine(
new XElement("Foo",
new XAttribute("Bar", "some & value"),
new XElement("Nested", "data")));