Split headword cross-references
Lists of cross-references divided using semi-colons cannot also be divided by commas. Within a list of cross-references separated by either content or by semi-colons, capture commas as part of the links.
Correct linking
<p>See <xref ref="acref-9780195123456-e-0072" type="2">moral philosophy, problems
of</xref>;</p>
Where links have been incorrectly separated by commas, use the following XPath to identify all links that should be joined with the preceding link:
//xref[contains(.., ";") and contains(.., ",")][ends-with(substring-before( .., .), ", ")]