private static bool IsNodeSetOrRtf(IList<XPathItem> val) { CheckXsltValue(val); if (val.Count == 1) { return val[0].IsNode; } return true; }