Third Party Contributions
http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Index
License
Cocoon
Installing
Overview
cTwIG
Users
Developers
Links
XML Links
Infos
Who we are
Contributing
3rd Party
Patch Queue
Status
FAQ File
Changes
Todo
Hosting
Live Sites
Cocoon Hosting
Project
Bug Database
Code Repository
Dev Snapshots
Mail Lists
Mail Archives

How to Contribute

See How to contribute to Apache Cocoon.


Contributed Components

These are not necessarily deemed to be high enough quality to be included in the core distribution, but they have been tested under several key environments, they are provided under the same license as Apache Cocoon, and they are included in the Cocoon distribution under the contrib/ directory.

None as yet! - although you can expect that some of the links listed below will eventually migrate to the "contributed components" level, and then maybe even into the main distribution.


Patch Queue

Submissions of modifications to Cocoon which are awaiting review. Anyone can comment on them on the cocoon-dev mailing list - code reviewers are needed! Use these at your own risk - although Cocoon has no guarantee either, these patches have not been reviewed, let alone accepted.


Other Extensions

The other extensions listed here are not endorsed by the Cocoon project either - they are provided as a convenience only. They may or may not work, they may or may not be open source, etc.

To have a link added to this table, see How to contribute to Cocoon.

Name and Link  Type  Description  Status  Licensing  Contact 
XSLT-process  Development Environment  A minor mode for (X)Emacs that allows you to invoke an XSLT processor, or Cocoon on a buffer, thus yielding a fast turnaround time.  Supports Xalan, Apache Cocoon, Saxon  Ovidiu Predescu 

Emacs Editing Functions for XSL/XSP

Thanks to Ovidiu Predescu for these.

"For those of you that use Emacs/Xemacs to edit XSL/XSP pages, here are some handy functions you can use in your .emacs to speed up the editing. They insert the commonly used tags in the current buffer, indented and nicely formatted. They were developed and used on Xemacs 21.1, but they should work on GNU Emacs as well.

"I'd be curious to know what other little things people use in emacs to speed up development."

(require 'tempo)

   (defun get-value-from-minibuffer (display format-string)
     (let ((input (read-from-minibuffer display)))
       (if (string= input "")
           ""
         (format format-string input))))

   (tempo-define-template "xsl-template"
    '('&'o'> "<xsl:template"
      (get-value-from-minibuffer "Template name: " " match=\"%s\"")
      ">" 'n'>'n
      "</xsl:template>" '>
      (end-of-line 0)))

   (tempo-define-template "xsl-if"
    '('&'o'> "<xsl:if"
      (get-value-from-minibuffer "Test expression: " " test=\"%s\"")
      ">" 'n'>'n
      "</xsl:if>" '>
      (end-of-line 0)))

   (tempo-define-template "xsl-for-each"
    '('&'o'> "<xsl:for-each"
      (get-value-from-minibuffer "Select expression: " " select=\"%s\"")
      ">" 'n'>'n
      "</xsl:for-each>" '>
      (end-of-line 0)))

   (tempo-define-template "xsp-logic"
    '('&'o'> "<xsp:logic>" '>'n'>'n
      "</xsp:logic>" '>'n
      (end-of-line -1)))

   (tempo-define-template "xsp-expr"
    '('&'o'> "<xsp:expr>" '>'n'>'n
      "</xsp:expr>" '>'n
      (end-of-line -1)))

   (tempo-define-template "xsl-value-of"
    '('> "<xsl:value-of"
      (get-value-from-minibuffer "Value: " " select=\"%s\"")
      "/>" '>))

   (tempo-define-template "xsl-apply-templates"
    '('> "<xsl:apply-templates"
      (get-value-from-minibuffer "Select: " " select=\"%s\"")
      "/>" '>))

   (defun my-xml-templates-hook()
     (define-key xml-mode-map "\C-ct" 'tempo-template-xsl-template)
     (define-key xml-mode-map "\C-ci" 'tempo-template-xsl-if)
     (define-key xml-mode-map "\C-cf" 'tempo-template-xsl-for-each)
     (define-key xml-mode-map "\C-cv" 'tempo-template-xsl-value-of)
     (define-key xml-mode-map "\C-ca" 'tempo-template-xsl-apply-templates)
     (define-key xml-mode-map "\C-cl" 'tempo-template-xsp-logic)
     (define-key xml-mode-map "\C-ce" 'tempo-template-xsp-expr))

   (add-hook 'xml-mode-hook 'my-xml-templates-hook)



Copyright © 1999-2001 The Apache Software Foundation. All Rights Reserved.