private static string testExampleValuesAndAttributes() { return(XmlGenerator.Create() .Customer.BeginChildElements .Name("Mayr", "FirstName", "Franz") .Phone("033577021", "CountryCode", "43") .Address.BeginChildElements .Street("Street 5") .City("Linz") .Zip("4020") .EndChildElements .EndChildElements .Generate()); }
private static string testExampleNoValuesAndNoAttributes() { return(XmlGenerator.Create() .Customer .BeginChildElements .Name .Phone .Address.BeginChildElements .Street .City .Zip .EndChildElements .EndChildElements .Generate()); }