On 29/11/2011, Mattias Gaertner <[email protected]> wrote: > > uses laz2_xmlcfg > > cfg:=TXMLConfig.Create('/path/to/package.lpk'); > writeln(cfg.GetValue('Package/Version/Major','')); > writeln(cfg.GetValue('Package/Version/Minor','')); > writeln(cfg.GetValue('Package/Version/Release','')); > writeln(cfg.GetValue('Package/Version/Build','')); > cfg.Free;
Thanks Mattias, I trust that solves Silvio's problem. Any idea how you do the same with the TXMLDocument class or the DOM unit? Seeing that not all developers would want to use TXMLConfig just to manipulate or search their XML data. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
