Showing posts with label namespaces. Show all posts
Showing posts with label namespaces. Show all posts

Thursday, 7 July 2011

[SOLVED] How To Stop XSL Outputting Unwanted Namespaces


Unwanted namespace in transformed XML
I'm using XSL quite a lot now and several times I've had an issue with namespaces in the output XML/XHTML. In particular if you're using xpath-functions then you might have the xmlns:fn namespace finding it's way into your output. I've finally found the solution and though I'd better post it before  I forget it.

Lets see some an example of the problem.