Uses libxmljs for bb file parsing with templates.