User Help > Working With Documents > Branching Documents > Creating Branched Documents using Filtered Query Definition > Example: Including or Excluding Hierarchical Content in a Branched Document
  
Example: Including or Excluding Hierarchical Content in a Branched Document
When creating branched documents using filtering options, you can include or exclude parent or child nodes from the input document in the branched document
The use cases mentioned below show the output of the branched document that is created when you use filtering options with the includeHierarchicalContent or noincludeHierarchicalContent options.
Case 1: Parent nodes included in the branched document
Case 2: Parent nodes not included in the branched document