User Help > Working With Documents > Branching Documents > Creating Branched Documents using Filtered Query Definition > Example: Adding, Excluding, or Referencing Inserted and Included Documents in Branched Document > Case 4: Only Inserted document a part of the branched document
  
Case 4: Only Inserted document a part of the branched document
For the input document in the following image, the im branchsegment command is used with the norecurseInclude and recurseReference options. In the branched document that is created, only the inserted document is added with the filter criteria applied.