#"Steve Muench" offers help with nested grouping to "Alex Aguilar" from Xml.Xslt import test_harness sheet_1 = """ """ source_1 = """ Sarah's MoneyMarket Fund Cash MoneyMarket 12845 0 4 Bob's MoneyMarket Fund Cash MoneyMarket 11475 0 4 Will's Fund Domestic Equity Growth Small Cap 12345 0 4 John's Fund Domestic Equity Growth Small Cap 11445 0 4 Patrick's Fund Domestic Equity Value Medium Cap 12378 0 4 Alex's Fund Domestic Equity Aggressive Growth Medium Cap 17378 0 5 Pablo's Fund International Equity Growth Small Cap 12345 0 4 Pierre's Fund International Equity Growth Small Cap 11645 0 4 Bharat's Fund International Equity Value Small Cap 12378 0 5 Onikaru's Fund International Equity Value Large Cap 13474 0 4 Gunther's Fund International Equity Aggressive Growth Medium Cap 17378 0 5 """ expected_1 = """Cash MoneyMarket Sarah's MoneyMarket Fund Bob's MoneyMarket Fund Domestic Equity Growth Will's Fund John's Fund Value Patrick's Fund Aggressive Growth Alex's Fund International Equity Growth Pablo's Fund Pierre's Fund Value Bharat's Fund Onikaru's Fund Aggressive Growth Gunther's Fund """ 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