#Jeni Tennison expores the world of NaN from Xml.Xslt import test_harness sheet_1 = """ String value of NaN: String value of boolean value of NaN: String value of boolean value of string value of NaN: String value of numerical value of boolean value of NaN: String value of numerical value of boolean value of string value of NaN: """ source_1 = """""" saxon_expected = """ String value of NaN: NaN String value of boolean value of NaN: false String value of boolean value of string value of NaN: true String value of numerical value of boolean value of NaN: 0 String value of numerical value of boolean value of string value of NaN: 1 """ expected_1 = """ String value of NaN: NaN String value of boolean value of NaN: false String value of boolean value of string value of NaN: true String value of numerical value of boolean value of NaN: 0 String value of numerical value of boolean value of string value of NaN: 1""" def Test(tester): source = test_harness.FileInfo(string=source_1) sheet = test_harness.FileInfo(string=sheet_1) test_harness.XsltTest(tester, source, [sheet], expected_1) return