container.object.xmlXML (Extensible Markup Language) document stored as VARCHAR. Structured hierarchical data with tags and attributes.
$ finetype infer -i "<root><name>John</name><age>30</age></root>"
→ container.object.xmlSELECT finetype('<root><name>John</name><age>30</age></root>');
-- → 'container.object.xml'CAST({col} AS VARCHAR)-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS VARCHAR) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'container.object.xml';RECURSIVE_INFER_ON_XML_CHILDREN({col}){
"$id": "https://meridian.online/schemas/container.object.xml",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "XML (Extensible Markup Language) document stored as VARCHAR. Structured hierarchical data with tags and attributes.\nRECURSIVE INFERENCE: When classified as container.object.xml, FineType will: 1. Parse XML and identify root element 2. Extract and classify child element values 3. Return as nested struct (partial, may require schema)",
"examples": [
"<root><name>John</name><age>30</age></root>",
"<user id=\"123\"><email>john@example.com</email></user>"
],
"pattern": "^<.*>.*</.*>$",
"title": "XML Document",
"type": "string",
"x-finetype-broad-type": "VARCHAR",
"x-finetype-transform": "CAST({col} AS VARCHAR)"
}<root><name>John</name><age>30</age></root><user id="123"><email>john@example.com</email></user>