richter     01/09/20 13:02:02

  Modified:    .        Tag: Embperl2c INSTALL.pod MANIFEST MANIFEST.2
                        README.v2
  Log:
  Embperl 2.0b4_dev-5 with basic XSLT support
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.12.4.7  +28 -0     embperl/INSTALL.pod
  
  Index: INSTALL.pod
  ===================================================================
  RCS file: /home/cvs/embperl/INSTALL.pod,v
  retrieving revision 1.12.4.6
  retrieving revision 1.12.4.7
  diff -u -r1.12.4.6 -r1.12.4.7
  --- INSTALL.pod       2001/09/18 18:01:45     1.12.4.6
  +++ INSTALL.pod       2001/09/20 20:02:02     1.12.4.7
  @@ -68,6 +68,34 @@
   will show you a list of available option. Most of them you will never need,
   they are mainly nesseccary for debugging I<Embperl> itself.
   
  +=head2 XML and XSLT support
  +
  +Starting with Embperl 2.0b4 it has a build in XSLT support. You can either
  +use the Apache Xerces-C and Xalan-C and/or Gnome libxml and libxslt.
  +Embperl is currently tested with Xalan 1.2 and libxslt 1.0.4.
  +
  +To install Xalan, download the Xalan archive for your OS from 
  +http://xml.apache.org/dist/xalan-c/
  + 
  +For Linux it is Xalan-C_1_2-linux.tar.gz
  +For Solaris it is Xalan-C_1_2-solaris.tar.gz
  + 
  +Extract the archive and make the shared libraries available to the system,
  +either by adding the directories to LD_LIBRARY_PATH or by coping them to
  +a library directory, e.g. /usr/local/lib and run ldconfig -v. The two
  +ncessary libraries can be found under
  + 
  +    xerces-c1_5_1-linux/lib/libxerces-c1_5_1.so
  +    xml-xalan/c/lib/libxalan-c1_2.so
  +
  +Now you only have to enter the basepath of where you have extraced the 
  +Xalan archive, when Makefile.PL asks you for it and proceed as normal.
  +
  +To use libxml/libxslt, download them from http://xmlsoft.org/ and install
  +them on your system. Makefile.PL will automaticly detect the installed
  +libraries and linked them into Embperl. (you have to make sure
  +that xml2-config and xslt-config can be found and run by Makefile.PL)
  +
   
   =head2 Debian packages
   
  
  
  
  1.50.4.30 +24 -3     embperl/MANIFEST
  
  Index: MANIFEST
  ===================================================================
  RCS file: /home/cvs/embperl/MANIFEST,v
  retrieving revision 1.50.4.29
  retrieving revision 1.50.4.30
  diff -u -r1.50.4.29 -r1.50.4.30
  --- MANIFEST  2001/09/18 18:01:45     1.50.4.29
  +++ MANIFEST  2001/09/20 20:02:02     1.50.4.30
  @@ -17,6 +17,10 @@
   Embperl/Syntax/RTF.pm
   Embperl/Syntax/POD.pm
   README.v2
  +driver/eplibxslt.MAKEPL
  +driver/eplibxslt.c
  +driver/epxalan.MAKEPL
  +driver/epxalan.cpp
   test/cmp2/errdoc2.htm
   test/cmp2/error.htm
   test/cmp2/errormismatch.htm
  @@ -50,7 +54,7 @@
   test/html/incperl.htm
   test/html/syntax.htm
   test/html/asp.htm
  -test/html/SSI/ssibase.htm
  +test/html/SSI/ssibasic.htm
   test/html/SSI/ssiinc.htm
   test/html/SSIEP/ssiep.htm
   test/html/registry/script.pl
  @@ -62,10 +66,25 @@
   test/html/rtf/rtfbasic.asc
   test/html/rtf/rtffull.asc
   test/html/rtf/rtfloop.asc
  +test/html/rtf/rtfadv.asc
  +test/html/rtf/rtfmeta.asc
  +test/html/xml/pod.xml
  +test/html/xml/pod.xsl
  +test/html/xml/kfdres.xml
  +test/html/xml/kfd.xsl
  +test/html/pod/pod.asc
  +test/html/incxmlLibXSLT.htm
  +test/html/incxmlXalanXSLT.htm
  +test/cmp/pod.asc
  +test/cmp/pod.xml
  +test/cmp/pod.xml.xalan
  +test/cmp/pod.asc.htm
  +test/cmp/pod.asc.xalan.htm
  +test/cmp/incxmlLibXSLT.htm
  +test/cmp/incxmlXalanXSLT.htm
   test/cmp/incif.htm
   test/cmp/executesub.htm
  -test/cmp/ssibase.htm
  -test/cmp/ssiinc.htm
  +test/cmp/ssibasic.htm
   test/cmp/ssiep.htm
   test/cmp/inctext.htm
   test/cmp/incperl.htm
  @@ -79,6 +98,8 @@
   test/cmp/rtfbasic.asc
   test/cmp/rtffull.asc
   test/cmp/rtfloop.asc
  +test/cmp/rtfadv.asc
  +test/cmp/rtfmeta.asc
   Changes.pod
   Embperl.pm
   Embperl.xs
  
  
  
  1.1.2.19  +20 -3     embperl/Attic/MANIFEST.2
  
  Index: MANIFEST.2
  ===================================================================
  RCS file: /home/cvs/embperl/Attic/MANIFEST.2,v
  retrieving revision 1.1.2.18
  retrieving revision 1.1.2.19
  diff -u -r1.1.2.18 -r1.1.2.19
  --- MANIFEST.2        2001/07/25 04:05:48     1.1.2.18
  +++ MANIFEST.2        2001/09/20 20:02:02     1.1.2.19
  @@ -17,6 +17,10 @@
   Embperl/Syntax/RTF.pm
   Embperl/Syntax/POD.pm
   README.v2
  +driver/eplibxslt.MAKEPL
  +driver/eplibxslt.c
  +driver/epxalan.MAKEPL
  +driver/epxalan.cpp
   test/cmp2/errdoc2.htm
   test/cmp2/error.htm
   test/cmp2/errormismatch.htm
  @@ -50,7 +54,7 @@
   test/html/incperl.htm
   test/html/syntax.htm
   test/html/asp.htm
  -test/html/SSI/ssibase.htm
  +test/html/SSI/ssibasic.htm
   test/html/SSI/ssiinc.htm
   test/html/SSIEP/ssiep.htm
   test/html/registry/script.pl
  @@ -62,10 +66,23 @@
   test/html/rtf/rtfbasic.asc
   test/html/rtf/rtffull.asc
   test/html/rtf/rtfloop.asc
  +test/html/xml/pod.xml
  +test/html/xml/pod.xsl
  +test/html/xml/kfdres.xml
  +test/html/xml/kfd.xsl
  +test/html/pod/pod.asc
  +test/html/incxmlLibXSLT.htm
  +test/html/incxmlXalanXSLT.htm
  +test/cmp/pod.asc
  +test/cmp/pod.xml
  +test/cmp/pod.xml.xalan
  +test/cmp/pod.asc.htm
  +test/cmp/pod.asc.xalan.htm
  +test/cmp/incxmlLibXSLT.htm
  +test/cmp/incxmlXalanXSLT.htm
   test/cmp/incif.htm
   test/cmp/executesub.htm
  -test/cmp/ssibase.htm
  -test/cmp/ssiinc.htm
  +test/cmp/ssibasic.htm
   test/cmp/ssiep.htm
   test/cmp/inctext.htm
   test/cmp/incperl.htm
  
  
  
  1.1.4.13  +50 -1     embperl/Attic/README.v2
  
  Index: README.v2
  ===================================================================
  RCS file: /home/cvs/embperl/Attic/README.v2,v
  retrieving revision 1.1.4.12
  retrieving revision 1.1.4.13
  diff -u -r1.1.4.12 -r1.1.4.13
  --- README.v2 2001/07/09 07:49:04     1.1.4.12
  +++ README.v2 2001/09/20 20:02:02     1.1.4.13
  @@ -9,7 +9,7 @@
   WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 
   MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
   
  -$Id: README.v2,v 1.1.4.12 2001/07/09 07:49:04 richter Exp $
  +$Id: README.v2,v 1.1.4.13 2001/09/20 20:02:02 richter Exp $
   
   
   ### !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !! 
  @@ -237,6 +237,9 @@
       - Mail              # Defines the <mail:send> tag, for sending mail. This is an
                           # example for a taglib, which could be a base for writing
                           # your own taglib to extent the number of available tags
  +    - POD               # translates pod files to XML, which can be converted to 
  +                        # the desired output format by an XSLT transformation
  +    - RTF               # Can be used to process word processing documents in RTF 
