Solved

XML serialization/deserialization

Posted on 2004-04-12
5
648 Views
Last Modified: 2008-03-10
How do I suppress XML Serialization from encoding the < and > 
signs to &lt; ang &gt; ? I pass XML into COM+ component and it returns result XML via Message Queue. But  < and > signs of the presult XML are replaced by &lt;
and &gt; and I cannot to deserialize xml into my objects. I can not understand where replacement is occurred...

Thank you, Dmitri
0
Comment
Question by:DemyanikDN
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 10

Accepted Solution

by:
GoodJun earned 125 total points
ID: 10805236
do a httpdecoding before run the xml deserialization.
0
 
LVL 1

Author Comment

by:DemyanikDN
ID: 10805522
It is not web application and I don't want to reference Web namespace.
0
 
LVL 1

Assisted Solution

by:rminnich
rminnich earned 125 total points
ID: 10806254
I'm not sure if you can suppress the encoding of lt ang gt, but can your application change them back upon deserialization?  I'm thinking of using String.Replace(string, string) to convert &lt; to a < and &gt; to a >
 
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question