Enterprise Library 5.0 Text Formatter as XML format

Feb 18, 2011 at 1:38 AM

Hi,

I trying to format the Text Format of Enterprise Library 5.0 as below:

<message>{message}</message>.... and sent to MSMQ.

When I receive from Message Queuing, the format is changed.

It's became as below:

3C 3F 78 6D 6C 20 76 65 <?xml ve
72 73 69 6F 6E 3D 22 31 rsion="1
2E 30 22 3F 3E 0D 0A 3C .0"?>..<
73 74 72 69 6E 67 3E 26 string>&
6C 74 3B 54 69 6D 65 73 lt;Times
74 61 6D 70 26 67 74 3B tamp&gt;
32 2F 31 38 2F 32 30 31 2/18/201
31 20 32 3A 30 35 3A 31 1 2:05:1
31 20 41 4D 26 6C 74 3B 1 AM&lt;
2F 54 69 6D 65 73 74 61 /Timesta
6D 70 26 67 74 3B 0A 26 mp&gt;

 

Can anybody help?? Thanks.