From 1184951614f5c44a1507885240d1488d5bc69e85 Mon Sep 17 00:00:00 2001 From: David Maus <maus@hab.de> Date: Mon, 17 Dec 2018 09:15:02 +0100 Subject: [PATCH] =?UTF-8?q?Model=20f=C3=BCr=20physische=20Seiten=20erg?= =?UTF-8?q?=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/instance/schema/diglib-structmd.rnc | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/public/instance/schema/diglib-structmd.rnc b/public/instance/schema/diglib-structmd.rnc index 9d3f2eee..ebb9cfad 100644 --- a/public/instance/schema/diglib-structmd.rnc +++ b/public/instance/schema/diglib-structmd.rnc @@ -1,12 +1,27 @@ # RelaxNG für deskriptive Metadaten von Objektstrukturen # # Autor: David Maus <maus@hab.de> -# Timestamp: <2018-09-21 12:13:22 maus> +# Timestamp: <2018-12-17 09:14:13 maus> # namespace diglib = "http://uri.hab.de/ontology/diglib-struct#" +namespace exif = "https://www.w3.org/2003/12/exif/ns#" namespace rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#" start = element rdf:Description { + ( model.logical | model.physical ) +} + +model.logical = element diglib:* { text }+ -} \ No newline at end of file + +model.physical = + element exif:width { + attribute rdf:datatype { xsd:anyURI }? + & text + } + & element exif:height { + attribute rdf:datatype { xsd:anyURI }? + & text + } + \ No newline at end of file -- GitLab