4D Tags will help you compose, but they won’t help you parse. If you get an
response from a request, whether XML or JSON, you will start with text. If you
use XML, see the XML DOM commands. You would use DOM Parse XML source. You can
then use commands in the XML DOM theme to inspect
REST can return JSON or XML. JSON is always easier to work with than XML. You
just parse the response into an object variable, then work with that.
$vt_URL:= “Build Your
On Wed, Mar 29, 2017 at 3:23 PM, Ortwin Zillgen via 4D_Tech <
> 4D tags work just fine for creating XML
I know that what I need to know is how to get data from XML into 4D without
having access to source. I would have thought I could use 4D tags. That is
> Thanks that's kind of what I thought you would then use 4d tags to get data
> into table and fields. Is that correct? Sorry for being dense but I do not do
> any of this type of coding.
4D tags work just fine for creating XML
Thanks that's kind of what I thought you would then use 4d tags to get data
into table and fields. Is that correct? Sorry for being dense but I do not do
any of this type of coding.
Sent from my iPhone
> On Mar 29, 2017, at 12:39 PM, Bruno LEGAY via 4D_Tech
Since v13, you have a native http client, so it is easy to POST or GET some xml
data over HTTP.
So in essence :
1. create dom
2. set values in dom
3. export dom to xml blob
4. free dom
5 HTTP POST xml blob
1. HTTP Get into a blob
2. Parse blob into a dom
3. read data in
Mail list logo