eugeneloza / decoherence

Project moved to https://gitlab.com/EugeneLoza/decoherence
GNU General Public License v3.0
10 stars 7 forks source link

XMLDoc.CreateElement requires string conversion #526

Closed eugeneloza closed 6 years ago

eugeneloza commented 6 years ago

decofiles.pas(142,38) Warning: Implicit string type conversion from "AnsiString" to "WideString"

michaliskambi commented 6 years ago

You can add CastleXMLUtils to uses clause and use CreateChild : https://github.com/castle-engine/castle-engine/blob/master/src/files/castlexmlutils.pas#L1020

eugeneloza commented 6 years ago

Oh, thanks, Michalis! I was just looking to look for or implement something like that :) That makes things much much easier.