[Our posts just crossed!]
[Ooh, look, I got a green star!]
How's about trying from his example something pretty like:
IXMLDOMDocument3 domXML = (IXMLDOMDocument3) objDO.DOM;
domXML.setProperty( "SelectionNamespaces", thisXDocument.DOM.getProperty("SelectionNamespaces"));
Not tried, don't know about casting to (IXMLDOMDocument3), but the gist is I'm setting the secondary's
SelectionNamespaces property to the value of that property on the main DOM. That's what I do in script:
// Next line put in by IP
XDocument.DOM.setProperty("SelectionNamespaces", ...');
// Next line added by me (for each secondary adapter)
XDocument.GetDOM("LogonToProject").setProperty("SelectionNamespaces", XDocument.DOM.getProperty("SelectionNamespaces"));