CALL CopyMessageHeaders();
CREATE FIRSTCHILD OF OutputRoot.XMLNSC TYPE XMLNSC.XmlDeclaration;
SET OutputRoot.XMLNSC.(XMLNSC.XmlDeclaration)*.(XMLNSC.At ...
Thanks for the ideas... you both got me thinking about all the different things I had tried. For some reason I could not get things to work in an orderly way (I got "unexpected xml at this poin ...