static void Main(string[] args) { Console.WriteLine("***** A Tale of Two XML APIs *****"); BuildXmlDocWithDOM(); BuildXmlDocWithLINQToXml(); // Test functionality from the VB library in this solution. VbXmlLiteralLibrary.XmlLiteralExample vbXml = new VbXmlLiteralLibrary.XmlLiteralExample(); vbXml.MakeXmlFileUsingLiterals(); Console.WriteLine("XML data saved to output directory."); // Delete a node. DeleteNodeFromDoc(); Console.ReadLine(); }
static void Main(string[] args) { Console.WriteLine("***** A Tale of Two XML APIs *****"); BuildXmlDocWithDOM(); BuildXmlDocWithLINQToXml(); // Test functionality from the VB library in this solution. VbXmlLiteralLibrary.XmlLiteralExample vbXml = new VbXmlLiteralLibrary.XmlLiteralExample(); vbXml.MakeXmlFileUsingLiterals(); Console.WriteLine("XML data saved to output directory."); // Delete a node. DeleteNodeFromDoc(); Console.ReadLine(); }