adam_j_bradley wrote:
Dan,

Thanks for the tip, getting closer! One thing I want to now have is for all
the ">" symbols to be converted to ">" to mimic the behavior of the
existing Web Service client (C# based).

Any thoughts on how I might do that?

It shouldn't be necessary - both forms are equivalent XML and will come out the same at the other end. The only characters that absolutely must be escaped in XML are < (&lt;) and & (&amp;), plus and single or double quotes that occur in attribute values delimited by the same type of quote (i.e. attr="&quot;" is the same as attr='"', attr='&apos;' is the same as attr="'"). Many processors also escape > (&gt;) and non-attribute ' and " characters, but that isn't required by the spec. Either way, all the escaping will have been removed by the time the other end sees the value.

Ian

--
Ian Roberts               | Department of Computer Science
[EMAIL PROTECTED]  | University of Sheffield, UK

Reply via email to