Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot open file encoding iso-8859-15
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
Cannot open file encoding iso-8859-15
Miscellaneous
Thread ID:
01545779
Message ID:
01545779
Views:
102
Hello,

I have a problem with msxml.document. When i want to open a xml file with this header < ?xml version="1.0" encoding="ISO-8859-1"? >, it works fine. But it can't open when the header is < ?xml version="1.0" encoding="ISO-8859-15"? >

My code :

oXML=Createobject('msxml.domdocument') && This creates the parser object
oXML.Load(getfile("xml"))

the load return .F. when the file begin with < ?xml version="1.0" encoding="ISO-8859-15"? >
but with the same file with header modified (< ?xml version="1.0" encoding="ISO-8859-1"? >), the file is opened.

Could you help me

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform