>I'm using "redirect" to create a new xml instance document.
>That works fine. But I want to make the new document XML schema
>compliant. In order to do that I need to insert
>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" as a
>namespace declaration into [the document] element.
I usually suggest that you cause it to happen by inserting some
attribute in the xsi namespace on that element. Xalan will then
be forced to emit the namespace node for xsi. (Use an xsi:junk
attribute if necessary, but you probably could stand to have
xsi:noNamespaceSchemaLocation or something of that ilk anyway.)
.................David Marston