Dynamic XSL

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
EarlyBird
Forum Newbie
Posts: 1
Joined: Mon Mar 31, 2008 5:51 pm

Dynamic XSL

Post 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>?
Post Reply