diff --git a/src/sparqlunicorn_ontdoc/export/api/wfsexporter.py b/src/sparqlunicorn_ontdoc/export/api/wfsexporter.py index b9c40f1..85ab911 100644 --- a/src/sparqlunicorn_ontdoc/export/api/wfsexporter.py +++ b/src/sparqlunicorn_ontdoc/export/api/wfsexporter.py @@ -41,10 +41,11 @@ def generateFeatureDescriptions(outpath,deploypath,featurecollectionspaths,versi for prop in firstfeat["properties"]: result+=f"""""" result+="" - f = open(op + "/index.json", "w", encoding="utf-8") - f.write(json.dumps(currentcollection)) + result+="" + f = open(op + "/index.xml", "w", encoding="utf-8") + f.write(json.dumps(result)) f.close() - f = open(op + "/index.html", "w", encoding="utf-8") + f = open(op + "/indexc.html", "w", encoding="utf-8") f.write("

" + featurecollectionspaths[coll][ "name"] + "

" #+ str(curcollrow) + "
CollectionLinks
")