PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WEBDEV 2024 → XML parser
XML parser
Started by henk, Oct., 09 2017 11:34 PM - No answer
Posted on October, 09 2017 - 11:34 PM
Hi all,

I'm used to working with an xml parser (a little bit spoiled). Is there a method to read a xml node at once is a structure. Parsing on the names, like this:

Part of the XML file
<product>
<code>123456</code>
<description>Bike Sadlle Leather Brown</description>
<unitPrice>24.95</unitPrice>
<stock>62</stock>
</product>

Webdev var.
product is Structure
code is string
description is string
unitPrice is currency
stock is int
END

Regards henk