<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Preserve WhiteSpaces after class is serialized</title><link>https://www.infopathdev.com:443/forums/thread/17516.aspx</link><pubDate>Fri, 03 Feb 2006 15:42:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17516</guid><dc:creator>johngidd</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17516.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17516</wfw:commentRss><description>This is more of a general question regarding VS.Net web services in general. I am familiar with the ability to preserve whitespaces in an xmldocument.  Curious if anyone here has any idea how to preserve the whitespaces for a particular class property which when serialized is stripped of any whitespaces.  I would like to preserve the string property's white space format and I do not want to use the xmldocument data structure for this particular infopath form.  As of now the method exposes a very simple class structure for simplicity. Given my limited experience with xml I first assumed there would be an element attribute to deal with this, but there is no such critter that I am aware of.   Just posting in case anyone happens to have a pointer in the right direction.</description></item></channel></rss>