XML 範例

XML parsing and handling is supported through SAX and DOM compliant APIs as well as streaming classes.

DOM 書簽範例 提供用於 XML 書簽交換語言文件的讀取器
QXmlStream 書簽範例 演示如何讀寫 XBEL 文件
SAX Bookmarks Example Demonstrates how to read XBEL files
XML Stream Lint 範例 讀取輸入文件並寫入標準輸齣文件的命令行工具

XML

The XQuery /XPath and XML Schema engines in the Qt XML Patterns module provide classes for querying XML files and custom data models.

C++ 源代碼分析器範例 Using XQuery and the xmlpatterns command line utility to query C++ source code
文件係統範例 Using Qt XML Patterns for querying non-XML data that is modeled to look like XML
配方範例 Using Qt XML Patterns to query XML data loaded from a file
XML 模式驗證範例 Using Qt XML Patterns to validate XML with a W3C XML Schema

Examples marked with an asterisk (*) are fully documented.