format
   
   You can get a description for each syntax if you type
   
  @@ -265,6 +268,52 @@
       [$ syntax SSI $]
   
   now you can only use SSI commands inside your page.
  +
  +
  +Session handling
  +----------------
  +
  +Session handling has changed from 1.3.3 to 1.3.4 and 2.0b3 to 2.0b4. You must either
  +install Apache::SessionX or set
  +
  +    PerlSetEnv EMBPERL_SESSION_HANDLER_CLASS "HTML::Embperl::Session"
  +
  +to get the old behaviour.
  +
  +
  +XML, XSLT and recipes
  +---------------------
  +
  +Starting with 2.0b4 Embperl introduces the concept of recipes. A recipe basicly
  +tells Embperl how the request should be processed. While before 2.0b4 you can 
  +have only one processor that works on the request (the Embperl processor, also
  +you are able to define different syntaxes), now you can have multiple of them
  +arragend in a pipeline or even a tree. Currently there are only three predefined
  +recipes:
  +
  +    Embperl             the default, does the same as before 2.0b4
  +    EmbperlLibXSLT      the result of Embperl will run thru the Gone libxslt
  +    EmbperlXalanXSLT    the result of Embperl will run thru Xalan-C
  +
  +Later versions of Embperl will allow you to cook your custom recipes.
  +You can set the recipe either with the configuration directive EMBPERL_RECIPE
  +or the Execute parameter recipe. For example including the result of an XSLT 
  +transformation into your html page could look like this:
  +
  +
  +    <html><head><title>Include XML via XSLT</title></head>
  +    <body>
  +
  +    <h1>Start xml</h1>
  +    [- Execute ({inputfile => 'foo.xml', recipe => 'EmbperlXalanXSLT', 
xsltstylesheet => 'foo.xsl'}) ; -]
  +    <h1>END</h1>
  +
  +    </body>
  +    </html>
  +
  +As you already guess the xsltstylesheet parameter gives the name of the xsl 
  +file. You can also use the EMBPERL_XSLTSTYLESHEET configuration directive
  +to set it from your configuration file.
   
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to