„scripts/validate_xml_isybau.py“ ändern
This commit is contained in:
@@ -6,10 +6,10 @@ xsd_path = 'C:/temp-GIS/_isy/2017/1_XML-Schema/1707-metadaten.xsd'
|
||||
|
||||
|
||||
try:
|
||||
with open(dateipfad, 'r', encoding='utf-8') as f:
|
||||
with open(xml_path, 'r', encoding='utf-8') as f:
|
||||
zeilen = f.readlines()
|
||||
except FileNotFoundError:
|
||||
return "Datei nicht gefunden."
|
||||
print("Datei nicht gefunden.")
|
||||
|
||||
def finde_letzte_bezeichnung(zeilen, ziel_zeile):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user