How do i make custom blocks to xml?

[offtopic]I thought

was still in effect.[/offtopic]