Add join lines binding
Add xml-format fn