<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to create XML file from scratch?	</title>
	<atom:link href="https://simpleexcelvba.com/how-to-create-xml-file-from-scratch/feed/" rel="self" type="application/rss+xml" />
	<link>https://simpleexcelvba.com/how-to-create-xml-file-from-scratch/</link>
	<description>Make your office life easier with simple and fast Excel VBA solutions.</description>
	<lastBuildDate>Tue, 03 Aug 2021 11:59:16 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Tomasz Płociński		</title>
		<link>https://simpleexcelvba.com/how-to-create-xml-file-from-scratch/#comment-11055</link>

		<dc:creator><![CDATA[Tomasz Płociński]]></dc:creator>
		<pubDate>Sun, 01 Aug 2021 11:37:53 +0000</pubDate>
		<guid isPermaLink="false">https://simpleexcelvba.com/?p=561#comment-11055</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://simpleexcelvba.com/how-to-create-xml-file-from-scratch/#comment-10681&quot;&gt;Karol&lt;/a&gt;.

Appreciate your input Karol! :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://simpleexcelvba.com/how-to-create-xml-file-from-scratch/#comment-10681">Karol</a>.</p>
<p>Appreciate your input Karol! 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Karol		</title>
		<link>https://simpleexcelvba.com/how-to-create-xml-file-from-scratch/#comment-10681</link>

		<dc:creator><![CDATA[Karol]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 11:01:19 +0000</pubDate>
		<guid isPermaLink="false">https://simpleexcelvba.com/?p=561#comment-10681</guid>

					<description><![CDATA[I rather print the document using DOM printer. Roughly:
Dim xmlDoc As Object, root As Object
Dim nod0, nod1, nod2, nod3... As Object

Set xmlDoc = CreateObject(&quot;MSXML2.DOMDocument&quot;)
&#039;encoding
Set xmlNode = xmlDoc.createProcessingInstruction(&quot;xml&quot;, &quot;cersion=&#039;1.0&#039;encoding = &quot;&#039;UTF-8&#039;&quot;)
Set xmlNode = xmlDoc .InsertBefore(xmlNode, xmlDoc.ChildNodes.Item(0))
&#039; children
Set nod0 = xmlDoc.crreateElement(&quot;Root&quot;)
xmlDoc.appendChild nod0
Set nod1 = xmlDoc.createElement(&quot;childOne&quot;)
nod0.appendChild nod1
&#039;etc etc
xmlDoc.Save PATH_TO_SAVE_XML_FILE


You can add atrtibutes by SetAttribute and node value by node.text]]></description>
			<content:encoded><![CDATA[<p>I rather print the document using DOM printer. Roughly:<br />
Dim xmlDoc As Object, root As Object<br />
Dim nod0, nod1, nod2, nod3&#8230; As Object</p>
<p>Set xmlDoc = CreateObject(&#8220;MSXML2.DOMDocument&#8221;)<br />
&#8216;encoding<br />
Set xmlNode = xmlDoc.createProcessingInstruction(&#8220;xml&#8221;, &#8220;cersion=&#8217;1.0&#8217;encoding = &#8220;&#8216;UTF-8&#8242;&#8221;)<br />
Set xmlNode = xmlDoc .InsertBefore(xmlNode, xmlDoc.ChildNodes.Item(0))<br />
&#8216; children<br />
Set nod0 = xmlDoc.crreateElement(&#8220;Root&#8221;)<br />
xmlDoc.appendChild nod0<br />
Set nod1 = xmlDoc.createElement(&#8220;childOne&#8221;)<br />
nod0.appendChild nod1<br />
&#8216;etc etc<br />
xmlDoc.Save PATH_TO_SAVE_XML_FILE</p>
<p>You can add atrtibutes by SetAttribute and node value by node.text</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Tomasz Płociński		</title>
		<link>https://simpleexcelvba.com/how-to-create-xml-file-from-scratch/#comment-5085</link>

		<dc:creator><![CDATA[Tomasz Płociński]]></dc:creator>
		<pubDate>Mon, 15 Feb 2021 07:58:47 +0000</pubDate>
		<guid isPermaLink="false">https://simpleexcelvba.com/?p=561#comment-5085</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://simpleexcelvba.com/how-to-create-xml-file-from-scratch/#comment-4875&quot;&gt;Dhronal Shah&lt;/a&gt;.

Have You tried adding
&lt;code&gt; &lt; ?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;? &gt; &lt;/code&gt;
at the beginning of the xml file?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://simpleexcelvba.com/how-to-create-xml-file-from-scratch/#comment-4875">Dhronal Shah</a>.</p>
<p>Have You tried adding<br />
<code> < ?xml version="1.0" encoding="UTF-8"? > </code><br />
at the beginning of the xml file?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dhronal Shah		</title>
		<link>https://simpleexcelvba.com/how-to-create-xml-file-from-scratch/#comment-4875</link>

		<dc:creator><![CDATA[Dhronal Shah]]></dc:creator>
		<pubDate>Thu, 11 Feb 2021 05:35:30 +0000</pubDate>
		<guid isPermaLink="false">https://simpleexcelvba.com/?p=561#comment-4875</guid>

					<description><![CDATA[How do you ensure that xml is UTF-8 encoded?]]></description>
			<content:encoded><![CDATA[<p>How do you ensure that xml is UTF-8 encoded?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yasser Khalil		</title>
		<link>https://simpleexcelvba.com/how-to-create-xml-file-from-scratch/#comment-176</link>

		<dc:creator><![CDATA[Yasser Khalil]]></dc:creator>
		<pubDate>Sat, 14 Mar 2020 06:09:28 +0000</pubDate>
		<guid isPermaLink="false">https://simpleexcelvba.com/?p=561#comment-176</guid>

					<description><![CDATA[Thanks a lot for these awesome tutorials.]]></description>
			<content:encoded><![CDATA[<p>Thanks a lot for these awesome tutorials.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
