/// <summary> /// Stores the <see cref="XliffElement"/> as a child of this <see cref="XliffElement"/>. /// </summary> /// <param name="info">The object to add.</param> /// <returns>True if the child was stored, otherwise false.</returns> protected override bool StoreChild(ElementInfo info) { ArgValidator.ParentIsNull(info.Element); Utilities.SetParent(info.Element, this); if (info.Namespace == null) { XmlNameInfo name; name = new XmlNameInfo(info.Prefix, NamespaceValues.Core, info.LocalName); info = new ElementInfo(name, info.Element); } this.children.Value.Add(info); return(true); }