Page 1 of 1

Dynamic XSL

Posted: Mon Mar 31, 2008 5:55 pm
by EarlyBird
Hello there! I'm new to this place and pretty new to PHP so please don't go over my head with stuff!

I'm currently generating XML in my PHP using SimpleXML and then performing an XSL transformation on that XML using a second SimpleXML object. This all works fine using the XSL document I'm loading from a file, but this file is only a basic template which I want to modify. Unfortunately, however, this is also where I'm coming unstuck as the XSL namespace seems to break things!

Could someone please give me some example PHP code to show me how I would modify <xsl:stylesheet><xsl:template><html><head><title>?