AODL.Document.Styles.TextStyle.NewXmlNode C# (CSharp) Method

NewXmlNode() private method

Create the XmlNode that represent the Style element.
private NewXmlNode ( string name ) : void
name string The style name.
return void
		private void NewXmlNode(string name)
		{			
			this.Node		= this.Document.CreateNode("style", "style");
			
			XmlAttribute xa = this.Document.CreateAttribute("name", "style");
			xa.Value		= name;
			this.Node.Attributes.Append(xa);

			xa				= this.Document.CreateAttribute("family", "style");
			xa.Value		= FamiliyStyles.Text;
			this.Node.Attributes.Append(xa);
		}