Hi
I need to pass some XML through an XMLMap connector, but I also want to preserve the original XML input, for later use.
My thought was to do this in a script before it hits the XMLMap
![](https://uploads-us-west-2.insided.com/cdata-en/attachment/251c0d45-cf19-4ad8-b78d-90ed2f5d25ec.png)
But I don’t know how to
- copy the Script connector input, straight out to the output
- copy the Script connector input into a message header
Thoughts