<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Escaping HTML entities</title><link>https://www.infopathdev.com:443/forums/thread/64938.aspx</link><pubDate>Mon, 07 Mar 2011 20:52:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64938</guid><dc:creator>Josee Sevigny</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64938.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=64938</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m adding a few links to other threads that have the same issue. No viable solution has been found so far.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/forums/t/18441.aspx"&gt;http://www.infopathdev.com/forums/t/18441.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/forums/p/10308/36917.aspx"&gt;http://www.infopathdev.com/forums/p/10308/36917.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Escaping HTML entities</title><link>https://www.infopathdev.com:443/forums/thread/63224.aspx</link><pubDate>Sat, 15 Jan 2011 14:33:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63224</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63224.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=63224</wfw:commentRss><description>&lt;p&gt;Hi HighlandGirl5,&lt;/p&gt;
&lt;p&gt;I think you may have stumbled on a bug in how InfoPath handles the escaped data. The code is un-escaping it but the InfoPath UI doesn&amp;#39;t - it just treats it as a string. It&amp;#39;s possible there is some kind of encoding trick that would help here. We at Qdabra have this Active Directory Web Service (ADWS) that I believe works fine in the same situation so it might have something to do with how GetUserProfileName is working internally. &lt;/p&gt;
&lt;p&gt;Sorry I can&amp;#39;t be more helpful - as far as I know you are the first to find this issue. &lt;/p&gt;
&lt;p&gt;Clayton Cobb has a great website &amp;quot;Clayton&amp;#39;s SharePoint Madness&amp;quot; that has a lot of tips including how to use GetUserProfileByName. He may have run into this issue before. Might be worth emailing him. He also frequents this forum. &lt;/p&gt;</description></item><item><title>Escaping HTML entities</title><link>https://www.infopathdev.com:443/forums/thread/63058.aspx</link><pubDate>Tue, 11 Jan 2011 16:54:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63058</guid><dc:creator>Josee Sevigny</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63058.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=63058</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I have a 2007 filler form where I populate user information through a data connection to the GetUserProfilebyName web service. When the name contains an apostrophe, such as O&amp;#39;brian, it comes back as O&amp;amp;#39;brian. When the department contains an ampersand, such as A&amp;amp;A, it comes back as A&amp;amp;amp;A.&lt;/p&gt;
&lt;p&gt;When displaying these values through controls on the form or through a rule message box, the HTML entities show as is. However, when I use the same data connection through code to populate a dropdown list, it comes out fine.&lt;/p&gt;
&lt;p&gt;What would be the best way to escape these values. Is there a configutation setting I may have missed?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thanks for any&amp;nbsp;help you may offer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>