#G. Ken Holman's 's illustration of the fact that elements are the principal node type along the attribute axis from Xml.Xslt import test_harness sheet_and_source = """ Using self:: - Using self:: - """ xt_output = """Using self:: att1-att1-val att2-att2-val att3-att3-val Using self:: att1-att1-val att3-att3-val""" expected_1 = """Using self:: att1-att1-val att2-att2-val att3-att3-val Using self:: att1-att1-val att3-att3-val""" def Test(tester): source = test_harness.FileInfo(string=sheet_and_source) sheet = test_harness.FileInfo(string=sheet_and_source) test_harness.XsltTest(tester, source, [sheet], expected_1) return