<iterator-tree description="main query">
  <SequentialIterator>
    <CtxVarDeclareIterator varid="4" varname="input-context"/>
    <IfThenElseIterator>
      <TypedValueCompareIterator_INTEGER>
        <FnCountIterator>
          <FLWORIterator>
            <ForVariable name="f">
              <NodeDistinctIterator allow-atomics="false" check-only="false">
                <DescendantAxisIterator test-kind="match_name_test" qname="*" typename="*" nill-allowed="false">
                  <TreatIterator type="[NodeXQType anyNode content=[XQType ANY_TYPE_KIND*]]" quant="*">
                    <CtxVarIterator varid="4" varname="input-context" varkind="global"/>
                  </TreatIterator>
                </DescendantAxisIterator>
              </NodeDistinctIterator>
            </ForVariable>
            <WhereClause>
              <FnBooleanIterator>
                <ChildAxisIterator test-kind="match_name_test" qname="xs:QName(,,File)" typename="*" nill-allowed="false">
                  <ForVarIterator varname="f"/>
                </ChildAxisIterator>
              </FnBooleanIterator>
            </WhereClause>
            <ReturnClause>
              <ChildAxisIterator test-kind="match_name_test" qname="xs:QName(,,File)" typename="*" nill-allowed="false" target_position="0">
                <ForVarIterator varname="f"/>
              </ChildAxisIterator>
            </ReturnClause>
          </FLWORIterator>
        </FnCountIterator>
        <FnCountIterator>
          <NodeDistinctIterator allow-atomics="false" check-only="false">
            <FLWORIterator>
              <ForVariable name="$$context-item">
                <NodeDistinctIterator allow-atomics="false" check-only="false">
                  <DescendantSelfAxisIterator test-kind="match_anykind_test" qname="*" typename="*" nill-allowed="false">
                    <TreatIterator type="[NodeXQType anyNode content=[XQType ANY_TYPE_KIND*]]" quant="*">
                      <CtxVarIterator varid="4" varname="input-context" varkind="global"/>
                    </TreatIterator>
                  </DescendantSelfAxisIterator>
                </NodeDistinctIterator>
              </ForVariable>
              <ReturnClause>
                <ChildAxisIterator test-kind="match_name_test" qname="xs:QName(,,File)" typename="*" nill-allowed="false" target_position="0">
                  <ForVarIterator varname="$$context-item"/>
                </ChildAxisIterator>
              </ReturnClause>
            </FLWORIterator>
          </NodeDistinctIterator>
        </FnCountIterator>
      </TypedValueCompareIterator_INTEGER>
      <ElementIterator>
        <SingletonIterator value="xs:QName(,,Same)"/>
      </ElementIterator>
      <ElementIterator>
        <SingletonIterator value="xs:QName(,,notSame)"/>
      </ElementIterator>
    </IfThenElseIterator>
  </SequentialIterator>
</iterator-tree>
<iterator-tree description="main query">
  <FnConcatIterator/>
</iterator-tree>
<iterator-tree description="main query">
  <SequentialIterator>
    <CtxVarDeclareIterator varid="4" varname="xxx-func-name"/>
    <TreatIterator type="xs:QName" quant="">
      <CtxVarIterator varid="4" varname="xxx-func-name" varkind="global"/>
    </TreatIterator>
    <CtxVarDeclareIterator varid="5" varname="arg0"/>
    <FLWORIterator>
      <ForVariable name="temp_invoke_var1">
        <CtxVarIterator varid="4" varname="xxx-func-name" varkind="global"/>
      </ForVariable>
      <ReturnClause>
        <EvalIterator>
          <ConcatStrIterator>
            <SingletonIterator value="xs:string(Q{)"/>
            <FnStringIterator>
              <NamespaceUriFromQNameIterator>
                <ForVarIterator varname="temp_invoke_var1"/>
              </NamespaceUriFromQNameIterator>
            </FnStringIterator>
            <SingletonIterator value="xs:string(})"/>
            <FnStringIterator>
              <LocalNameFromQNameIterator>
                <ForVarIterator varname="temp_invoke_var1"/>
              </LocalNameFromQNameIterator>
            </FnStringIterator>
            <SingletonIterator value="xs:string(($temp_invoke_var2))"/>
          </ConcatStrIterator>
          <ForVarIterator varname="temp_invoke_var1"/>
          <CtxVarIterator varid="5" varname="arg0" varkind="global"/>
        </EvalIterator>
      </ReturnClause>
    </FLWORIterator>
  </SequentialIterator>
</iterator-tree>
<iterator-tree description="main query">
  <FnParseXmlIterator>
    <PromoteIterator type="xs:string">
      <FnDataIterator>
        <CtxVarIterator varid="7" varname="temp_invoke_var2" varkind="global"/>
      </FnDataIterator>
    </PromoteIterator>
  </FnParseXmlIterator>
</iterator-tree>
