AODL.Document.Content.Tables.Table.NewXmlNode C# (CSharp) Method

NewXmlNode() private method

Create a new Xml node.
private NewXmlNode ( string name, string styleName ) : void
name string The name.
styleName string Name of the style.
return void
		private void NewXmlNode(string name, string styleName)
		{
			this.Node		= this.Document.CreateNode("table", "table");

			XmlAttribute xa = this.Document.CreateAttribute("style-name", "table");
			xa.Value		= styleName;
			this.Node.Attributes.Append(xa);

			xa = this.Document.CreateAttribute("name", "table");
			xa.Value		= name;
			this.Node.Attributes.Append(xa);
		}