How to construct a robust XML parser with error handling in XPath 3.1 and XSLT
My use case: i want to analyze a large XML Document which contains elements named ownedComment. Each of these Elements has an attribute called body. The content of this attribute should be a string, which is a serialized XML Document Fragment. An example would be