eXist DB or Saxon/C in PHP

Introduction: This paper discusses two possible approaches for doing XSLT 2.0 transformations on the fly on a Web (Application) Server: Saxon as a PHP extension and Saxon within the popular XML database eXist and concludes that the PHP solution is superior.