I simply want to control the prefixing so that its consistent
throughout
the document. I'm not trying to change the namespace. I'm trying to
maintain the same namespace and prefixing across both the source and
result documents.
OK, I understand it better now.
In theory, XSLT gives you no control over the prefix used by the
serializer in the result document. In practice, however, processors will
use the "original" prefix if they can. The cases where they have
difficulty doing this are (a) if you have used two different prefixes
for the same namespace (e.g. one in the stylesheet and one in the source
document - one might be the default prefix "") or (b) if you have used
two different namespaces with the same prefix (usually "").
Michael Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list