Solved

XML serialization/deserialization

Posted on 2004-04-12
5
646 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
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 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