<?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: How to generate XML Attributes</title><link>https://www.infopathdev.com:443/forums/thread/24617.aspx</link><pubDate>Wed, 21 Nov 2007 16:23:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24617</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24617.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24617</wfw:commentRss><description>&lt;p&gt;Hi Klaad,&lt;/p&gt;
&lt;p&gt;It would be easier to answer this if we could see the&amp;nbsp; code you&amp;#39;ve already written.&amp;nbsp; However, in C# you will do something like this:&lt;/p&gt;
&lt;p&gt;IXMLDOMDocument tempDom = thisXDocument.CreateDOM();&lt;/p&gt;
&lt;p&gt;tempDom.LoadXml( &amp;quot;&amp;lt;hous rooms=&amp;#39;4&amp;#39;&amp;gt;&amp;lt;price perMonth=&amp;#39;1000&amp;#39; avoidable=&amp;#39;No&amp;#39;/&amp;gt;&amp;lt;/house&amp;gt;&amp;quot; );&lt;/p&gt;
&lt;p&gt;Or you can actually create the attribute nodes by calling .CreateAttribute() on the Document object.&lt;/p&gt;</description></item><item><title>How to generate XML Attributes</title><link>https://www.infopathdev.com:443/forums/thread/24437.aspx</link><pubDate>Wed, 14 Nov 2007 14:47:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24437</guid><dc:creator>Klaad</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24437.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24437</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="ForumPostBodyArea"&gt;
									    &lt;div class="ForumPostContentText"&gt;
										    &lt;p&gt;I want to generate a simple XML like this:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;house rooms=&amp;quot;4&amp;quot;&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;price perMonth=&amp;quot;1000&amp;quot; avoidable=&amp;quot;No&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;/house&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Something easy like this., I can&amp;#39;t find the way to create the attributes (the rooms=&amp;quot;4&amp;quot; thing)&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is it possible to do this? If so, how do i do it?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks in advance &lt;br /&gt;&lt;/p&gt;
										    
									    &lt;/div&gt;
									    
									    &lt;/div&gt;</description></item></channel></rss>