# Dimitre Novatchev discover a brilliant # technique for dynamic template selection import os from Ft.Lib import Uri from Xml.Xslt import test_harness sheet_1 = """\ num num2 """ source_1 = """\ 3 2 9 4 6 5 7 8 1 """ expected_1 = """\ 9 1""" def Test(tester): uri = Uri.OsPathToUri(os.path.abspath(__file__)) source = test_harness.FileInfo(string=source_1) sheet = test_harness.FileInfo(string=sheet_1, baseUri=uri) test_harness.XsltTest(tester, source, [sheet], expected_1) return