diff --git a/vocmap.xml b/vocmap.xml index f44d3dd..9692071 100644 --- a/vocmap.xml +++ b/vocmap.xml @@ -965,4 +965,179 @@ https://www.smb.museum/za + + + + + + Architekturfotografie + + + Architekturzeichnung + architectural drawings (visual works) + http://vocab.getty.edu/aat/300034787 + + + Baukeramik (Keramik) + Baukeramik + + + Dokumentarfotografie + Dokumentarfotografie (visuelles Werk) + documentary photographs + http://vocab.getty.edu/aat/300264341 + + + Buchkunst + book art (bookworks) + http://vocab.getty.edu/aat/300178842 + + + Buchmalerei + Buchmalerei (visuelles Werk) + illuminations (visual works) + http://vocab.getty.edu/aat/300264522 + + + Druckgrafik + Druckgraphik + prints + http://vocab.getty.edu/aat/ + + + Einblattdruck + http://vocab.getty.edu/aat/300041337 + + + Ethnographie + ethnography + http://vocab.getty.edu/aat/300054319 + + + Ethnologische Fotografie + + + Feldaufnahme + field recordings + http://vocab.getty.edu/aat/300265794 + + + Feldfotografie + + + Form + + + Fotografie und Moderne Kunst + Photographie + Fotografie + photography + http://vocab.getty.edu/aat/300054225 + + + Gefäßkeramik (Keramik) + Gefäßkeramik + Gefäßkeramik + + + Gruppenaufnahme (Personen) + Aufnahme einer Gruppe von Personen + + + Gipsabguss + Abguss + + casts (sculpture) + http://vocab.getty.edu/aat/300047806 + + + Glas + Glas (Material) + glass (material) + http://vocab.getty.edu/aat/300010797 + + + Glaskunst + + glass (material) + http://vocab.getty.edu/aat/300010797 + + + Keramik + ceramics (objects) + http://vocab.getty.edu/aat/300151343 + + + Klangerzeugung + + + Kunstgewerbe + decorative arts + http://vocab.getty.edu/aat/300054168 + + + Malmodell + + + Numismatik + http://vocab.getty.edu/aat/ + + + 33 R - Profangraphik + Profangrafik + + Grafik (grafische Darstellung) + http://vocab.getty.edu/aat/300026848 + + + Person (Einzelaufnahme) + Person + + people (agents) + http://vocab.getty.edu/aat/300024979 + + + Kunstgewerbe & Reliefplastik + + Reliefplastik + + + Schmuck + jewelry + http://vocab.getty.edu/aat/300209286 + + + Skulptur + sculpture (visual work) + http://vocab.getty.edu/aat/300047090 + + + Stein + stone (rock) + http://vocab.getty.edu/aat/300011176 + + + Tafelmalerei + Tafelmalerei (Gemälde) + panel paintings (painting by form) + http://vocab.getty.edu/aat/300033656 + + + Textilie + + + Werkstattmodell + + + Zeichnung + drawings (visual works) + http://vocab.getty.edu/aat/300033973 + + + Zeichenkunst + + \ No newline at end of file diff --git a/zml2lido/data/xsl/zml2lido/classificationWrap.xsl b/zml2lido/data/xsl/zml2lido/classificationWrap.xsl index c0dc996..7a0066a 100644 --- a/zml2lido/data/xsl/zml2lido/classificationWrap.xsl +++ b/zml2lido/data/xsl/zml2lido/classificationWrap.xsl @@ -3,7 +3,8 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://www.zetcom.com/ria/ws/module" - exclude-result-prefixes="z" + xmlns:func="http://func" + exclude-result-prefixes="z func" xsi:schemaLocation="http://www.lido-schema.org http://www.lido-schema.org/schema/v1.0/lido-v1.0.xsd"> @@ -392,15 +393,39 @@ - + - + + + + + + classification from systematikArt - + + + + + + + + + + + + + \ No newline at end of file diff --git a/zml2lido/data/xsl/zml2lido/func.xsl b/zml2lido/data/xsl/zml2lido/func.xsl index e908040..81e01b3 100644 --- a/zml2lido/data/xsl/zml2lido/func.xsl +++ b/zml2lido/data/xsl/zml2lido/func.xsl @@ -246,6 +246,38 @@ ] = $src-term]"/> + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/zml2lido/lidoTool.py b/zml2lido/lidoTool.py index 64043dc..f869817 100644 --- a/zml2lido/lidoTool.py +++ b/zml2lido/lidoTool.py @@ -84,6 +84,9 @@ def execute(self, job: str) -> None: if job == "dd": # debug. Only lvl1 lido_fn = self.zml2lido(Input=self.Input) + elif job == "ddd": + # debug. Only lvl1 + lido_fn = self.zml2lido(Input=self.Input) self._valsplit(lido_fn) elif job == "ohneLit": # use different xslt for lvl1 conversion plus lvl2 @@ -231,7 +234,11 @@ def zml2lido(self, *, Input, xslt="zml2lido"): else: return self.zml2lidoSingle(Input=Input, xslt=xslt) - def zml2lidoSingle(self, *, Input, xslt="zml2lido"): + def zml2lidoSingle(self, *, Input:str|Path, xslt="zml2lido") -> Path: + """ + Convert a single file from zml to lido using the specified xslt. + Input is a full path. + """ inputP = Path(Input) lidoFn = self.outdir.joinpath(inputP.stem + ".lido.xml") print(f"zml2lidoSingle with {xsl[xslt]}") # with file '{lidoFn}'