php's xslt processor is being lame.
php's xslt processor is being lame.
Out of context: Reply #4
- Started
- Last post
- 4 Responses
- openmind0
opps. seems this forum won't let me post the code check this out
Hi,
I've often had the same prob, I think what you need to do is
xsl:apply-templates select="myNode"
where myNode is the element where you wish to restrict the template transformation to. If you just have
xsl:apply-templates
it will apply it to the root node and you will get repetition of all your other nodes.
hope it helps
also check out
www.w3schools.comthey have a great xml and xslt tutorials.