[fpc-pascal] XML read

Marcos Douglas md at delfire.net
Tue Jun 14 15:24:35 CEST 2011


On Tue, Jun 14, 2011 at 10:12 AM, Felipe Monteiro de Carvalho
<felipemonteiro.carvalho at gmail.com> wrote:
> The Wiki has some XML tutorials:
>
> http://wiki.lazarus.freepascal.org/XML_Tutorial

Yes, I saw that.
My doubt is how use a safe algorithm to parse my XML. See the first
example "Printing the names of nodes and attributes" in link that you
posted:
with Child.ChildNodes do
try
//..
finally
  Free;
end;

I have to know which functions create a new object. That is not clear
if we use Child.ChildNodes, right?

Marcos Douglas



More information about the fpc-pascal mailing list