SwiftLibXML Tutorials
Learn to parse XML and HTML documents, walk element trees, and query with XPath using SwiftLibXML.
Getting Started
Parse an XML document from scratch and navigate its tree structure using SwiftLibXML’s Swift-friendly iteration APIs.
Parse a Book Catalogue
In this tutorial you parse an XML book catalogue, navigate its tree structure, and extract element content using SwiftLibXML.
Query a Document with XPath
In this tutorial you compile XPath expressions to select elements, use predicates to narrow results, and query namespace-prefixed XML.