Hi, I'm having a namespace problem with an Xalan extension function. I've written and extension function for the Xalan transformer and I'm doing a SOAP Messaging request to put an XML document fragment into the source tree. I'm returning a org.w3c.dom.Node and hoping it is cast as a NodeIterator. Within my XSL stylesheet I'm trying to copy the fragment into the result tree with a copy-of. The problem is the namespace attribute for SOAP-ENV is not getting correctly set. I'm getting: xmlns:SOAP-ENV="... and xmlns:nxmlns:SOAP-ENV=" <?xml version="1.0" encoding="UTF-8"?><samples xmlns:java="http://xml.apache.org/xslt/java" xmlns:xlink="http://www.w3.org/1999/xlink"> <group name="SIM Query Results"><SOAP-ENV:Body> <query> <results type="SOAP"> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"> <SOAP-ENV:Body> <ns1:getAllListingsResponse SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml" xmlns:ns1="urn:AddressFetcher" xmlns:xmlns:ns1="urn:AddressFetcher"> <return> <AddressBook> I've tried this same extension within Xalan 2.2 D9 and is works fine, it only when I try to run it within the XSLT transformer in Cocoon 2.2 Any idea? Tim --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>