matts 02/03/09 07:46:32 Modified: demo .htaccess demo/xslt .htaccess error.html index.xml stylesheet.xsl Log: Implemented something actually working :-) I will leave further XSLT demos for others to write though. Revision Changes Path 1.2 +1 -0 xml-axkit/demo/.htaccess Index: .htaccess =================================================================== RCS file: /home/cvs/xml-axkit/demo/.htaccess,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .htaccess 8 Mar 2002 17:31:16 -0000 1.1 +++ .htaccess 9 Mar 2002 15:46:32 -0000 1.2 @@ -9,6 +9,7 @@ ## Text files handled by default-handler (I forget why I need this) AddHandler default-handler .txt +AddHandler default-handler .html ##################################################################### ## Debugging Options 1.3 +1 -1 xml-axkit/demo/xslt/.htaccess Index: .htaccess =================================================================== RCS file: /home/cvs/xml-axkit/demo/xslt/.htaccess,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- .htaccess 8 Mar 2002 17:43:44 -0000 1.2 +++ .htaccess 9 Mar 2002 15:46:32 -0000 1.3 @@ -3,6 +3,6 @@ AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT ## Set the error document -ErrorDocument 500 error.html +ErrorDocument 500 /axkit/xslt/error.html AxAddRootProcessor text/xsl stylesheet.xsl page 1.2 +11 -1 xml-axkit/demo/xslt/error.html Index: error.html =================================================================== RCS file: /home/cvs/xml-axkit/demo/xslt/error.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- error.html 8 Mar 2002 17:31:16 -0000 1.1 +++ error.html 9 Mar 2002 15:46:32 -0000 1.2 @@ -9,7 +9,17 @@ -

Error loading demo...

+

Error loading demo

+This is probably caused because the required Perl modules were +not installed on your system. The required modules for this +demo are: +

+If you think this was not the cause of the error, please check +your apache error log, and note any errors there, before getting +in touch with the AxKit Users mailing list.

1.2 +11 -1 xml-axkit/demo/xslt/index.xml Index: index.xml =================================================================== RCS file: /home/cvs/xml-axkit/demo/xslt/index.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- index.xml 8 Mar 2002 17:31:16 -0000 1.1 +++ index.xml 9 Mar 2002 15:46:32 -0000 1.2 @@ -1,3 +1,13 @@ -Some content here please. + + XSLT Examples + + +
+ XSLT Examples (XML::LibXML) + + These pages contain XSLT examples. + +
+
1.2 +38 -2 xml-axkit/demo/xslt/stylesheet.xsl Index: stylesheet.xsl =================================================================== RCS file: /home/cvs/xml-axkit/demo/xslt/stylesheet.xsl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- stylesheet.xsl 8 Mar 2002 17:31:16 -0000 1.1 +++ stylesheet.xsl 9 Mar 2002 15:46:32 -0000 1.2 @@ -1,3 +1,39 @@ - -Needs writing. + + + + + + + + + + + + + + + +<xsl:apply-templates/> + + + + + + + + + + + +

+
+ + +

+ +

+
+