from Xml.Xslt import test_harness SHEET = """ := `' """ SOURCE = """ a b c """ EXPECTED = "\nfoo := `b\'\n foo := `c\'\n foo := `b\'\n foo := `c\'\n thing := `a\'\n thing := `b\'\n thing := `c\'\n thing := `a\'\n thing := `a\'\n " def Test(tester): source = test_harness.FileInfo(string=SOURCE) sheet = test_harness.FileInfo(string=SHEET) test_harness.XsltTest(tester, source, [sheet], EXPECTED, title='current() with node comparisons across documents') return