Author Topic: XML problem  (Read 3044 times)

weissenb

  • Newbie
  • *
  • Posts: 9
XML problem
« on: August 09, 2013, 01:09:25 am »
Hello!
I need help because I want to use the "Parsing XML Using Msxml2.DOMDocument.4.0" (http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/XML/MSXML+Parse~XML~File~Using~MSXML.txt).

If I try the script the following error appears:
"Error Code:-1072896660
Reason: The specified attribute was not expected at this location.
The attribute may be case sensitive.
Line: 1 Column: 7
Text: <?xml Versions" 1.0" encoding="ISO-8859-1" ?>"

Thank you very much for any help!

Christian Weissenberger

JTaylor

  • Pundit
  • *****
  • Posts: 1085
    • Data & Stuff Inc.
Re: XML problem
« Reply #1 on: August 09, 2013, 06:23:32 am »
The problem is what it says....change "Version" to "version".

Jim

Deana

  • Wilson WindowWare Tech Support
  • Pundit
  • *****
  • Posts: 1183
  • WinBatch® can do it.
    • WinBatch Tech Support Database
Re: XML problem
« Reply #2 on: August 09, 2013, 07:26:19 am »
Looks like the problem was with the capitalization of the first letter in 'Version'.

Change:
Code: [Select]
<?xml Version="1.0" encoding="ISO-8859-1" ?>To:
Code: [Select]
<?xml version="1.0" encoding="ISO-8859-1" ?>
The XML has been updated in the tech article: http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/tsleft.web+WinBatch/XML/MSXML+Parse~XML~File~Using~MSXML.txt
Deana F.
Technical Support
Wilson WindowWare Inc.