Functions

Naive implementation of pretty XML. Not so accurate, but readable and fast.