From 32abbb9470ee5135286a0a097e97cfcc586fcf9f Mon Sep 17 00:00:00 2001 From: Gerald Schmidt Date: Tue, 1 Dec 2009 13:02:16 +0000 Subject: [PATCH] Initial commit of DAISY transform XSL. --- src/xsl/openlearn2daisyhtml/heading.xsl | 96 +++++ src/xsl/openlearn2daisyhtml/inline.xsl | 96 +++++ src/xsl/openlearn2daisyhtml/item.xsl | 43 ++ src/xsl/openlearn2daisyhtml/lang.xsl | 17 + src/xsl/openlearn2daisyhtml/object.xsl | 366 ++++++++++++++++++ .../openlearn2daisyhtml.xsl | 10 + src/xsl/openlearn2daisyhtml/structure.xsl | 243 ++++++++++++ 7 files changed, 871 insertions(+) create mode 100644 src/xsl/openlearn2daisyhtml/heading.xsl create mode 100644 src/xsl/openlearn2daisyhtml/inline.xsl create mode 100644 src/xsl/openlearn2daisyhtml/item.xsl create mode 100644 src/xsl/openlearn2daisyhtml/lang.xsl create mode 100644 src/xsl/openlearn2daisyhtml/object.xsl create mode 100644 src/xsl/openlearn2daisyhtml/openlearn2daisyhtml.xsl create mode 100644 src/xsl/openlearn2daisyhtml/structure.xsl diff --git a/src/xsl/openlearn2daisyhtml/heading.xsl b/src/xsl/openlearn2daisyhtml/heading.xsl new file mode 100644 index 0000000..46e8bf0 --- /dev/null +++ b/src/xsl/openlearn2daisyhtml/heading.xsl @@ -0,0 +1,96 @@ + + + + + +
+ +
+
+ +

+ +

+
+ +

+ +

+
+ +

+ +

+
+ +

+ +

+
+
+
+ + + +
+ +
+
+ +
+ +
+
+ +

+ +

+
+ +

+ +

+
+ +

+ +

+
+
+
+ +

+ +

+
+ + +

+ + Question + +

+
+ +
+ + +

+ + Answer + +

+
+ +
+ + +

+ + Discussion + +

+
+ +
+
diff --git a/src/xsl/openlearn2daisyhtml/inline.xsl b/src/xsl/openlearn2daisyhtml/inline.xsl new file mode 100644 index 0000000..8a83fc7 --- /dev/null +++ b/src/xsl/openlearn2daisyhtml/inline.xsl @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + +
+ Side note + +
+ End of side note +
+
+ +
+ + + +
+ +
+ +
+ +
+ Footnote +
+ +
+ End of footnote +
+
+ +
+ +
+ + + + + + + + + + + + +
+
+ + +
+
+ + + + + + + + +
diff --git a/src/xsl/openlearn2daisyhtml/item.xsl b/src/xsl/openlearn2daisyhtml/item.xsl new file mode 100644 index 0000000..2edc15b --- /dev/null +++ b/src/xsl/openlearn2daisyhtml/item.xsl @@ -0,0 +1,43 @@ + + + + + + + + + + + en + + + + + + + + + + + + + <xsl:value-of select="/Item/ItemTitle"/> + + + + + + + +

+ +

+ + + + + + + +
+
diff --git a/src/xsl/openlearn2daisyhtml/lang.xsl b/src/xsl/openlearn2daisyhtml/lang.xsl new file mode 100644 index 0000000..9d9a45c --- /dev/null +++ b/src/xsl/openlearn2daisyhtml/lang.xsl @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/src/xsl/openlearn2daisyhtml/object.xsl b/src/xsl/openlearn2daisyhtml/object.xsl new file mode 100644 index 0000000..6745085 --- /dev/null +++ b/src/xsl/openlearn2daisyhtml/object.xsl @@ -0,0 +1,366 @@ + + + +

Learning outcomes

+ +
    + +
