Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - XML error >Thread Next - Re: XML error Re: XML errorTo: NULL Date: 5/21/2009 12:12:00 PM biz7 wrote: > I am trying to automate data entry on a work application where the export is > in xml. I open the xml in Internet Explorer & then right click/select view > source & it brings up notepad where I edit. Then I import as xml into the > application. > > I get an error: " the object is currenly nothing". The code is correct as I > checked it agaist the export. I have imported a few line items & it works. > Some line items give me the error mentioned & some do not. > > Can you advise what the cause may be as I mentioned the xml code is correct. Which application is that where you import the XML? How exactly do you do that, post the code if "trying to automate" means you are writing code to do that. > I also noticed that when I open the 1st export (see XML export file below) > it allows me to see it in Internet Explorer as below & I follow the same code > to import. However, please read further... > > > XML export file: > - <ExportEdits> > - <tblScenarioData> The '-' character is not allowed before the root element so it looks as if you did not post the real XML but rather what IE presents you. You will need to look at the source of the XML and post that if you think there is a problem with the XML. -- Martin Honnen --- MVP XML http://msmvps.com/blogs/martin_honnen/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
