It happens with any tree structure. E.g. I used to work on a system that managed reinsurance contracts and represented them as trees of contracts.
<contract><contract><contract><contract> […] ...
</contract>
</subcontracts>
</content>
</contract>
</subcontracts>
</content>
</contract>