Encode a block subtree as XML.
The root block to encode.
Optional
True if the encoder should skip the block ID.
Tree of XML elements or an empty document fragment if the block was an insertion marker.
Encode a block subtree as XML.