HF RL Explorer

Task: Create an XML Schema That Properly Restricts the Root Element

Task: Create an XML Schema That Properly Restricts the Root Element: a task in Terminal-Lego-15k (Harbor dataset). Create an XML Schema (XSD) file that properly defines <shiporder as the only valid root element, and validates a given XML instance document against it. The schema must demonstrate…

The task

Create an XML Schema (XSD) file that properly defines `<shiporder>` as the only valid root element, and validates a given XML instance document against it. The schema must demonstrate the correct approach to restricting which elements can appear as root elements in an XML document.

Part of PrimeIntellect/Terminal-Lego-15k.