Can you suggest a component to use to handle XML files?RegardsVincenzo
The tutorial is good but not complete,
, besides DOM also SAX is supported out-of-the-box by FreePascal (and much faster in certain scenarios)
Can you suggest a component to use to handle XML files?
Quote from: Thaddy on June 07, 2017, 03:50:54 pmThe tutorial is good but not complete,Heh, the tutorial is not only good, but also the only one we currently have. Quote from: Thaddy on June 07, 2017, 03:50:54 pm, besides DOM also SAX is supported out-of-the-box by FreePascal (and much faster in certain scenarios)Nice to have this SAX (which seems to be acronym of Simpe API for XML), but... if not documented at all... not very useful.Perhaps Vicenzo will improve the tutorial, after he masters SAX with FPC.
Used omniXML, is very good. Help me, this error in test demo app. (SetAnsiStrProp)
SAX is a standard and as such widely documented.... Just like dom is a standard....
Quote from: laguna on June 08, 2017, 08:43:39 amUsed omniXML, is very good. Help me, this error in test demo app. (SetAnsiStrProp)Sorry, I do not get what is the error from your screenshot. Do you have error message?Anyway, I have converted 7 Delphi demos to Lazarus and added one new demo for OmniXML fork called kOmniXML. You can find the link here and tell us all if these demos work with omniXML:https://forum.lazarus.freepascal.org/index.php?topic=22550.0
Using it in FPC is not documented, unlike DOM. Or I couldn't find it.
Could it be that I downloaded the wrong version of OMNIXML?
Avra plz advice first the included - and superior - XML solutions in FPC and only when needed third party stuff.You put people on the wrong track and it is hard to give advice on exotic (or toxic) solutions..