Parse Text Node as XML
✓ Published0🌍 Public
CCliffordAnderson
Last edited Mar 19, 2015
Created on Mar 18, 2015
This example demonstrates the transformation of CSV data containing organism records into structured XML, specifically parsing a text column of notes as embedded XML. It shows two versions of the process: the first uses a verbose `fn:parse-xml` call wrapped in a `<notes>` element, while the second simplifies the syntax with an `element notes` constructor. Both versions fetch remote CSV data via the `http:send-request` API, parse it with `csv:parse`, and iterate through records to repackage fields, replacing the raw notes text with parsed XML content. The data source is the Bioimages repository’s `organisms-small.csv` file.
AI-generated description