![]() |
Re: XML Komplett auslesen
Liste der Anhänge anzeigen (Anzahl: 1)
Hallo Chris,
hier eine kleine Starthilfe:
Delphi-Quellcode:
Freundliche Grüße
procedure ExtractAttributes(parent: IXMLNode; s: TStrings; const aName, aValue: string);
var sName: string; node: IXMLNode; begin node := parent.ChildNodes.First; while Assigned(node) do begin sName := VarToStr(node.Attributes[aName]); if sName <> '' then s.Values[sName] := VarToStr(node.Attributes[aValue]); if node.HasChildNodes then ExtractAttributes(node, s, aName, aValue); node := node.NextSibling; end; end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:58 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz