I have an Unicoded XML and I could not open it TXmlDocument class.
I have converted xml file unicode to Ascii at external editor and there is no problem.
- Code: Select all Expand view
- LOCAL oXmlDoc := TXmlDocument():new()
xMLFILE := "MyXML.xml"
IF !FILE(xMLFILE)
MsgAlert(xMLFILE+CRLF+"not found")
RETURN
ENDIF
oXMlDoc:read( Memoread( XMLFILE ) )
Is there any way to convert a text file to ascii readed Memoread(xmlfile)?
Thanks,