I've spoken with them and it turns out their documentation is out of date.
The < & and > was put in place for people manually generating
XML files and not using something like the serializer. They now accept the
standard translation so I can undo my changes.
"Peter Flynn" <pe********@m.silmaril.ie> wrote in message
news:4b*************@individual.net...
jamie wrote: My data may contain the characters < ,&, and > The system I'm sending
them to wants them to be changed to < & and > respectivily.
It shouldn't need to for > because that's not a markup character,
it's just data when it occurs in normal text; but maybe the target
system doesn't know that.
So I had gone into the data and was changing them over in the code.
However when they hit the serializer I end up with
&#60; &#38; and &#62;
How can I prevent the serializer from changing this incorrectly?
My guess is you shouldn't have changed them at all, because now the
& is being output as &
Before, what were they outputting as?
///Peter
--
XML FAQ: http://xml.silmaril.ie/