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()