# libxml2
libxml2 is an XML toolkit implemented in C, originally developed for
the GNOME Project.
Full documentation is available at
<https://gitlab.gnome.org/GNOME/libxml2/-/wikis>.
Bugs should be reported at
<https://gitlab.gnome.org/GNOME/libxml2/-/issues>.
A mailing list xml@gnome.org is available. You can subscribe at
<https://mail.gnome.org/mailman/listinfo/xml>. The list archive is at
<https://mail.gnome.org/archives/xml/>.
## License
This code is released under the MIT License, see the Copyright file.
## Build instructions
libxml2 can be built with GNU Autotools, CMake, or several other build
systems in platform-specific subdirectories.
### Autotools (for POSIX systems like Linux, BSD, macOS)
If you build from a Git tree, you have to install Autotools and start
by generating the configuration files with:
./autogen.sh
If you build from a source tarball, extract the archive with:
tar xf libxml2-xxx.tar.gz
cd libxml2-xxx
To see a list of build options:
./configure --help
Also see the INSTALL file for additional instructions. Then you can
configure and build the library:
./configure [possible options]
make
Note that by default, no optimization options are used. You have to
enable them manually, for example with:
CFLAGS='-O2 -fno-semantic-interposition' ./configure
Now you can run the test suite with:
make check
Please report test failures to the mailing list or bug tracker.
Then you can install the library:
make install
At that point you may have to rerun ldconfig or a similar utility to
update your list of installed shared libs.
### CMake (mainly for Windows)
Another option for compiling libxml is using CMake:
cmake -E tar xf libxml2-xxx.tar.gz
cmake -S libxml2-xxx -B libxml2-xxx-build [possible options]
cmake --build libxml2-xxx-build
cmake --install libxml2-xxx-build
Common CMake options include:
-D BUILD_SHARED_LIBS=OFF # build static libraries
-D CMAKE_BUILD_TYPE=Release # specify build type
-D CMAKE_INSTALL_PREFIX=/usr/local # specify the install path
-D LIBXML2_WITH_ICONV=OFF # disable iconv
-D LIBXML2_WITH_LZMA=OFF # disable liblzma
-D LIBXML2_WITH_PYTHON=OFF # disable Python
-D LIBXML2_WITH_ZLIB=OFF # disable libz
You can also open the libxml source directory with its CMakeLists.txt
directly in various IDEs such as CLion, QtCreator, or Visual Studio.
## Dependencies
Libxml does not require any other libraries. A platform with somewhat
recent POSIX support should be sufficient (please report any violation
to this rule you may find).
However, if found at configuration time, libxml will detect and use
the following libraries:
- [libz](https://zlib.net/), a highly portable and widely available
compression library.
- [liblzma](https://tukaani.org/xz/), another compression library.
- [libiconv](https://www.gnu.org/software/libiconv/), a character encoding
conversion library. The iconv function is part of POSIX.1-2001, so
libiconv isn't required on modern UNIX-like systems like Linux, BSD or
macOS.
- [ICU](https://icu.unicode.org/), a Unicode library. Mainly useful as an
alternative to iconv on Windows. Unnecessary on most other systems.
## Contributing
The current version of the code can be found in GNOME's GitLab at
at <https://gitlab.gnome.org/GNOME/libxml2>. The best way to get involved
is by creating issues and merge requests on GitLab. Alternatively, you can
start discussions and send patches to the mailing list. If you want to
work with patches, please format them with git-format-patch and use plain
text attachments.
All code must conform to C89 and pass the GitLab CI tests. Add regression
tests if possible.
## Authors
- Daniel Veillard
- Bjorn Reese
- William Brack
- Igor Zlatkovic for the Windows port
- Aleksey Sanin
- Nick Wellnhofer
没有合适的资源?快使用搜索试试~ 我知道了~
【QGIS跨平台编译】之【libXML2跨平台编译】:源码及跨平台编译工程(支撑QGIS跨平台编译,以及二次研发)
共158个文件
h:61个
c:61个
in:11个
2 下载量 24 浏览量
2024-01-31
19:16:26
上传
评论
收藏 1.4MB ZIP 举报
温馨提示
一、内容概况 QGIS是一个开源的、跨平台的地理信息系统(GIS)软件,用于浏览、编辑和分析地理空间数据,提供了一套丰富的功能,包括地图制作、空间分析、数据管理等。QGIS可以在Windows、Mac OS和Linux等操作系统上运行。 QGIS的跨平台编译需要一系列开源库的支持,本系列提供QGIS相关的编译成果。 本资源的内容为:基于Qt的libXML跨平台编译源码(含qt pro文件)。 二、使用人群 QGIS编译、QGIS跨平台编译的人员或研究者。 三、使用场景及目标 在Windows、Linux、MacOS环境下编译使用。 既可以支撑QGIS的跨平台编译工作,也可以进行libXML2的二次研发。 四、其他说明 基于Qt Creator进行跨平台编译的libXML2工程源码。包含有各类源码,以及配置好的Qt工程文件。 只需用Qt Creator程序打开pro文件,即可完成在Windows、Linux、MacOS等多环境下的跨平台编译。编译后会自动生成头文件、库文件、动态库等。 当前采用的版本为libxml2-2.10.3,如果下载者,需要其他版本的libXML2,请在评论区留言。
资源推荐
资源详情
资源评论
收起资源包目录
【QGIS跨平台编译】之【libXML2跨平台编译】:源码及跨平台编译工程(支撑QGIS跨平台编译,以及二次研发) (158个子文件)
Makefile.018.xml2-2.10.3 32KB
configure.ac 38KB
Makefile.am 17KB
Makefile.am 852B
Makefile.am 116B
testapi.c 1.34MB
xmlschemas.c 813KB
parser.c 430KB
xpath.c 401KB
relaxng.c 360KB
tree.c 261KB
xmlregexp.c 219KB
HTMLparser.c 210KB
valid.c 191KB
xmlschemastypes.c 177KB
xmlreader.c 163KB
trio.c 157KB
encoding.c 143KB
runtest.c 122KB
xmlwriter.c 122KB
xmlIO.c 102KB
debugXML.c 102KB
xmlunicode.c 100KB
xmllint.c 99KB
catalog.c 97KB
SAX2.c 84KB
xmlsave.c 79KB
xpointer.c 76KB
xinclude.c 69KB
c14n.c 69KB
uri.c 65KB
pattern.c 62KB
schematron.c 61KB
parserInternals.c 57KB
nanoftp.c 52KB
nanohttp.c 47KB
testlimits.c 41KB
triostr.c 41KB
legacy.c 38KB
HTMLtree.c 33KB
runsuite.c 31KB
dict.c 31KB
entities.c 31KB
hash.c 29KB
buf.c 29KB
globals.c 28KB
threads.c 27KB
error.c 27KB
xmlmemory.c 26KB
xmlstring.c 26KB
testrecurse.c 24KB
xzlib.c 24KB
trionan.c 23KB
testchar.c 17KB
runxmlconf.c 16KB
list.c 16KB
xmlcatalog.c 14KB
chvalid.c 12KB
testdict.c 11KB
xmlmodule.c 10KB
testAutomata.c 7KB
testThreads.c 7KB
xlink.c 4KB
SAX.c 4KB
testModule.c 2KB
testdso.c 166B
Copyright 1KB
Makefile.018.xml2-2.10.3.Debug 68KB
Makefile.Debug 68KB
parser.h 39KB
tree.h 37KB
xmlerror.h 36KB
schemasInternals.h 26KB
xmlwriter.h 21KB
xpathInternals.h 19KB
parserInternals.h 17KB
xpath.h 16KB
globals.h 14KB
timsort.h 14KB
valid.h 13KB
xmlreader.h 12KB
xmlIO.h 10KB
xmlunicode.h 10KB
HTMLparser.h 9KB
xmlversion.h 8KB
triostr.h 8KB
encoding.h 8KB
trio.h 7KB
xmlschemas.h 7KB
triodef.h 7KB
hash.h 6KB
relaxng.h 6KB
xmlmemory.h 6KB
triop.h 6KB
xmlstring.h 5KB
config-win.h 5KB
config-linuxmac.h 5KB
xmlregexp.h 5KB
chvalid.h 5KB
debugXML.h 5KB
共 158 条
- 1
- 2
资源评论
翰墨之道
- 粉丝: 2752
- 资源: 182
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功