bartneck / swiML

A project to formalise swimming programs using XML
MIT License
2 stars 2 forks source link

XML meta information missing from swiML.py #81

Closed bartneck closed 4 months ago

bartneck commented 4 months ago

The swiML.py needs to create a proper XML header. It should take a parameter that defines the schema version to set the right link to the XSD file.

<?xml version="1.0" encoding="UTF-8"?>
<program xmlns="https://github.com/bartneck/swiML"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="https://github.com/bartneck/swiML/version/2/2.0 https://raw.githubusercontent.com/bartneck/swiML/main/version/2/2.0/swiML.xsd">