[Gambas-devel] Re: XML patch

Christian Faure christian.faurebouvard at ...156...
Thu Nov 25 01:07:33 CET 2004


El Miércoles, 24 de Noviembre de 2004 20:16, Daniel Campos escribió:
> Hi:
>
> A patch for XmlReader:
>
> 1) Corrects a bug: once a XmlReader was opened, the EOF flag was set to
> TRUE at the end of the document, even if Open() method was used again.
>
> 2) Adds a static method: Decode (Data As String,Encoding As String) AS
> String
>
> This method allows to decode both base64 and BinHex encoded strings.
> That way, Gambas can manage binary data stored in a XML file, for
> example, a picture. XmlWriter has also methods to write encoded base64
> and BinHex strings.
>
> MyData=XmlReader.Decode(Data,"base64")
>
>
> MyData=XmlReader.Decode(Data,"binhex")
>
> Regards,
>
> Daniel Campos

Oh, Well! :-)
Thanks again.

Regards,
Christian 




More information about the Devel mailing list