OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: XML and PSGML


ben wrote:
> 
> Hello,
> 
> I don't know (X)Emacs, and I would like to try it to write XML files and
> debug some XSL stylesheets.
> 
> The problem I have is that the rendering done by PSGML (colored
> keywords) works only for files with the .sgml extension. Files with .xml
> extension are not recognized. I know that it is not really a docbook
> related problem, but if someone can give some advice...
> 
> I use:
> * XEmacs 21.1.9
> * PSGML 1.2.2
> 
> Thanks.
> 
> BG
(add-to-list 'load-path "/home/maxwell/elisp/psgml-1.2.1/")
(autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t)
(autoload 'xml-mode "psgml" "Major mode to edit XML files." t)

(add-to-list 'auto-mode-alist '("\\.xml\\'" . xml-mode))
(add-to-list 'auto-mode-alist '("\\.sgml\\'" . sgml-mode))

This is what I use - I need to upgrade to 1.2.2.

Hope this helps,
Eric


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC