'How to get substring of XML document by XPath in Swift

I tried to find something in offical documents but eventually failed :(



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source