Page tree
Skip to end of metadata
Go to start of metadata

It is possible to associate a schema with your XML document not only during the creation process of an XML document but also while working in the Source View. Please click “XML Associate a Schema” in the menu bar on top and choose one of the schemas listed in the “Select Schema” dialog box. Click “OK” to associate the schema. For associating a schema, you can choose between schemas that are located in projects you have access to in the Repository or schemas from the built-in XML catalog. To import your own schema to the Repository, see Import. Currently only W3C Schemas are supported in the TextGridLab.

In the Source View, errors in the general XML syntax (such as missing quotes, missing brackets, or missing end tags) are indicated as well as validation errors (if a schema is specified) with red wavy underlining. To check if your XML document is well-formed and valid, you can validate it in any View by clicking “XML Show Validation Errors” in the menu bar on top. The Validation Errors View will pop up below the Editor View showing an error message and identifying the invalid XML, if there is an error.

  • No labels