converting REXML to libxml

Hello,

REXML has been dog slow for us, and my tests with libxml are faster. Does anybody know how to incorporate libxml directly into the views for parsing and rendering instead of xml.builder ?

Thanks Adam