views:

98

answers:

1

Guess the title says it al, somehow my xslt transformation with php always adds xmlns="" as an attribute to all root elements. Is there a way to prevent this?

+3  A: 

In your XSLT try:

<xsl:stylesheet exclude-result-prefixes="#default">
dkackman
thanks, however switching to xsl:element seems to have solved my problem also ... guess I really need to do some reading ;)
Jeroen Beerstra