/// <summary>Create a new <c>Item</c> AML tag</summary> /// <param name="content">The initial content of the elment (attributes, elements, or values)</param> public IItem Item(params object[] content) { var type = content .OfType <IReadOnlyAttribute>() .FirstOrDefault(a => a.Name == "type"); if (type != null) { var result = ItemFactory.NewItem(this, type.Value); if (result != null) { result.Add(content); return(result); } } return(new Item(this, content)); }