AODL.Document.Content.Text.FormatedText.NewXmlNode C# (CSharp) Method

NewXmlNode() private method

Create a new XmlNode.
private NewXmlNode ( string stylename ) : void
stylename string The stylename which should be referenced with this FormatedText.
return void
		private void NewXmlNode( string stylename)
		{			
			this.Node		= this.Document.CreateNode("span", "text");
			XmlAttribute xa = this.Document.CreateAttribute("style-name", "text");
			xa.Value		= stylename;

			this.Node.Attributes.Append(xa);
		}