<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>10 Jun 2015 10:07:00 Z</lastBuildDate><pubDate>9 Jun 2015 20:21:00 Z</pubDate><description>I know I can create XML with duplicate named nodes this way:&#13;
&#13;
sXML is string = 22&#13;
XMLDocument("Doc",sXML)&#13;
XMLParent("Doc")&#13;
XMLAddChild("Doc", "id", 1)&#13;
XMLAddChild("Doc", "id", 5)&#13;
XMLAddChild("Doc", "id", 9)&#13;
&#13;
Can I do it with an xmlDocument variable? This way only takes in to account the last id:&#13;
&#13;
XMLDoc is xmlDocument&#13;
XMLDoc = XMLOpen(sXML)&#13;
XMLDoc.xml.id = 1&#13;
XMLDoc.xml.id = 5&#13;
XMLDoc.xml.id = 9</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52639-wd20-xml-nodes-with-same-name/read.awp</link><title>[WD20] XML nodes with same name</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52639-wd20-xml-nodes-with-same-name-52649/read.awp</comments><pubDate>10 Jun 2015 10:07:00 Z</pubDate><description>Curtis&#13;
&#13;
I see, easily done:)&#13;
Back to the original question....&#13;
&#13;
Yes you can do this with the XMLDocument variable.&#13;
What yo…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52639-wd20-xml-nodes-with-same-name-52649/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52639-wd20-xml-nodes-with-same-name-52649/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52639-wd20-xml-nodes-with-same-name/read.awp">[WD20] XML nodes with same name</source><title>Re: [WD20] XML nodes with same name</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52639-wd20-xml-nodes-with-same-name-52641/read.awp</comments><pubDate>9 Jun 2015 21:28:00 Z</pubDate><description>Oops. Good catch. They are in my code, forgot to add the quotes when typing out my question.</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52639-wd20-xml-nodes-with-same-name-52641/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52639-wd20-xml-nodes-with-same-name-52641/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52639-wd20-xml-nodes-with-same-name/read.awp">[WD20] XML nodes with same name</source><title>Re: [WD20] XML nodes with same name</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52639-wd20-xml-nodes-with-same-name-52640/read.awp</comments><pubDate>9 Jun 2015 20:50:00 Z</pubDate><description>Curtis&#13;
&#13;
The tag value has to be in quotes - XML is text based. sXML is string = 22 XMLDocument("Doc",sXML) XMLParent("Doc") XM…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52639-wd20-xml-nodes-with-same-name-52640/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52639-wd20-xml-nodes-with-same-name-52640/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52639-wd20-xml-nodes-with-same-name/read.awp">[WD20] XML nodes with same name</source><title>Re: [WD20] XML nodes with same name</title></item></channel></rss>
