Thanks Thierry I will give this a go when I reach the office.

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Thierry 
Nivelet
Sent: 02 February 2015 06:59
To: [email protected]
Subject: Re: xml

O = create('msxml.domdocument')

O.loadXML(strtran(strtran(strtran(yourXML, '&amp;', '&'), '&lt;', '<'), '&gt;', 
'>'))

Thierry Nivelet
http://foxincloud.com/
Give your VFP app a second life in the cloud

> Le 2 févr. 2015 à 07:47, Chris Davis <[email protected]> a écrit :
> 
> HI All
> 
> Anyone got any suggestions (this isn't complete) on de encoding or de 
> encapsulating XML which gets delivered like so ...
> 
> &amp;lt;/ProductId&amp;gt;    &amp;lt;ProductDescription&amp;gt;      
> &amp;lt;ProductName Language=""en""&amp;gt; &amp;lt;/ProductName&amp;gt;    
> &amp;lt;/ProductDescription&amp;gt;    &amp;lt;ItemProcessing 
> PartialDelivery=""Yes"" AlternativePart=""Yes"" BackOrder=""No"" /&amp;gt;  
> &amp;lt;/OrderItem&amp;gt;&amp;lt;/Order&amp;gt;&lt;/ParameterValue&gt;       
>  &lt;ParameterType&gt;Inquiry&lt;/ParameterType&gt;        &lt;Attributes&gt; 
>          &lt;Items&gt;            &lt;KeyValueItem&gt;              
> &lt;key&gt;sender transaction id&lt;/key&gt;              
> &lt;value&gt;1ad00ef2-62c7-4b6d-ace7-623237516408&lt;/value&gt;            
> &lt;/KeyValueItem&gt;          &lt;/Items&gt;        &lt;/Attributes&gt;      
> &lt;/ParameterData&gt;    &lt;/ParameterList&gt;  
> &lt;/RequestedFunction&gt;&lt;/FunctionCallRequest&gt;</RequestElement></ProcessRequest>
> 
> Or maybe something I can use to load the xml into an object without 
> converting it in anyway.
> 
> It's all the &lt etc etc I am referring to.
> 
> Thanks
> 
> Chris.
> 
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com 
> ______________________________________________________________________
> 
> --- StripMime Report -- processed MIME parts --- multipart/alternative  
> text/plain (text body -- kept)  text/html
> ---
> 
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.
Report [OT] Abuse: 
http://leafe.com/reportAbuse/[email protected]

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com 
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.
  • xml Chris Davis
    • Re: xml Thierry Nivelet
      • RE: xml Chris Davis

Reply via email to