# XSD Schema The XML Schema Definition (XSD) for SKLAND Wiki XML declares the elements, attributes, and nesting allowed in an entry. It applies to `@eihrteam/xml` v1.0.0. XML editors that support XSD 1.0 can use it to suggest elements and attributes and flag structural errors as you edit. ## Associate the schema in your editor Download the SKLAND Wiki XML schema and put it in the same directory as your entry's XML file. Declare `xmlns:xsi` on the root `` element and point `xsi:noNamespaceSchemaLocation` to the downloaded XSD file. The entry elements use names without a namespace. ## Example Save the following entry as `item.xml` alongside `skland-wiki-v1.xsd`. Your editor uses the relative path on the root element to find the XSD. ```xml 1 Sample entry This is a sample description. ``` Run `xmllint` in that directory and pass the XSD file explicitly. ```sh xmllint --nonet --noout --schema skland-wiki-v1.xsd item.xml ``` If validation succeeds, the command prints `item.xml validates`. If it cannot find the XSD, check that the files are in the same directory and that the file names match. After validation, use the converter to check whether the entry can be converted to Wiki JSON. ## See also - [Schema validation scope](./limitations/)