[XML Records] XML with pagination

[XML Records] XML with pagination

Forge Component
Published on 2016-06-15 by Ricardo Silva
27 votes
Published on 2016-06-15 by Ricardo Silva

H, i need some help, i have a xml that have some pagination parameters. I need to pass it to record list so i've used XmlToRecordList but i only get the first record, how can i get the full list?

Ex. of xml:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<inDistrito>viana castelo</inDistrito>
<inConcelho />
<inRua />
<inPorta />
<inCodPos />
<inCliente />
<inIdLocal />
<inIdRua />
<inEp />
<inApartado />
<inIdEp />
<Pagina inicio="1" fim="1" num="1" />
<Localidade num="1" tipo="LOCA" idlo="28158">
<Designacao tipo="O">Lisboa</Designacao>
<Distrito>Viana do Castelo</Distrito>
<Freguesia idfr="160428">Tangil</Freguesia>
<Designacao tipo="O">TANGIL</Designacao>

Hi Tiago,

Please share your sample oml file.

oml attached.

It seams that i have a problem in the structures, i'm working on it and have fixed some issues.

Hey Tiago,

were you able to overcome the issues you are having?

as you said it is likely to be a definition issue of the structures holding the data. You can check this post of mine for a systematic way of building these structures.

Yes, i'm getting the lists correctly now.

Now i'm working on the pagination part.