Re: [Psgml-user] xml-mode-hook problem with XSLT-process
Brought to you by:
ovidiu
From: Ovidiu P. <ov...@xe...> - 2001-08-02 02:21:14
|
This is a bug in the psgml mode, the xml-mode doesn't call the xml-mode hooks as it should. The following piece of advice should fix this, just add it in your .emacs: (defadvice xml-mode (after run-xml-mode-hooks act) "Invoke `xml-mode-hook' hooks in the XML mode." (run-hooks 'xml-mode-hook)) Regards, -- Ovidiu Predescu <ov...@cu...> http://orion.nsr.hp.com/ (inside HP's firewall only) http://sourceforge.net/users/ovidiu/ (my SourceForge page) http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff) On Wed, 01 Aug 2001 11:05:44 -0400, "Eugene Gross" <eug...@em...> wrote: > I installed it and it works great with psgml. One tiny problem I have is > that XSLT minor mode gets turned on automatically for sgml-mode and > html-mode, but not xml-mode. Any suggestions? > > Thanks, > > Eugene > > Ovidiu Predescu wrote: > > > > XSLT-process is a minor mode for GNU Emacs/XEmacs which transforms it > > into a powerful editor with XSLT processing and debugging > > capabilities. With this mode you can: > > > > - run an XSLT processor on the Emacs buffer you edit, and view the > > results either in another Emacs buffer or in a browser. > > > > - run an XSLT processor in debug mode and view what happens during the > > XSLT transformation. You can set breakpoints, run step by step into > > your stylesheet, view global and local XSLT variables and many more. > > > > Currently the Saxon and Xalan Java XSLT processors are supported, and > > the mode comes out of the box configured to use them. > > > > The package has been tested on XEmacs 21.1.14 and GNU Emacs 20.7.1, > > under both Linux and Windows 2000. > > > > The package is free software and is distributed under GPL. The home > > page of XSLT-process is located at: > > > > http://xslt-process.sourceforge.net/ > > > > Enjoy, > > Ovidiu Predescu |