xml-axkit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject cvs commit: xml-axkit/demo/xsp index.xml .htaccess error.html
Date Sat, 09 Mar 2002 16:26:42 GMT
matts       02/03/09 08:26:42

  Modified:    demo/xsp .htaccess error.html
  Added:       demo/xsp index.xml
  Log:
  Start of working XSP examples
  
  Revision  Changes    Path
  1.2       +4 -3      xml-axkit/demo/xsp/.htaccess
  
  Index: .htaccess
  ===================================================================
  RCS file: /home/cvs/xml-axkit/demo/xsp/.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 16:26:42 -0000	1.2
  @@ -1,8 +1,9 @@
   
   ## Load the module mapping:
  -AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
  +AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP
   
   ## Set the error document
  -ErrorDocument error.html
  +ErrorDocument 500 /axkit/xsp/error.html
  +
  +AxAddRootProcessor application/x-xsp NULL {http://www.apache.org/1999/XSP/Core}page
   
  -AxAddRootProcessor text/xsl stylesheet.xsl page
  
  
  
  1.2       +10 -1     xml-axkit/demo/xsp/error.html
  
  Index: error.html
  ===================================================================
  RCS file: /home/cvs/xml-axkit/demo/xsp/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 16:26:42 -0000	1.2
  @@ -9,7 +9,16 @@
   </head>
   
   <body>
  -<h1>Error loading demo...</h1>
  +<h1>Error loading demo</h1>
   <p>
  +This is probably caused because the required Perl modules were
  +not installed on your system. The required modules for this
  +demo are:
  +<ul>
  +    <li>XML::LibXML</li>
  +</ul>
  +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 <a href="http://axkit.org/mailinglist.xml">mailing
list</a>.
   </p>
   </body>
  
  
  
  1.1                  xml-axkit/demo/xsp/index.xml
  
  Index: index.xml
  ===================================================================
  <xsp:page xmlns:xsp="http://www.apache.org/1999/XSP/Core">
  
  <html>
      <xsp:logic>
      $r->no_cache(1);
      </xsp:logic>
  
      <head>
          <title>XSP Examples</title>
          <link rel="stylesheet" href="/axkit/stylesheets/style.css"/>
      </head>
      <body>
          <h1>XSP Examples</h1>
          <p>
          This page contains some XSP examples. This page is an example in itself,
          and lists the example pages that will work on your installation.
          </p>
          <p>
              <ul>
                  <li><a href="core.xsp">Core XSP only Example</a></li>
                  
              <xsp:logic>
              eval {
                  require AxKit::XSP::ESQL;
              };
              if (!$@) {
                  <li><a href="esql.xsp">ESQL Example</a></li>
              }
              else {
                  AxKit::Debug(1, "ESQL failed to load: $@");
                  <li>ESQL Example unavailable (see error log for details)</li>
              }
              
              </xsp:logic>
              </ul>
          </p>
          <p>
          If no examples appear other than the core XSP example, then you may
          need to install some of the XSP taglibs from CPAN. To find those, either
          load up the CPAN shell and type: <tt>i /XSP/</tt> to see all the taglibs
          available, or go to <a 
          href="http://search.cpan.org/search?mode=module;query=XSP">this link</a>
          to find all the XSP taglibs on CPAN.
          </p>
      </body>
  </html>
  </xsp:page>
  
  

Mime
View raw message