How to avoid avoid linebreaks and spaces for XmlWellFormedWriter
- by user302670
Hi,
i am getting an XmlWriter of the AppendChild() method of a xPathNavigator.
using (XmlWriter writer = xPathNavigator.AppendChild())
{
writer.WriteStartAttribute("name");
writer.WriteEndElement();
}
The AppendChild() method returns a instance of XmlWellFormedWriter. I want to avoid linebreaks…