Added early version of libxml backend
This commit is contained in:
17
Backend-libXML/main.py
Normal file
17
Backend-libXML/main.py
Normal 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()
|
||||
|
||||
Reference in New Issue
Block a user