It uses xml_builder for generation, hence it differs from earmark AST (I believe floki leverages the latter.)
OTOH, the traversing/mapping the result to earmark AST should be trivial.
It uses xml_builder for generation, hence it differs from earmark AST (I believe floki leverages the latter.)
OTOH, the traversing/mapping the result to earmark AST should be trivial.