First, we have to set up our engine to process every *.xml file on web server. We use following Apache directives: AddHandler ae_xslt xml # we add handler 'ae_xslt' associated with xml files Action ae_xslt /ae-xslt.php # we set our script '/ae-xslt.php' with handler 'ae_xslt' # thus every *.xml file should pass through our script '/ae-xslt.php' DirectoryIndex index.xml index.php index.html # addin