<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Copying XHTML content</title><link>https://www.infopathdev.com:443/forums/thread/42842.aspx</link><pubDate>Fri, 12 Jun 2009 10:41:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42842</guid><dc:creator>TerryB</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42842.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=42842</wfw:commentRss><description>&lt;p&gt;Hi guys,&lt;/p&gt;
&lt;p&gt;I have a node with XHTML content in it. I need to set this content into another node using JavaScript but I can&amp;#39;t work out the last step.&lt;/p&gt;
&lt;p&gt;In order to get the relevant XHTML information out I have to use &amp;quot;.xml&amp;quot; because &amp;quot;.text&amp;quot; strips the XHTML information, but when I try and set it into the receiver node, &amp;quot;.xml&amp;quot; is get only and &amp;quot;.text&amp;quot; still strips this information. I have also tried &amp;quot;.nodeValue&amp;quot; but I get a type mismatch even though both nodes are set as rich text nodes in InfoPath.&lt;/p&gt;
&lt;p&gt;Does anyone have any ideas about this?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item></channel></rss>