The various XML and JSON fragments weren’t converted to HTML properly on the page and it’s hard to follow:
https://docs.aspose.com/words/java/linq-reporting-engine-api/
If you look at the HTML source for the page, you see that the XML tags weren’t escaped, for instance the <manager>
and <price>
tags in the fragment on line 33:
<p>XML</p><p><strong><managers></strong></p><p><code></code><strong><manager></strong></p><p><code></code><strong><name>John Smith</name></strong></p><p><code></code><strong><contract></strong></p><p><code></code><strong><client></strong></p><p><code></code><strong><name>A Company</name></strong></p><p><code></code><strong></client></strong></p><p><code></code><strong><price>1200000</price></strong></p><p><code></code><strong></contract></strong></p><p><code></code><strong><contract></strong></p><p><code></code><strong><client></strong></p><p><code></code><strong><name>B Ltd.</name></strong></p><p><code></code><strong></client></strong></p><p><code></code><strong><price>750000</price></strong></p><p><code></code><strong></contract>