Write this SvgElement out using a given XmlWriter.
public virtual void Write(XmlWriter writer)
The XmlWriter to use.
Recommendation is to create an XmlWriter by calling a factory method,
e.g. System.Xml.XmlWriter.Create(System.IO.Stream),
as per Microsoft documentation.
However, unlike an System.Xml.XmlTextWriter created via 'new XmlTextWriter()',
a factory-constructed XmlWriter will not flush output until it is closed
(normally via a using statement), or unless the client explicitly calls System.Xml.XmlWriter.Flush.