<?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>Re: Append Empty Node</title><link>https://www.infopathdev.com:443/forums/thread/48216.aspx</link><pubDate>Mon, 26 Oct 2009 12:05:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48216</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48216.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=48216</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;This will do the trick:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;	var group1 = XDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:group1&amp;quot;);&lt;br /&gt;var group2 = XDocument.DOM.createNode(&amp;quot;element&amp;quot;, &amp;quot;my:group2&amp;quot;, &amp;quot;http://schemas.microsoft.com/office/infopath/2003/myXSD/2009-10-26T11:56:24&amp;quot;);&lt;br /&gt;group1.appendChild(group2);&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;You&amp;#39;ll of course need to replace the path, node name, and namespace URI with your own. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Append Empty Node</title><link>https://www.infopathdev.com:443/forums/thread/48182.aspx</link><pubDate>Fri, 23 Oct 2009 20:53:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48182</guid><dc:creator>brandtsmith</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48182.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=48182</wfw:commentRss><description>&lt;p&gt;How do you append an empty node to a data object in jscript?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>