System.Xml.Xsl.Xslt.XsltLoader.XslForEach C# (CSharp) Method

XslForEach() private method

private XslForEach ( ) : XslNode
return XslNode
        private XslNode XslForEach()
        {
            ContextInfo ctxInfo = _input.GetAttributes(_forEachAttributes);

            string select = ParseStringAttribute(0, "select");
            // The current template rule becomes null, so we must not allow xsl:apply-import's within this element
            _input.CanHaveApplyImports = false;
            List<XslNode> content = LoadInstructions(InstructionFlags.AllowSort);
            ctxInfo.SaveExtendedLineInfo(_input);

            return SetInfo(f.ForEach(select, ctxInfo, _input.XslVersion),
                content, ctxInfo
            );
        }