Encode a block tree as XML.
The workspace containing blocks.
Optional
True if the encoder should skip the block IDs.
XML DOM element.
Encode a block tree as XML.