How to exclude namespaces from xsl transform output

posted in: Uncategorized | 0

BronwenWeeGo.jpgBit rusty on the old xsl transforms…but i had a case today where i needed to add a namespace to search one file, but my output file i need to not have that namespace.  It’s actually really easy, once you read the doco…use the exclude-result-prefixes attribute e.g.

xmlns:ns1= exclude-result-prefixes=”ns1