Skip to content →

3 steps to download xmllint

Print Friendly, PDF & Email

Xmllint is an XML validator. What does that mean?

XML are the codes, or tags, we put around data so we can send it easily from computer to computer.  xmllint audits my tags for errors.

There are three steps to download xmllint onto a Windows machine.

We will get the code from XMLsoft. Looking carefully on their home page, we see that Ivor Zlatkovic has precompiled what we need for Windows.  I didn’t get mine downloaded correctly first time.  So I have prepared an outline to read before we read the more technical notes from Ivor.

Step 1.   Decide where you are going to store your xmllint files

  • I followed Ivor’s suggestion and created a directory in my C: folder called tools.
  • And then I created a sub-directory in C:tools called libxml
  • The complete name of this sub-directory is C:toolslibxml

Step 2.  Download the software for xmllint to run and put it in C:toolslibxml

  • In addition to Ivor’s page at XML soft, these instructions are also worth reading.
  • Basically, you will download 4 zip files (not 3 as the second set of instructions says).  This involves 4 steps.
  • Step One.  Look where Ivor lists the files for the latest win32 versions of libxml2, libxslt, iconv and zlib.
  • Step Two.  Download all four zipfiles. They will go to your default download folder.
  • Step Three.  Open all four zipfiles and look for their bin directory.  In Windows 7, the zipfiles open without using winzip.
  • Step Four.  One-by-one, copy the files in each of the four bin directories into the folder you made earlier: C:toolslibxml

Step 3: Zdjust your Path statement so that if you can work keep this folder neat and work on XML files elsewhere.

  • Basically, you have three steps
  • Step A.  Find your Path statement.
  • Step B.  Edit your Path statement by adding “;C:toolslibxml”
  • Step C.  Save! And Restart your machine.

Instructions for finding your Path Statement.

Check everything is working.

  • Go to your Command Prompt (Go to Start and type in Command Prompt; Look at the top)
  • Type in “xmllint” <return>
  • A whole heap of information about xmllint should scroll down.

Now you can use xmllint to validate XML.


Published in SOCIAL MEDIA & IT


  1. jfontecha jfontecha

    thanks for the awesome instructions! really useful!

  2. woldemarg woldemarg

    neat and exact instruction
    now everything’s working

  3. Peter Peter

    Excellent ! Thanks !

  4. MS MS

    Explanations should be like this. Exact.

  5. Muhammad Bilal Muhammad Bilal

    Extremely helpful in setting up the XML Lib…
    Great job and well done…
    Keep up the good work…

  6. M M

    Thank you, you saved my day. You are a hero.

  7. Jani Jani

    Thank you,

    Very helpful and easy to understand instructions.

  8. JohnD JohnD

    thanks – looks like your instructions work!

  9. Imran Shafi Imran Shafi

    boss! you are great

  10. Thanks dude! really helpful!

  11. Thank you so much. Very concise.

  12. bforbiswajit bforbiswajit

    it worth’s a lot….thank u 🙂

  13. Evan Cutler Evan Cutler


  14. mannix mannix

    Thanks so much for the instructions – they really helped me out!

  15. Hey, this was the best guide I found online by far. Thank you so much for posting this, or I wouldn’t have been able to get on with the DB course I am currently taking.

    I ran into a couple small issues, although nothing unfixable, and i’m wondering if it could be just me/ my PC? I posted about it on my blog, with a link back to you of course

    Thanks again anyway, very very grateful.

  16. nikp nikp


  17. Shivanya Shivanya

    Awesome. It simply works the way you have explained. Made my work easier.


  18. Muito obrigado, única explicação descente que encontrei e seguindo os passos deu tudo certo. Parabéns, muito obrigado por compartilhar.

  19. Carlos Carlos

    Thank you! Useful

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.