Customisability & formatting.

* Added option for custom step & depth
* Removed xmlns stuff since it breaks strings quoting those vals.