Extract entities from CERIF XML
extract_entitiesLocate every instance of a specified entity element in a CERIF XML document, returning XPath, ID, and child count for each occurrence.
Instructions
Extracts all instances of a given entity element from a CERIF document (string or file), with their XPath, id text, and child count. For example, list every or in the document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | No | CERIF XML document to search | |
| file | No | Absolute path to a CERIF XML file (alternative to `xml`) | |
| limit | No | Maximum instances to return (default 20) | |
| entity | Yes | Entity element name to extract, e.g. "cfPers", "cfProj_Pers" |