From 868a0607e13321b091ed7e1dbde58e822ea53c13 Mon Sep 17 00:00:00 2001 From: Andreas Romeyke <andreas.romeyke@slub-dresden.de> Date: Wed, 22 Feb 2023 18:30:31 +0100 Subject: [PATCH] - added hint to schema catalog file --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9d56d58..0bc5c85 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,16 @@ Schemas ....... * the plugin uses local schema files to validate schema/schematron/relaxng related XML files. -* the schema directory is specified via plugin settings +* the schema catalog file has following structure: +``` +<?xml version="1.0" encoding="UTF-8"?> +<slubschemacatalog> + <entry schematype="schema" namespace="http://www.loc.gov/mods/v3" schemaurl="http://www.loc.gov/standards/mods/v3/mods-3-8.xsd" /> + <entry schematype="schema" namespace="http://www.lido-schema.org" schemaurl="http://www.lido-schema.org/schema/v1.1/lido-v1.1.xsd" /> + <entry schematype="schema" namespace="http://slubarchiv.slub-dresden.de/rights1" schemaurl="https://slubarchiv.slub-dresden.de/fileadmin/groups/slubsite/slubarchiv/standards/rights/rights1.xsd" /> + <entry schematype="schema" namespace="http://www.loc.gov/standards/alto/ns-v2#" schemaurl="http://www.loc.gov/standards/alto/alto-v2.0.xsd" /> +</slubschemacatalog> +``` For a (german) introduction how to use it, check https://www.data2type.de/xml-xslt-xslfo/docbook/xml-kataloge -- GitLab