<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>29 Jan 2021 12:54:36 Z</lastBuildDate><pubDate>29 Dec 2020 11:56:41 Z</pubDate><description>hi,&#13;
how can i read an xml received from a socket?&#13;
Actually I get the answer formatted in xml but if I have to understand the content of an element, do I have to write the xml file to read it?&#13;
&#13;
vOpensend is Variant&#13;
&#13;
vOpensend= XMLBuildString(OpenRic,XMLNoHeader)&#13;
&#13;
SocketWrite("BC",vOpensend)&#13;
&#13;
vOpenRis is xmlDocument&#13;
vOpenRis= XMLOpen(SocketRead("BC",False,8000))&#13;
&#13;
now vOpenRis is my xml but how can I access the data?&#13;
THANKS</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read/read.awp</link><title>XML read</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>marcov</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read-68265/read.awp</comments><pubDate>29 Jan 2021 12:54:36 Z</pubDate><description>hi,&#13;
i solved it with this simple syntax	&#13;
&#13;
	vValRisp is xmlDocument&#13;
	vValRisp= XMLOpen(AnsiToUnicode(SocketRead("BC",False,80…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read-68265/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read-68265/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read/read.awp">XML read</source><title>Re: XML read</title></item><item><author>platanos18</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read-68250/read.awp</comments><pubDate>21 Jan 2021 11:35:20 Z</pubDate><description>[code:wl]&#13;
i is int&#13;
FOR i= 1 TO icount&#13;
Trace(XMLRead("XMLSuppliers","/dataroot/suppliers/id[" + i + "]" ) + TAB + XMLRead("XML…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read-68250/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read-68250/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read/read.awp">XML read</source><title>Re: XML read</title></item><item><author>platanos18</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read-68249/read.awp</comments><pubDate>21 Jan 2021 11:34:11 Z</pubDate><description>edit remove i++&#13;
&#13;
[code:wl]&#13;
i is int&#13;
FOR i= 1 TO icount&#13;
Trace(XMLRead("XMLSuppliers","/dataroot/suppliers/id[" + i + "]" ) +…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read-68249/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read-68249/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read/read.awp">XML read</source><title>Re: XML read</title></item><item><author>platanos18</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read-68248/read.awp</comments><pubDate>21 Jan 2021 11:31:17 Z</pubDate><description>i save the xml to file from the response and after read it like this &#13;
i use the xmlpath to read the data for more complex xml &#13;…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read-68248/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read-68248/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read/read.awp">XML read</source><title>Re: XML read</title></item><item><author>platanos18</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read-68247/read.awp</comments><pubDate>21 Jan 2021 11:27:44 Z</pubDate><description>i save the xml to file from the response and after read it like this &#13;
i use the xmlpath to read the data for more complex xml &#13;…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read-68247/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read-68247/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/68218-xml-read/read.awp">XML read</source><title>Re: XML read</title></item></channel></rss>
