Look up ids in CERIF XML
lookup_in_documentSearch CERIF XML documents for IDs such as ORCID, project IDs, or DOIs, and retrieve matching elements with their XPath locations for cross-referencing.
Instructions
Searches a CERIF document (string or file) for elements whose id text matches a query (e.g. an ORCID, project id, or DOI). Returns matching elements with their XPath, useful for cross-referencing links.
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 matches to return (default 20) | |
| query | Yes | Text to find in id elements (cfXxxId, cfClassId, cfClassSchemeId) |