I'm trying to read an RSS feed using XMLread. This example works when i compile to Win32, however for winCE/KOL it shows me an acess violation.
path := extractfilepath(Paramstr(0))+'tmp1.txt'; > h.SaveToFile(path); ReadXMLFile(Documento, path); Memo1.Clear; // usando as propriedades FirstChild e NextSibling Child := Documento.DocumentElement.FirstChild; Memo1.add(int2str(Child.ChildNodes.Count)); while Assigned(Child) do begin Memo1.Add(Child.NodeName + ' ' + Child.Attributes.Item[0].NodeValue); // usando método ChildNodes with Child.ChildNodes do try for j := 0 to (Count - 1) do Memo1.Add(Item[j].NodeName + ' ' + Item[j].FirstChild.NodeValue); finally Free; end; Child := Child.NextSibling; end; Documento.Free; Anyone knows what's the reason for this? Thanks, Joni Silva
_______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
