Replaced XSLT by ERB