public static void AddDocumentNode(XmlNode parent, ComponentRenderType outputType, string value) { XmlElement text = parent.OwnerDocument.CreateElement(UADataType.UAString.ToString()); text.InnerText = value; text.SetAttribute(DecoratorTags.OutputDecorator, ComponentRenderType.Title.ToString()); parent.InsertBefore(text, parent.FirstChild); }