I have put together a custom script to create an XML document from the input stream and can write it back out as an XML document. What I need is to write that document as a string to a process property and think I'm making this too difficult. I was trying to use a transformerfactory that requires a w3c doc and trying to convert from jdom to w3c but finally gave up on that. There has to be an easy way to do this. Can someone enlighten me?