Re: Xemacs XSLT menu not showing
Brought to you by:
ovidiu
From: <he...@wk...> - 2002-04-10 08:01:22
|
> What happens if you run M-x xslt-process-mode while visiting the XSLT > buffer? Do you get the menu? No the menu does not appear the mode line changes from (XSL XSLT Font) for an XSL file (XML XSLT Font) for an XML file to (XSL FONT) for an XSL file (XML Font) for an XML file Of course, running M-x xslt-process-mode again takes us back to the previous mode line. > From the modeline it appears you're using the xslide mode for XSLT, > right? I believe so, I am using the default XEmacs install for windows. > It may be that you don't have a hook in your .emacs that > enables the XSLT-process mode when you open XSLT files: The hooks are in place, my init.el file (remember I am using XEmacs not Emacs, therefore no .emacs file) contains the following: (autoload 'xslt-process-mode "xslt-process" "Emacs XSLT processing" t) (autoload 'xslt-process-install-docbook "xslt-process" "Register the DocBook package with XSLT-process" t) (add-hook 'sgml-mode-hook 'xslt-process-mode) (add-hook 'xml-mode-hook 'xslt-process-mode) (add-hook 'xsl-mode-hook 'xslt-process-mode) (defadvice xml-mode (after run-xml-mode-hooks act) "Invoke `xml-mode-hook' hooks in the XML mode." (run-hooks 'xml-mode-hook)) I believe the fact that the XSLT modeline appears indicates that the hooks are working correctly, is this correct? If I run M-x xslt-process-invoke on an XML buffer the beanshell is invoked and Saxon attempts the transformation. I believe this indicates that XSLT Process is installed correctly, although not configured. In case it is useful I am running: XEmacs 21.4 (patch 6) "Common Lisp (Windows [1])" [Lucid] (i686-pc-cygwin) of Sun Jan 20 2002 on TSUNAMI Windows 2000 5.00.2195 Dell Inspiron 3800, 128M Thanks for your assistance so far, Heidi > (add-hook 'xsl-mode-hook 'xslt-process-mode) > Best regards, > -- > Ovidiu Predescu <ov...@cu...> > http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other > stuff) > On Tue, 9 Apr 2002 11:23:35 +0100 (BST), he...@wk... wrote: >> Hi all >> >> I have searched the mailing list regarding the problem I have with the XSLT >> menu not displaying in Xemacs. Regarding Ovidiu's questions in that post >> >> "Do you see an XSLT indicator in the modeline?" >> >> Yes I can see an XSLT indicator in the modeline. What I actually see is: >> >> (XSL XSLT Font) >> >> I have loaded an XSL file but no XSLT menu appears. >> >> TIA >> >> Heidi |