Notes:
XML Schema Definition (XSD): A formal specification that describes the structure and constraints of XML documents. XSD defines:
Simple Types: Basic data types like string, int, boolean, date, etc.
Complex Types: Types that can contain elements, attributes, or both. They define the structure of XML elements.
Elements vs Attributes:
<name>John</name> - contain data or other elements<person id="123"> - provide metadata about elementsNamespaces: Provide a way to avoid naming conflicts by qualifying element and attribute names.
Similar to JSON Schema, XML Schema can be verbose and complex. For LLM prompting, we propose using simplified "XML type definitions" like we do with JSON (see more below)
Questions: