Blue Mountain Project - Dividing Up Languages
✓ Published0🌍 Public
CCliffordAnderson
Last edited Mar 31, 2017
Created on Mar 30, 2017
This example shows how XQuery processes TEI-encoded periodical documents from the Blue Mountain Project, splitting them into individual articles for database storage. The code traverses document collections with `fn:collection` and `fn:doc`, prunes unwanted elements and attributes using the `copy`/`modify` XQuery Update Facility, and reconstructs TEI structures. It uses the `db:create` function from the eXist-db API to build a new database collection from the transformed articles, demonstrating a pipeline for dividing source documents into discrete, queryable units.
AI-generated description