Added early version of libxml backend

This commit is contained in:
2023-01-26 09:59:27 +01:00
parent 8bac9db2a9
commit 17299a9a94
11 changed files with 173 additions and 0 deletions

17
Backend-libXML/main.py Normal file
View File

@@ -0,0 +1,17 @@
import Parser
if __name__ == '__main__':
SOURCE = "sample/xslt.xml"
XSLT = "sample/sample.xslt"
file = open(SOURCE, "r")
xml = file.read()
file.close()
file = open(XSLT, "r")
xslt = file.read()
print(Parser.xslt(xml, xslt))
file.close()