1

2

3

4 Fragment

Can be wrapped instead of div

You don’t have to wrap a div once in the diagram because when you parse, the Fragment gets thrown away and you don’t see anything wrapped around it

The same solution can be used with empty labels

The difference between

Fragments can write key values (the Fragment hierarchy is eventually discarded so writing other attributes makes no sense, does not receive and will report errors), but empty tags cannot write any attributes

The key value is required to participate in the traversal and the other times the blank label is ok

5

6

7

8

9