MagicFoundation / Alcinoe

Alcinoe Component Library For Delphi. Full opengl video player, WebRTC delphi wrapper, native ios/android TEdit, Improuved firemonkey controls, Firebase cloud messaging, Android/ios facebook sdk login, Json/Bson Parser, ImageMagick wrapper, MongoDb client And much more
Apache License 2.0
996 stars 220 forks source link

Declared a function in interface section of the unit ALXmlDoc, so that it can be accessed in other units. #336

Closed shanthipriyapakkela closed 3 weeks ago

shanthipriyapakkela commented 1 month ago

"Undeclared identifier" was returned when we attempted to use a function in the unit ALXmlDoc. I have declared the function "ALCreateXmlNode" in the interface section to prevent this exception. I'm not sure if it affects other functionalities.

The function is : function ALCreateXmlNode(const NameOrData: AnsiString; NodeType: TALXMLNodeType = ntElement; const AddlData: AnsiString = ''): TALXMLNode;

Zeus64 commented 3 weeks ago

hello, yes ALCreateXmlNode is an internal function, you must use instead TALXMLDocument.CreateNode