diff --git a/xslt/.gitignore b/xslt/.gitignore deleted file mode 100644 index d1a79349..00000000 --- a/xslt/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.html -*.test_result.xml -*.next_day.xml diff --git a/xslt/README.md b/xslt/README.md deleted file mode 100644 index d06ce2ce..00000000 --- a/xslt/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# XSLT port of the Gilded-Rose Kata - -This is a XSLT 1.0 port of the *Gilded-Rose-Kata*. - -## Building and Running - -* [Apache Ant's XSLT task](https://ant.apache.org/manual/Tasks/style.html) is used to run the transformations. -* `update_quality.xsl` contains the Gilded Rose logic. -* Run Ant in the current folder to transform all files. -* `texttest_fixture.xml` is transformed into `texttest_fixture.next_day.xml` with updated values. - -## Unit Test - -[xsltunit](http://xsltunit.org/) is a implementation of xUnit in XSLT. - -* `tst_update_quality.xsl`is the the test (stylesheet). -* Run Ant in the current folder to run the tests. -* `update_quality.test_result.xml` contains the results and - `update_quality.test_result.html` is a readable report. diff --git a/xslt/build.xml b/xslt/build.xml deleted file mode 100644 index 98eaa2ff..00000000 --- a/xslt/build.xml +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/xslt/gilded_rose.dtd b/xslt/gilded_rose.dtd deleted file mode 100644 index 2967f30d..00000000 --- a/xslt/gilded_rose.dtd +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - diff --git a/xslt/texttest_fixture.xml b/xslt/texttest_fixture.xml deleted file mode 100644 index ae15fcf1..00000000 --- a/xslt/texttest_fixture.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - OMGHAI! - 0 - - - - - - - - - - - - - diff --git a/xslt/tst_update_quality.xsl b/xslt/tst_update_quality.xsl deleted file mode 100644 index 99834ade..00000000 --- a/xslt/tst_update_quality.xsl +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - OMGHAI! - - - - - - OMGHAI! - - - - - - - - - - OMGHAI! - - - - - - 12 - - - - - - - - - - 13 - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - fixme - - - - - - diff --git a/xslt/update_quality.xsl b/xslt/update_quality.xsl deleted file mode 100644 index f98a5baf..00000000 --- a/xslt/update_quality.xsl +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - -<!DOCTYPE gildedrose SYSTEM "gilded_rose.dtd"> - - - - - OMGHAI! - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - -0+ - - - - - + - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/xslt/xsltunit-0.2/xsltunit.xsl b/xslt/xsltunit-0.2/xsltunit.xsl deleted file mode 100644 index 447b2f92..00000000 --- a/xslt/xsltunit-0.2/xsltunit.xsl +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Should have been different! - - - - - - - - - - passed - - - failed - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/xslt/xsltunit-0.2/xsltunit_report.xsl b/xslt/xsltunit-0.2/xsltunit_report.xsl deleted file mode 100644 index fe504d42..00000000 --- a/xslt/xsltunit-0.2/xsltunit_report.xsl +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - All Tests - - -

Tests Stylesheet

- - - -
- - -

Test

-
    - -
-
- - -
  • - Assert ... - - - Passed - - - Failed - - - -
  • -
    - - - - - - - - - - - - - -
    Expected:
    Actual:
    -
    - -