Thanks Thanks:  0
Likes Likes:  0
Results 1 to 6 of 6

Thread: XML import problem

  1. #1
    New Member
    Join Date
    Sep 2009
    Location
    Germany
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default XML import problem

    Hello experts,

    I am getting the error 'XML Parse error' 80041020.
    some xml files work fine but others have this problem.

    The import code is:
    Code:
    ActiveWorkbook.XmlMaps("EPS945_Pumpen_Info_Zuordnung").Import URL:=XMLFileName
    Would appreciate help in this regard.

  2. #2
    MrExcel MVP
    Moderator
    Andrew Poulsom's Avatar
    Join Date
    Jul 2002
    Posts
    73,092
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Default Re: XML import problem

    I imagine that the XML file has syntax errors or isn't well-formed:

    http://office.microsoft.com/en-ca/ex...001024625.aspx
    Microsoft MVP - Excel

  3. #3
    New Member
    Join Date
    Sep 2009
    Location
    Germany
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: XML import problem

    Yes you are right. But how could I check the XML file errors? It's a huge file.

  4. #4
    MrExcel MVP
    Moderator
    Andrew Poulsom's Avatar
    Join Date
    Jul 2002
    Posts
    73,092
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Default Re: XML import problem

    Is there an error log file in your Temp folder?

    http://support.microsoft.com/kb/288215#TShoot
    Microsoft MVP - Excel

  5. #5
    New Member
    Join Date
    Sep 2009
    Location
    Germany
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: XML import problem

    Hello Andrew,

    There's no log file named xmlerr.log in my temp folder.

  6. #6
    MrExcel MVP
    Moderator
    Andrew Poulsom's Avatar
    Join Date
    Jul 2002
    Posts
    73,092
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Default Re: XML import problem

    I would Google for a well-formed XML checker. Here's one:

    http://www.cogsci.ed.ac.uk/~richard/xml-check.html
    Microsoft MVP - Excel

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •