Subject:exclude-result-prefixes Author:Elias Huter Date:30 Mar 2007 06:04 AM
Hi,
I have a problem with "exclude-result-prefixes" and can't see the error. I would expect the function to remove the prefix and the namespace from the output XML but it doenst seem to work.
Subject:exclude-result-prefixes Author:(Deleted User) Date:30 Mar 2007 07:49 AM
Hi Elias,
exclude-result-prefixes removes the *unused* namespace definition from the output; in your case you are generating a node that is in the "a" namespace, so "a" has to be defined.
You will have to decide whether the output node has to be inside a namespace; in this case, if you don't want it to be called "a" you can use namespace-alias to rename it.