Jeroen Beerstra
Jeroen Beerstra

Reputation: 190

php xslt transformation always adds xmlns=""

Somehow my xslt transformation with php always adds xmlns="" as an attribute to all root elements. Is there a way to prevent this?

Upvotes: 0

Views: 353

Answers (1)

dkackman
dkackman

Reputation: 15579

In your XSLT try:

<xsl:stylesheet exclude-result-prefixes="#default">

Upvotes: 3

Related Questions