Exemplo n.º 1
0
                public Writer(Builder builder, DeferredNavigator nodeNavigator)
                    : base(builder)
                {
                    this.nodeNavigator = nodeNavigator;

                    // using an XmlWriterSettings with ConformanceLevel = Fragment
                    // enables this instance to be wrapped by XmlWellFormedWriter
                    // see XmlWriterSettings.AddConformanceWrapper

                    this.settings = new XmlWriterSettings {
                        ConformanceLevel = ConformanceLevel.Fragment
                    };
                }
Exemplo n.º 2
0
                public Writer(Builder builder, DeferredNavigator nodeNavigator)
                    : base(builder)
                {
                    this.nodeNavigator = nodeNavigator;

                       // using an XmlWriterSettings with ConformanceLevel = Fragment
                       // enables this instance to be wrapped by XmlWellFormedWriter
                       // see XmlWriterSettings.AddConformanceWrapper

                       this.settings = new XmlWriterSettings {
                      ConformanceLevel = ConformanceLevel.Fragment
                       };
                }