#Example from David Carlisle to Mark Anderson on 10 Dec 1999 from Xml.Xslt import test_harness stylesheet = """ """ xml_source=""" test one this paragraph this paragraph another paragraph another paragraph """ expected=""" test test one this paragraph this paragraph another paragraph another paragraph """ def Test(tester): source = test_harness.FileInfo(string=xml_source) sheet = test_harness.FileInfo(string=stylesheet) test_harness.XsltTest(tester, source, [sheet], expected) return
this paragraph this paragraph
another paragraph another paragraph