Beispiel #1
0
        public void ScalarToXml()
        {
            var writer = new StringWriter();
            var yaml = GetDocument("test2.yaml");

            var xml = new XmlConverter().ToXml(yaml);

            xml.Save(writer);
            Dump.Write(writer);
        }
Beispiel #2
0
        public void SequenceOfMappingAndSequencesToXml()
        {
            var writer = new StringWriter();
            var yaml = GetDocument("test10.yaml");

            var xml = new XmlConverter().ToXml(yaml);

            xml.Save(writer);
            Dump.Write(writer);
        }