/// <summary>
        /// Gets the completion data text for the completion data items that are
        /// returned for the specified element.
        /// </summary>
        List <string> GetItems(string elementName, GetCompletionItems getCompletionItems)
        {
            List <string>  items = new List <string>();
            XmlElementPath path  = GetPath(elementName);

            foreach (ICompletionItem completionItem in getCompletionItems(path))
            {
                items.Add(completionItem.Text);
            }
            return(items);
        }
		/// <summary>
		/// Gets the completion data text for the completion data items that are
		/// returned for the specified element.
		/// </summary>
		List<string> GetItems(string elementName, GetCompletionItems getCompletionItems)
		{
			List<string> items = new List<string>();
			XmlElementPath path = GetPath(elementName);
			foreach (ICompletionItem completionItem in getCompletionItems(path)) {
				items.Add(completionItem.Text);
			}
			return items;
		}