#Olivier Cayrol reports xsl:import bug
#http://sourceforge.net/bugs/?func=detailbug&bug_id=128172&group_id=6473
from Xml.Xslt import test_harness
sheet_1 = """\
Cars Pool Management
Cars Pool Management
| State |
Brand |
Type |
Registration Number |
|
|
|
|
|
"""
source_1 = """\
Ferrari
F40
459 CBO 75
Porsche
911
347 CQQ 75
"""
expected_1 = """\
Cars Pool Management
Cars Pool Management
| State |
Brand |
Type |
Registration Number |
| Free |
Ferrari |
F40 |
459 CBO 75 |
|
Used
|
Porsche |
911 |
347 CQQ 75 |
"""
#"
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