在Windows平台基于libxml+libxslt实现Schema模式验证与XSLT模板转换
相关官方文档:
http://xmlsoft.org/XSLT/tutorial/libxslttutorial.html
?
下文引用自:
http://blog.csdn.net/ThinkHY/archive/2009/02/26/3940322.aspx
?
STEP1 :? 在这个网址:? http://xmlsoft.org/sources/win32/
? 下载这几个包:
??????????? iconv-1.9.2.win32.zip
??????????? libxml2-2.7.3.win32.zip
??????????? libxslt-1.1.24.win32.zip
?? 将lib,dll,include文件分别拷贝到合适的位置。
STEP2:
???编写测试代码:
?????? XML Schema:
? XSLT: