Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error message when opening XML file

Status
Not open for further replies.

developer155

Programmer
Jan 21, 2004
512
US
I have an xml file that has this as the first line
<?xml version="1.0" encoding="utf-8"?>

When I open it I get an error
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.

Switch from current encoding to specified encoding not supported. Error processing resource 'file://adbqa0/activity/APTS_OodleFeed.xml'. Line 1, Position 39

What is the problem?
By the way, I do some manipulations with the file using vbs and I create the file by using

Set objTextFileout = objFSO.CreateTextFile(txtOut, ForWriting, false)
which creates ANSI file

thanks

 
Its probably not well-formed xml

Jon

"Asteroids do not concern me, Admiral. I want that ship, not excuses.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top