# Kamel Howard reported difficulty using "current()" in a place
# where "." would have sufficed. See
# http://lists.fourthought.com/pipermail/4suite/2003-September/012215.html
from Xml.Xslt import test_harness
SRC_1 = """
"""
SHEET_1 = """
"""
EXPECTED_1 = """
| 1 |
one |
| 2 |
two |
| 3 |
three |
| 4 |
four |
| 5 |
five |
| 6 |
six |
"""
def Test(tester):
source = test_harness.FileInfo(string=SRC_1)
sheet = test_harness.FileInfo(string=SHEET_1)
test_harness.XsltTest(tester, source, [sheet], EXPECTED_1,
title='current() instead of .')