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 <sklandDocument> 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.
<sklandDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="skland-wiki-v1.xsd">
<itemId>1</itemId>
<metainfo>
<name>Sample entry</name>
<cover/>
<subTypes/>
</metainfo>
<description>This is a <b>sample</b> description.</description>
</sklandDocument>Run xmllint in that directory and pass the XSD file explicitly.
xmllint --nonet --noout --schema skland-wiki-v1.xsd item.xmlIf 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.