Skip to content

Latest commit

 

History

History
32 lines (15 loc) · 901 Bytes

validation.rst

File metadata and controls

32 lines (15 loc) · 901 Bytes

Validation avec le schéma XML

Toutes les versions du schéma XML TEI sont disponibles

Vous pouvez valider vos fichiers TEI avec votre éditeur XML en utilisant les attributs suivants sur l'élément racine /TEI du fichier TEI :

<?xml version="1.0" encoding="UTF-8"?>
<TEI 
 xmlns="http://www.tei-c.org/ns/1.0" 
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://www.tei-c.org/ns/1.0 http://lodel.org/ns/tei/tei.openedition.1.6.1/document.xsd">

Vous pouvez également valider vos fichiers XML sur Linux avec xmllint :

xmllint --schema http://lodel.org/ns/tei/tei.openedition.1.6.1/document.xsd XML-FILE.tei.xml --noout