PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → XML parser
XML parser
Débuté par henk, 09 oct. 2017 23:34 - Aucune réponse
Posté le 09 octobre 2017 - 23:34
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