Hi everyone,
I'm a noob with a problem...
In non-IE browsers, I'm trying to load a UCS-2 (UTF-16) encoded file using the following lines:
xmlDoc=document .implementation .createDocument ("settings.xml" ,"",null);
xmlDoc.async=fa lse;
xmlDoc.load("") ;
I get an error on the last line that says "Value Undefined (result expression xmlDoc.load) is not an object."
1.) Do I have to specify an encoding type when loading a an XML file? (There already is an encoding line on the first line of my XML file which says <?xml version="1.0" encoding="ucs-2"?>
2.) The XML has no text elements (i.e. all the values are stored as attributes for each element). Should I use another method for loading this file?
I'm a noob with a problem...
In non-IE browsers, I'm trying to load a UCS-2 (UTF-16) encoded file using the following lines:
xmlDoc=document .implementation .createDocument ("settings.xml" ,"",null);
xmlDoc.async=fa lse;
xmlDoc.load("") ;
I get an error on the last line that says "Value Undefined (result expression xmlDoc.load) is not an object."
1.) Do I have to specify an encoding type when loading a an XML file? (There already is an encoding line on the first line of my XML file which says <?xml version="1.0" encoding="ucs-2"?>
2.) The XML has no text elements (i.e. all the values are stored as attributes for each element). Should I use another method for loading this file?
Comment