Win7 下安装xmllint(经本人验证完全正确)

原文地址: http://flowingmotion.jojordan.org/2011/10/08/3-steps-to-download-xmllint/

有兴趣的交流交流,本人安装成功~~~

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:\tools\libxml

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

  • 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 oflibxml2, 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:\tools\libxml

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:\tools\libxml”
  • 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.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值