Location of incorrect place in the incorrect xml file

A

Anton

Hi All,

I am programming in VBA for Word and use Microsoft XML v6,0 xml library for
working with xml files.
Sometimes xml files are incorrect and xml parser does not create node
structure for such files.
I need to know line in the xml file there is error is present.
Error can be:
1. Unclosed tag.
2. Merged tags as : <tag1><tag2>Some text<tag1><tag2>.
3. e.t.c.

May be anybody know how to get such information from MSXML or other library
included in the Office package or Windows?
May be any free library is present for it that can be used from macro?

Thank you,
Anton
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top