On 29/11/2011, Graeme Geldenhuys <[email protected]> wrote: > And to be clear, as a programmer, this is the API interface I would > expect to use... which I don't think is unreasonable. Obviously this > doesn't work, but hey, that's XML for you. > > ReadXMLFile(VXML, ExtractFilePath(ParamStr(0)) + 'LazSolutionsDT.lpk'); > n := vxml.FindNode('/Config/Package/Version'); > n.Attributes.GetNamedItem('Major'); > n.Attributes.GetNamedItem('Minor');
PS: I'm very curious to know what the actual solution is though. -- 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
