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.
thanks for the awesome instructions! really useful!
neat and exact instruction
now everything’s working
Excellent ! Thanks !
Explanations should be like this. Exact.
Extremely helpful in setting up the XML Lib…
Great job and well done…
Keep up the good work…
Thank you, you saved my day. You are a hero.
Very helpful and easy to understand instructions.
thanks – looks like your instructions work!
boss! you are great
Thanks dude! really helpful!
Thank you so much. Very concise.
it worth’s a lot….thank u 🙂
YOU ARE A SUPER GENIUS…
Thanks so much for the instructions – they really helped me out!
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 http://aaronshay.blogspot.sg/2014/01/how-to-download-xmllint.html
Thanks again anyway, very very grateful.
Awesome. It simply works the way you have explained. Made my work easier.
Muito obrigado, única explicação descente que encontrei e seguindo os passos deu tudo certo. Parabéns, muito obrigado por compartilhar.
Thank you! Useful