fn:analyze-string results
✓ Published0🌍 Public
CCliffordAnderson
Last edited Nov 16, 2015
Created on Nov 16, 2015
This example demonstrates the results of an XQuery transformation that uses the XPath 3.1 `fn:analyze-string` function to parse bibliographic text. Given a TEI XML source, the query extracts page ranges from bibliographic entries by matching patterns like "p. 35-42" and wraps them in a `tei:citedRange` element, while preserving the remaining text. The output shows a series of TEI `<bibl>` records where the cited page ranges are cleanly separated from the bibliographic citation text, enabling structured access to page references for downstream processing or display.
AI-generated description