+
+ +
  • + +
  • +
    + +

    Glossary

    + +
    + + + +

      +
    + +

    + +

    +
    + + +

    Course team

    +
    + +
    + +

    + +

    +
    + +

    + +

    +
    + +

    + +

    +
    + + +

    + + Activity + +

    +
    + +

    + End of activity +

    +
    + + +

    + + SAQ + +

    +
    + +

    + End of SAQ +

    +
    + + +

    + + Exercise + +

    +
    + +

    + End of exercise +

    +
    + + +

    + + ITQ + +

    +
    + +

    + End of ITQ +

    +
    + +

    + Figure +

    +

    + + + + + + + + +

    + + + + +

    + End of figure +

    +
    + +

    + Equation +

    +

    + + + + + + + + +

    + + + + + + + End of equation +
    + +

    + TeX source +

    +

    + +

    +
    + + + + +

    + + + + + + + + +

    +
    + +

    References

    + +
    + +

    + +

    +
    + +

    + Box +

    + +

    + + Box + +

    +
    + +

    + End of box +

    +
    + + +

    + + Case study + +

    +
    + +

    + End of case study +

    +
    + + +

    + + Example + +

    +
    + +

    + End of example +

    +
    + + +

    + + Extract + +

    +
    + +

    + End of extract +

    +
    + + +

    + + Verse + +

    +
    + +

    + End of verse +

    +
    + + +

    + + Dialogue + +

    +
    + +

    + End of dialogue +

    +
    + +

    + +

    +
    + +

    + +

    +
    + + +

    + + Reading + +

    +
    + +

    + End of reading +

    +
    + +

    + + Program listing + +

    + +

    + End of program listing +

    +
    + +

    + + Computer display + +

    + +

    + End of computer display +

    +
    + +
    +      
    +    
    +
    + +
    +
    + + +

    + Study note +

    +
    + +

    + End of study note +

    +
    + + +

    + + Transcript + +

    +
    + +

    + End of transcript +

    +
    + +

    + Key points +

    + +
      + +
    +

    + End of key points +

    +
    + +
  • + +
  • +
    + + +

    + + Summary + +

    +
    + +

    + End of summary +

    +
    +
    diff --git a/src/xsl/openlearn2daisyhtml/openlearn2daisyhtml.xsl b/src/xsl/openlearn2daisyhtml/openlearn2daisyhtml.xsl new file mode 100644 index 0000000..78f2898 --- /dev/null +++ b/src/xsl/openlearn2daisyhtml/openlearn2daisyhtml.xsl @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/src/xsl/openlearn2daisyhtml/structure.xsl b/src/xsl/openlearn2daisyhtml/structure.xsl new file mode 100644 index 0000000..abe1f4e --- /dev/null +++ b/src/xsl/openlearn2daisyhtml/structure.xsl @@ -0,0 +1,243 @@ + + + +

    + +

    +
    + + + + + +

    + +

    +
    + +

    + +

    +
    + + + + +

    + +

    +
    + + + + +

    + +

    +
    + + + + +

    + +

    +
    + + + + +

    + +

    +
    + + + + +

    + +

    +
    + + + + +

    + +

    +
    + + + + + + + +

    + +

    +
    + + +

    Acknowledgements

    +
    + +
    + +

    + +

    +
    + +

    + +

    +
    + +

    + +

    +
    + + + + + + + +

    + +

    +
    + +

    + + Source + +

    +

    + +

    +
    + + + + + +

    [Audio content]

    +

    + .mp3MP3 file + +

    +
    + +

    [PDF content]

    + +
    + +

    + End of content +

    +
    + + + + + + +
      + +
    +
    + +
      + +
    +
    + +
  • + +
  • +
    + +

    + +

    +
    + +

    + +

    +
    + +

    + +

    +
    + +

    + +

    +
    + +

    + Table +

    + +

    + End of table +

    +
    + +

    + + + +

    +
    + + + + +

    + +

    +
    + + + + +
    +
    + + + + + + + + + + + + + + + + +

    + +

    +
    +
    hours
    +
    +
    minutes
    +
    + +
    + +
    +
    + +