private XmlElement ProcessCompoundKeyword(ParseTree sqlTree, string newElementName, ref int tokenID, XmlElement currentContainerElement, int compoundKeywordCount, List<int> compoundKeywordTokenCounts, List<string> compoundKeywordRawStrings) { XmlElement newElement = sqlTree.CreateElement(newElementName); newElement.InnerText = GetCompoundKeyword(ref tokenID, compoundKeywordCount, compoundKeywordTokenCounts, compoundKeywordRawStrings); sqlTree.CurrentContainer.AppendChild(newElement); return newElement; }