RE: color the attributes
"Sprenger, Karel" <[email protected]> Mon, 11 Mar 2002 08:43:06 +0100
| Newsgroups | gmane.emacs.xae |
|---|---|
| Message-ID | <[email protected]> |
Hi, When you use xxml.el (http://www.iro.umontreal.ca/~pinard/fp-etc/dist/xxml/xxml.el) together with psgml.el the attributes will stand out. Once you have xxml.el in the load-path (e.g. in emac's site-lisp directory), add the following to your .emacs (or site-start.el) file: ;; xxml add-ons (autoload 'html-mode "xxml" "Major mode to edit HTML files." t) (autoload 'xxml-mode-routine "xxml") (add-hook 'sgml-mode-hook 'xxml-mode-routine) and make sure the comment-lines added by xae at the end of new xml files have "sgml-set-face: nil" rather then "sgml-set-face: t". When t, psgml will do the coloring, otherwise xxml will take over. Cheers, Karel -----Original Message----- From: Neal Yin [mailto:[email protected]] Sent: maandag 11 maart 2002 6:08 To: [email protected] Subject: [Xae] color the attributes Hi, Most of XML files I am working with contain a lot of attributes, but I can't find a way with XAE/psgml to make name="value" pairs stand out with different face. Anybody has ever done this? Thanks! -Neal Y. _______________________________________________ XAE mailing list [email protected] http://sunsite.dk/mailman/listinfo/xae _______________________________________________ XAE mailing list [email protected] http://sunsite.dk/mailman/listinfo/xae