BSD Ports

textproc/xslide.el 0.2.2_2 DragonFly

Emacs major mode for editing XSL stylesheets

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2+
Categories
elisp, textproc
Package size
21.4 KiB, 85.4 KiB installed

Description

Emacs major mode for editing XSL stylesheets.

* FEATURES

  • XSL customization group for setting some variables
  • Initial stylesheet inserted into empty XSL buffers;
  • "Template" menu for jumping to template rules, named templates, key declarations, and attribute-set declarations in the buffer;
  • `xsl-process' function that runs an XSL processor and collects the output;
  • Predefined command line templates and error regexps for Java and Windows executable versions of both XT and Saxon;
  • Font lock highlighting so that the important information stands out;
  • `xsl-complete' function for inserting element and attribute names;
  • `xsl-insert-tag' function for inserting matching start- and end-tags;
  • Automatic completion of end-tags;
  • Automatic indenting of elements with user-definable indentation step; and
  • Comprehensive abbreviations table to further ease typing.

In the other systems

SystemPortVersion
DragonFlytextproc/xslide.el0.2.2_2
FreeBSDtextproc/xslide.el0.2.2_2
HardenedBSDtextproc/xslide.el0.2.2_2
GhostBSDtextproc/xslide.el0.2.2_2

Install

Binary package:

pkg install xslide.el

From DPorts:

cd /usr/dports/textproc/xslide.el && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

To use xsl-mode, add to your ~/.emacs the following lines:

;; XSL mode
(autoload 'xsl-mode "xslide" "Major mode for XSL stylesheets." t)

;; Turn on font lock when in XSL mode
(add-hook 'xsl-mode-hook
	  'turn-on-font-lock)

(setq auto-mode-alist
      (append
       (list
	'("\\.fo" . xsl-mode)
	'("\\.xsl" . xsl-mode))
       auto-mode-alist))

;; Uncomment if using abbreviations
;; (abbrev-mode t)

===>   NOTICE:

The xslide.el port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing