PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WEBDEV 2024 → XML parser
XML parser
Iniciado por henk, out., 09 2017 11:34 PM - Sem resposta
Publicado em outubro, 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