I have a xml document which opens fine in IE

But when I try and use The prepared_document sp it complains about the parser

I have stepped threw the code(Using c#) and I think the problem may be with some attributes in my document they now seem to have escape characters around them which is causing the problem

Can anyone help??