TransforMiix for Emacs
1.0 alpha

Description:

TransforMiix applies XSL style sheets to XML documents and outputs HTML and text.

TransforMiix has been developed by Keith Viscok (http://www.clc-marketing.com/xslp/).

TransforMiix for Emacs can run with GNU Emacs 20.6 under MacOS ver.7.5.5 and later.

TransforMiix for Emacs was built by KISI on TransforMiix 1.0 and GNU Emacs 20.6 source code, using Metrowerks CodeWarrior IDE ver.3.0.

The version number of the binary is 1.0 alph3.

The application type of binary is PowerPC.

Please send me the bug report.

Install:

transfrmx is always called from GNU Emacs 20.6 that ported to MacOS by Andrew Choi.

You can get GNU Emacs and GNU fonts from `http://prdownloads.sourceforge.net/mac-emacs/emacs-20.6-mac-bin-d5.smi.bin' and `http://prdownloads.sourceforge.net/mac-emacs/GNU-Fonts.sea.bin'.

Place this program into the folder where Emacs CW exists.

Place xslide into the folder `/emacs-20.6/site-lisp'. xslide (http://www.menteith.com/xslide/data/xslide.zip) is described by Emacs-lisp to suppot XSL transformation, is developed by Tony Graham.

Change the following code in `/emacs-20.6/site-lisp/xslide-process.el'

    (defcustom xsl-process-command
      (list
       ;; TransforMiix
       "transfrmx -i %i -s %s -o %o"
       ;; XT Windows executable
       "xt %i %s %o"
       ;; XT Java
       "java com.jclark.xsl.Driver %i %s %o"
       ;; Instant Saxon
       "saxon -o %o %i %s"
       ;; Instant Saxon using xml-stylesheet PI
       "saxon -o %o %i"
       ;; Saxon
       "java com.icl.saxon.StyleSheet -o %o %i %s"
       ;; Saxon using xml-stylesheet PI
       "java com.icl.saxon.StyleSheet -o %o %i")
      "*The shell command to process an XSL document.
    This is a `format' control string that by default should contain three
    `%s' conversion specifications: the first will be replaced by the
    value of xsl-process-input-file \(or the empty string, if nil\); the
    second will be replaced by xsl-process-stylesheet-file \(or the empty
    string, if nil\); the third will be replaced by
    xsl-process-output-file \(or the empty string, if nil\).
    If `xsl-process-files' is non-nil, the format string should contain
    one `%s' conversion specification for each element of its result.
    If xsl-process-command is a list, then every element should be a
    string.  The strings will be tried in order and %-sequences in the
    string will be replaced according to the list below, if the string contains
    %-sequences with no replacement value the next string will be tried.
    %b means the visited file of the current buffer
    %i means the value of xsl-process-input-file
    %s means the value of xsl-process-stylesheet-file
    %o means the value of xsl-process-output-file"
      :type '(repeat :tag "Commands" string)
      :group 'xsl-process)

Call:

  1. transfrmx is invoked by call-process of Emacs.
  2. Type C-c C-p in XSL-mode of Emacs.
  3. You can see `transfrmx -i xml_document -s style_sheet -o output_file' on the echo area. Where, style_sheet is the file name of current buffer file name, and xml_document and output_file are assumed both from style_sheet.
  4. You may change this command line.
  5. Push return-key, Emacs then calls transfrmx.
  6. Emacs displays the output stream on the window.

Contact `http://www.gnu.org/software/emacs/emacs.html'.

Command line:

You may specify the following switches.

Contact `http://www.clc-marketing.com/xslp/'.

    -i xml_document
    -s style_sheet
    -o output_file

For example,

    transfrmx -i sample.xml -s sample.xsl -o sample.htm

Distribution:

TransforMiix for Emacs is FREE.

Download Now.


KISI,KAZUTAKA (mailto:kisi@nifty.com), Fellow in JAGAT (http://www.jagat.or.jp/)

date : 11/17/2001