upgrade to PAGE-XML 2019

(fixes https://github.com/qurator-spk/eynollah/issues/6)
pull/8/head
Clemens Neudecker 4 years ago committed by GitHub
parent 3aecf47f53
commit e9d132e1b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1453,9 +1453,9 @@ class eynollah:
# create the file structure # create the file structure
data = ET.Element("PcGts") data = ET.Element("PcGts")
data.set("xmlns", "http://schema.primaresearch.org/PAGE/gts/pagecontent/2017-07-15") data.set("xmlns", "http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15")
data.set("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance") data.set("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance")
data.set("xsi:schemaLocation", "http://schema.primaresearch.org/PAGE/gts/pagecontent/2017-07-15") data.set("xsi:schemaLocation", "http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15")
metadata = ET.SubElement(data, "Metadata") metadata = ET.SubElement(data, "Metadata")
@ -1960,9 +1960,9 @@ class eynollah:
# create the file structure # create the file structure
data = ET.Element("PcGts") data = ET.Element("PcGts")
data.set("xmlns", "http://schema.primaresearch.org/PAGE/gts/pagecontent/2017-07-15") data.set("xmlns", "http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15")
data.set("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance") data.set("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance")
data.set("xsi:schemaLocation", "http://schema.primaresearch.org/PAGE/gts/pagecontent/2017-07-15") data.set("xsi:schemaLocation", "http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15")
metadata = ET.SubElement(data, "Metadata") metadata = ET.SubElement(data, "Metadata")

Loading…
Cancel
Save