public INodeWriter CreateElement(string name, ISerialiserNode parentNode) { var newbornElement = document.CreateElement(name); parentNode.AppendChild(name); var newborn = new NXmlNodeWriter(parentNode.Depth + 1, name); newborn.BeginWrite(streamWriter); return(newborn); }
public INodeWriter CreateElement(string name, ISerialiserNode parentNode) { var newbornElement = document.CreateElement(name); parentNode.AppendChild(name); var newborn = new NXmlNodeWriter(parentNode.Depth + 1, name); newborn.BeginWrite(streamWriter); return newborn; }